CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.
TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Jun 2017 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✗ |
Maintained by NguyenMinh.
Depends on: | |
Reusable | >= 0 |
libPhoneNumber-iOS | >= 0 |
To run the example project, clone the repo, and run pod install
from the Example directory first.
<p><a href="Screen_Shot_1.jpg" target="_blank"><img src="Screen_Shot_1.jpg" width="200" alt="Set custom class: FKFlagHolderView" style="max-width:100%;"></a></p>
@IBOutlet weak var holder: FKFlagHolderView!
// Set background color for picker view
holder.backgroundPickerColor = .white
if let flagSheet = FKIcons.sharedInstance.spriteSheet {
let image = flagSheet.getImageFor(code)
btnFlag.setImage(image, for: .normal)
}
$ git submodule add https://github.com/LGKKTeam/FlagKits.git
Open FlagKits folder that was created by the previous git submodule command and drag the FlagKits.xcodeproj into the Project Navigator of your application’s Xcode project.
Select the FlagKits.xcodeproj in the Project Navigator and verify the deployment target matches with your application deployment target.
Select your project in the Xcode Navigation and then select your application target from the sidebar. Next select the “General” tab and click on the + button under the “Embedded Binaries” section.
Select FlagKits.framework
and we are done!
FlagKits is available under the MIT license. See the LICENSE file for more info.