Latest 0.1.0
Homepage https://github.com/nbolatov/Intro
License MIT
Platforms ios 8.0
Authors

Version
License
Platform

demo
demo

Overview

An iOS framework to easily create simple animated walkthrough, written in Swift.

Requirements

  • iOS8

Installation with CocoaPods

Intro is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "Intro"

Usage

import Intro

let vc = IntroViewController()
vc.items = [
    ("text", UIImage(named: "1")),
    ("text", UIImage(named: "2")),
    ("text", UIImage(named: "3"))
]
vc.animationType = .rotate
vc.titleColor = .black
vc.titleFont = .systemFont(ofSize: 20)
vc.imageContentMode = .scaleAspectFit
vc.closeTitle = "READY"
vc.closeColor = .white
vc.closeBackgroundColor = .black
vc.closeBorderWidth = 0
vc.closeBorderColor = UIColor.black.cgColor
vc.closeCornerRadius = 2
vc.didClose = {
    self.showButton.setTitle("Show again", for: .normal)
}
present(vc, animated: true, completion: nil)

Available animation types

public enum IntroAnimationType {
    case raise
    case rotate
}

Example Project

An example project is included with this repo. To run the example project, clone the repo, and run pod install from the Example directory first.

Author

Nurdaulet, [email protected]

License

Intro is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "Intro",
    "version": "0.1.0",
    "summary": "A simple animated walkthrough / intro / tutorial.",
    "description": "Create a simple animated walkthrough / intro / tutorial:n1. Create an instance of IntroViewController()n2. Set images, titlesn3. Present it!",
    "homepage": "https://github.com/nbolatov/Intro",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Nurdaulet": "[email protected]"
    },
    "source": {
        "git": "https://github.com/nbolatov/Intro.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "Intro/Classes/**/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This