Latest 0.3.2
Homepage https://github.com/atuooo/PacmanPageControl
License MIT
Platforms ios 8.0, requires ARC
Authors

Let’s play Pac-Man:

demo

Install

CocoaPods

To integrate PacmanPageControl into your Xcode project using CocoaPods, specify it to a target in your Podfile:

pod 'PacmanPageControl'

Carthage

github "atuooo/PacmanPageControl"

Manually

Clone this repo and throw the source files under Sources folder into your project to use it.

Example

// init 
let pacman = PacmanPageControl(frame: pacmanFrame)
pacman.scrollView = scrollView
// pacman.dotColorStyle = .random(hue: .orange, luminosity: .light)
// pacman.pacmanColorStyle = .changeWithEatenDot

view.addSubview(pacman)

You can also set it in Interface Builder.

Acknowledgements

Thanks for onevcat’s RandomColorSwift.

License

PacmanPageControl is released under the terms of the MIT license. See LICENSE for details.

Latest podspec

{
    "name": "PacmanPageControl",
    "version": "0.3.2",
    "summary": "Let's play Pac-Man.",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "homepage": "https://github.com/atuooo/PacmanPageControl",
    "authors": {
        "oOatuo": "[email protected]"
    },
    "social_media_url": "https://twitter.com/OoAtuo",
    "swift_version": "4.0",
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/atuooo/PacmanPageControl.git",
        "tag": "0.3.2"
    },
    "source_files": "PacmanPageControl/*.swift",
    "pod_target_xcconfig": {
        "SWIFT_VERSION": "4.0"
    },
    "requires_arc": true
}

Pin It on Pinterest

Share This