GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - dhiraj/TTCountryFlagLabel: Simple UILabel subclass that displays a country emoji flag instead of the provided 2 letter ISO_3166-1_alpha-2 NSString

BranchesTags
Open more actions menu

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
Example
Example
 
 
TTCountryFlagLabel
TTCountryFlagLabel
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
TTCountryFlagLabel.podspec
TTCountryFlagLabel.podspec
 
 
_Pods.xcodeproj
_Pods.xcodeproj
 
 

Repository files navigation

TTCountryFlagLabel

Version License Platform

Simple UILabel subclass that displays a country emoji flag instead of the provided 2 letter ISO_3166-1_alpha-2 NSString. This is possible because of the Regional Indicator Symbol Unicode standard.

Example

To run the example project, clone the repo, and run pod install from the Example directory first. The included example demo project shows the country flags in a UITableView. These are not images, the flag and the country name are both UILabel objects.

Image of Yaktocat

Requirements

iOS 8.3+ to get most of the countries flags, before this there were only 10 that were available in iOS.

Installation

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

pod "TTCountryFlagLabel"

Author

Dhiraj Gupta, [email protected]

License

TTCountryFlagLabel is available under the Apache 2.0 license. See the LICENSE file for more info.

About

Simple UILabel subclass that displays a country emoji flag instead of the provided 2 letter ISO_3166-1_alpha-2 NSString

traversient.com/contact-us/

Resources

Readme
Apache-2.0 license
Activity

Stars

19 stars

Watchers

3 watching

Forks

4 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.