By yhkaplan.
MoonWalker is an easy to use walkthrough library.
import MoonWalker
// ...
Before contribute check the CONTRIBUTING file for more info.
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
let views = [0, 1, 2].map { index -> MWChildViewModel in
let upperLabel = MWUpperLabelSettings(text: "Screen \(index)")
let image = UIImage(named: "screen\(index)")
let backgroundImage = MWBackgroundImageSettings(image: image)
return MWChildViewModel(upperLabel: upperLabel, backgroundImage: backgroundImage)
}
let creator = MWParentViewCreator(childViews: views)
let walkthroughVC = creator.getParentViewController()
window!.rootViewController = walkthroughVC
window!.makeKeyAndVisible()
return true
}
Follow these 3 steps to run Example project: clone MoonWalker repository, open MoonWalker workspace and run the Example project.
Add via Xcode in the usual way
CocoaPods is a dependency manager for Cocoa projects.
To install MoonWalker, simply add the following line to your Podfile:
pod 'MoonWalker', '~> 1.0'
Carthage is a simple, decentralized dependency manager for Cocoa.
To install MoonWalker, simply add the following line to your Cartfile:
github "yhkaplan/MoonWalker" ~> 1.0
See CHANGELOG.
link |
Stars: 1 |
Last commit: 3 years ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics