golfiti / KWBannerSwift

Create simple banner with image

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KWBannerSwift

Create simple banner with image

Installation

  1. Download and drop KWBannerView.swift in your project.
  2. Congratulations!

Usage

@IBOutlet weak var bannerView: KWBannerView!

bannerView.delegate = self;
bannerView.nameOfBannerImages = ["image1","image2"]
bannerView.drawBanner()

Customization

var nameOfImages:[String] = ["image1","image2"]
var isAutoScroll:Bool

func didTapBannerAtIndex(bannerIndex:CGFloat){}

License

KWBannerSwift is released under the MIT license. See LICENSE for details.

Spacial Thanks

About

Create simple banner with image

License:MIT License


Languages

Language:Swift 53.2%Language:Ruby 46.8%