Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 1.56 KB

README.md

File metadata and controls

58 lines (39 loc) · 1.56 KB

Simple modal view inspired by Pokémon GO

[![CI Status](http://img.shields.io/travis/Leonardo Borges Avelino/PokeModal.svg?style=flat)](https://travis-ci.org/Leonardo Borges Avelino/PokeModal) Version License Platform

Screenshots

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

  • iOS 8.0+ / Mac OS X 10.9+
  • Xcode 6.3

Installation

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

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

pod 'PokeModal'

Then, run the following command:

$ pod install

Usage

Inside a UIViewController subclass:

let modal = PokeModal(view: self.view)
modal!.titleText = "HI ASH"
modal!.contentText = "I wanna be the very best. Like no one ever was. To catch them is my real test. To train them is my cause"

Author

Leonardo Borges Avelino, lborgav@gmail.com

License

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