Latest 0.6.2
Homepage https://github.com/blackjacx/Columbus
License MIT
Platforms ios 11.0, tvos 11.0
Frameworks UIKit
Authors

Columbus


Build Status

Github Current ReleaseCocoapods PlatformsXcode 10.0+iOS 11.0+Swift 4.2+Github Repo SizeGithub Code SizeGithub Closed PR's
License


Columbus


codebeat badge


Downloads


Donate

A country picker for iOS, tvOS ad watchOS with features you will only find distributed in many different country-picker implementations. The following list highlights the most valuable features:

  • Filter countries by using the searchbar
  • Quickly find a country by using the indexbar on the right side
  • Select a country from the history of selected countries – still in progress
  • Localized by using standard components and Apple’s Locale class
  • Theming support to easily match your design

Installation

CocoaPods

Columbus is compatible with iOS 11 and higher and builds with Xcode 10 and Swift 4.2. It is available through CocoaPods. To install it, simply add the following line to your Podfile and it will install the newest version:

pod "Columbus"

Examples

Usage

let config = DefaultConfig()
Columbus.config = config

let countryPicker = CountryPickerViewController(initialRegionCode: "DE", didSelectClosure: { [weak self] (country) in
    print(country)
})
present(countryPicker, animated: true)

iOS

The repo includes an example project. It shows the main use case of the project – the country picker. To run it, just type pod try Columbus in your console and it will be downloaded and opened for you. The following set of screenshots highlights the features unique to Columbus:

Filtering Indexbar History Localization Theming
Searchbar Indexbar History Localization Theming

tvOS

… still in progress …

watchOS

… still in progress …

Contribution

  • If you found a bug, please open an issue.
  • If you have a feature request, please open an issue.
  • If you want to contribute, please submit a pull request.

Author

Stefan Herold@Blackjacxxx

Links

Localize the cancel button of a UISearchBar

Credits

Thanks For The Flag Icons

License

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

Latest podspec

{
    "name": "Columbus",
    "version": "0.6.2",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "summary": "A country picker for iOS, tvOS and watchOS.",
    "description": "A country picker for iOS, tvOS and watchOS with features you will only find distributed in many different country-picker implementations.",
    "homepage": "https://github.com/blackjacx/Columbus",
    "social_media_url": "https://twitter.com/Blackjacxxx",
    "authors": {
        "Stefan Herold": "[email protected]"
    },
    "source": {
        "git": "https://github.com/blackjacx/Columbus.git",
        "tag": "0.6.2"
    },
    "source_files": "Columbus/Classes/**/*",
    "platforms": {
        "ios": "11.0",
        "tvos": "11.0"
    },
    "resource_bundles": {
        "Columbus": [
            "Columbus/Resources/*.{json,xcassets}"
        ]
    },
    "frameworks": "UIKit",
    "testspecs": [
        {
            "name": "UnitTests",
            "test_type": "unit",
            "requires_app_host": true,
            "source_files": "Example/Tests/**/*.{swift}",
            "dependencies": {
                "Quick": [],
                "Nimble": []
            }
        }
    ]
}

Pin It on Pinterest

Share This