PacmanPageControl Save

Let's play Pac-Man.

Project README

PacmanPageControl

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.

Open Source Agenda is not affiliated with "PacmanPageControl" Project. README Source: atuooo/PacmanPageControl
Stars
101
Open Issues
0
Last Commit
5 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating