Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
blommegard committed Oct 7, 2015
1 parent d92c10b commit 8790fab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ UIImage(named: NSLocale.autoupdatingCurrentLocale().objectForKey(NSLocaleCountry
[UIImage imageNamed:[[NSLocale autoupdatingCurrentLocale] objectForKey:NSLocaleCountryCode]];
```
### [Carthage](https://github.com/Carthage/Carthage)
1. Add FlagKit to your `Cartfile`:
1. Add FlagKit to your `Cartfile`:
```
github "madebybowtie/FlagKit"
```
2.
2. Get an icon for your locale:
```swift
UIImage(flagImageWithCountryCode: NSLocale.autoupdatingCurrentLocale().objectForKey(NSLocaleCountryCode) as! String)
```
Expand Down

0 comments on commit 8790fab

Please sign in to comment.