Latest 0.26.0
Homepage https://github.com/yhkaplan/MoonWalker
License MIT
Platforms ios 10.0
Frameworks UIKit
Authors

Build status
Platform iOSSwift 4 compatible
Carthage compatible
CocoaPods compatible
License: MIT

By yhkaplan.

Introduction

MoonWalker is an easy to use walkthrough library.

Usage

import MoonWalker
// ...

Requirements

  • iOS 10.0+
  • Xcode 10.0+

Getting involved

  • If you want to contribute please feel free to submit pull requests.
  • If you have a feature request please open an issue.

Before contribute check the CONTRIBUTING file for more info.

Usage

    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
    }

Examples

Follow these 3 steps to run Example project: clone MoonWalker repository, open MoonWalker workspace and run the Example project.

Installation

  • If you are having issues installing, then it may be due to an old version of Sourcery that is incompatible with the latest file format. To fix this, please a). upgrade or b) uninstall sourcery.

CocoaPods

CocoaPods is a dependency manager for Cocoa projects.

To install MoonWalker, simply add the following line to your Podfile:

pod 'MoonWalker', '~> 1.0'

Carthage

Carthage is a simple, decentralized dependency manager for Cocoa.

To install MoonWalker, simply add the following line to your Cartfile:

github "[email protected]/MoonWalker" ~> 1.0

Author

Changelog

See CHANGELOG.

Latest podspec

{
    "name": "MoonWalker",
    "version": "0.26.0",
    "summary": "An easy to use Walkthrough framework",
    "description": "I made this Walkthrough framework to provide a simple APInto allow for rapidly implementing a walkthrough. It doesnmany things for you, but remains fairly minimal. Also,nI focus heavily on test coverage.",
    "homepage": "https://github.com/yhkaplan/MoonWalker",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "yhkaplan": "[email protected]"
    },
    "source": {
        "git": "https://github.com/yhkaplan/MoonWalker.git",
        "tag": "v0.26.0"
    },
    "platforms": {
        "ios": "10.0"
    },
    "source_files": "Sources/**/*.{h,swift}",
    "swift_version": "4.2",
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This