/Hola

Light-weight Onboard/Walkthrough UIView/UIImage representer ⏪ & ⏩ ⏫ & ⏬

Primary LanguageSwiftMIT LicenseMIT

Hola

Light-weight Onboard/Walkthrough View for iOS written Swift 3

Hola is a UIView that represent several views or images as View Pager, Onboard Walkthrough in different direction as Vertical or Horizontal. Its a subclass of UIView.

Gif for UIImage

verticalGif horizontalGif

Gif for UIView

verticalGif horizontalGif

Init

public init(frame: CGRect, viewArray uiviewArray:[UIView], _ rotation: rotationWay)

If you build pager with array of UIView you should use this init function.

Simple usage of it.

let simple: Hola = Hola(frame: CGRect(), viewArray: viewArray, .horizontal)

Another init function

public init(frame: CGRect, imageArray uiimageArray:[UIImage],_ rotation:rotationWay)

For creating Hola with array of UIImage, use this init function to generate it.

Here is the another example for usage.

let simple: Hola = Hola(frame: CGRect(), imageArray: imageArray, .vertical)

Structs

public enum rotationWay {
case horizontal
case vertical
}

rotationWay is used for specify Hola's rotation as horizontalhorizontal or vertical.

Manually Installation

git clone REPO_URL
cd Hola/
use Hola.swift

Development

Want to contribute? Feel free to contribute anything on this with describing contributed part

Todos

  • Some transaction animations
  • Feel free to play with repo.

License

MIT

Open Source