Skip to content

TrendingTechnology/PGCPickerController

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PGCPickerViewController

Swift License Platform

Installation

Manual

Add PGCPickerViewController folder into your project.

Usage

Check folder Example :)

Single (one component)

Conforms to PickerSingleOption protocol

let pickerSource: PickerSingleOption!

// ...

let controller = PGCPickerViewController.with(pickerOption: pickerSource) { [weak self] (indexSelected) in

    self?.pickerSource.currentIndexSelected = indexSelected // Save selection
    
    // Do stuff with indexSelected
    // self?.select(index: indexSelected)
}

self.present(controller, animated: false, completion: nil)

Multiple

// TODO

Images

Single choice

Single

Multiple choice

Multiple

License

This program is free software; you can redistribute it and/or modify it under the terms of the MIT License.

About

UIViewController container for UIPickerView

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 100.0%