Latest 0.1.1
Homepage https://github.com/NazishAli/PickerCountry
License MIT
Platforms ios 8.0
Authors

[![CI Status](http://img.shields.io/travis/Nazish Ali/PickerCountry.svg?style=flat)](https://travis-ci.org/Nazish Ali/PickerCountry)
Version
License
Platform

Example

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

Requirements

PickerCountry for iOS supports iOS 8.x, iOS 9.x and iOS 10

Steps to get started

import PickerCountry

Button on which you want to create code picker, add the code

func buttonAction(sendr : UIButton) {

let vc = CodeViewController() //change this to your class name
self.presentViewController(vc, animated: true, completion: nil)

// let vc = Count
}

add the notification center add observer

NSNotificationCenter.defaultCenter().addObserver(self, selector: #selector(YourController.countrySelectionFunction), name: "SelectCountry", object: nil)

func countrySelectionFunction(sender : NSNotification) {

    print(sender.userInfo)

}

Installation

PickerCountry is available through CocoaPods. PickerCountry for iOS supports iOS 8.x, iOS 9.x and iOS 10. To install
it, simply add the following line to your Podfile:

# Comment this line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!

pod 'PickerCountry'

Author

Nazish Ali, [email protected]

License

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

Latest podspec

{
    "name": "PickerCountry",
    "version": "0.1.1",
    "summary": "Picker country code",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/NazishAli/PickerCountry",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Nazish Ali": "[email protected]"
    },
    "source": {
        "git": "https://github.com/NazishAli/PickerCountry.git",
        "tag": "0.1.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "PickerCountry/Classes/**/*"
}

Pin It on Pinterest

Share This