55 Commits

Author SHA1 Message Date
Anton Tingström eff7311917 Updating README 2017-08-09 14:44:30 +02:00
Anton Tingström 3c77eaec1e Running tests on Travis 2017-08-09 14:09:16 +02:00
Anton Tingström 4a71e24f9b Sample app demonstrating how to load and display flags 2017-08-09 09:13:30 +02:00
Anton Tingström dc7f90cdc4 Universal framework for macOS, iOS, and tvOS.
The framework supports loading images and, on iOS/tvOS, styling the flags in a few different shapes. It has unit tests for all platforms, verifying the framework can load images from the bundle and compares the generated styled flags with test fixtures.
2017-08-09 09:13:23 +02:00
Anton Tingström a7b7d9e71c Updating assets to FlagKit 2.0
- Organizing assets grouped per type in the Assets folder
- Adding SVG assets
2017-08-07 15:07:45 +02:00
Simon Blommegård f2bac2760b Removing Xcode project and source. 2017-02-14 13:15:12 +01:00
Simon Blommegård 971dbc3826 Exported new assets. 2016-09-29 15:47:42 +02:00
Simon Blommegård e05f52cbef Add compatibility with Xcode8 swift2.3 2016-09-08 10:17:57 +02:00
marcusgellermark 4e8ed872af Correction of SE-JAM 2016-08-29 13:07:57 +02:00
marcusgellermark d7db6d250d Minor Sketch file edit. 2016-08-29 12:52:18 +02:00
marcusgellermark f778a4ff9b 6 new flags!
Swedish Finnish combo flag (SEFI), Sami flag (SAMI), West Swedish flag
(SE-VAS), Tornedalian, Meänmaa, or Torne Valley flag (TORN), Republic
of Jamtland flag (SE-JAM), Shetland Islands flag (GB-ZET)
2016-08-29 12:51:51 +02:00
Simon Blommegård efcd4650ad Remove watchOS from Travis. 2016-08-15 10:59:00 +02:00
Simon Blommegård 71dd1e1b01 watchOS does not support image loading via bundles. 2016-08-15 10:45:41 +02:00
Simon Blommegård 62fd999499 Using Xcode 7.3 in travis. 2016-08-14 23:17:06 +02:00
Simon Blommegård 99c1de75aa Adding travis. 2016-08-14 21:15:50 +02:00
Simon Blommegård dba56d262c Unify the targets. 2016-08-14 21:15:50 +02:00
marcusgellermark f6ceb21976 5 New Flags
Added AW, FO, MQ, GS, TK and TV
2016-08-14 11:23:14 +02:00
Simon Blommegård 09f535059a Merge pull request #34 from edwardmp/master
Fix wrong Objective-C use example
2016-08-03 08:00:17 +02:00
Edward Poot 44019fdb1b Fix wrong Objective-C use example 2016-07-25 00:28:18 +02:00
Simon Blommegård dccf70f3c8 Update number of flags. 2016-07-20 08:32:30 +02:00
Simon Blommegård 8ecdadd63b Adding GB-NIR to the framework. 2016-07-20 08:30:45 +02:00
marcusgellermark 784e6c424c Nothern Ireland
Added GB-NIR to the Sketch-file.
2016-07-19 13:18:35 +02:00
Simon Blommegård af050725a9 Bumping cocoapods. 2016-06-16 21:06:00 -07:00
Simon Blommegård 3977b624c7 Versionbump. 2016-06-16 21:02:30 -07:00
Simon Blommegård b1fddf4d9f Make sure project builds for the macOS. 2016-06-16 20:58:13 -07:00
Simon Blommegård ab9172df55 Adding special cases to the enum. 2016-06-16 20:46:48 -07:00
Simon Blommegård 4c5b026b5c Updating number of flags. 2016-06-16 20:41:27 -07:00
Simon Blommegård 17f3b583ff Adding missing git add. 2016-06-16 20:39:03 -07:00
Simon Blommegård be92ec74be Exported a lot of new flags. 2016-06-16 20:35:57 -07:00
marcusgellermark 234fd9a423 Updates in Sketch-file
Updated names and country codes in the Sketch file.
2016-06-12 14:03:51 -07:00
marcusgellermark 75ad36ef89 FT - TF
Crushed a bug!
2016-06-12 13:09:20 -07:00
Marcus Gellermark 5b0e7579d7 2 new flags
Added US-CAL and LGBT
2016-06-07 10:58:48 +02:00
Marcus Gellermark 13ba0ac6c1 More flags
More flags to the people!
2016-06-03 16:46:49 +02:00
Marcus Gellermark 1b290bd796 Update LICENSE 2016-04-22 10:54:59 +02:00
Marcus Gellermark df4a63e7d7 Update LICENSE 2016-04-22 10:54:46 +02:00
Simon Blommegård f33a7a1dca Merge pull request #29 from ReadmeCritic/master
Correct the spelling of CocoaPods in README
2016-02-12 00:48:26 +01:00
ReadmeCritic 1862a641d0 Correct the spelling of CocoaPods in README 2016-02-11 15:44:27 -08:00
Simon Blommegård 4baa13c906 Adding support for tvOS. 2016-02-02 14:14:38 +01:00
Simon Blommegård c92bdbcae6 Adding missing flag in export. 2015-12-09 16:06:20 +01:00
Marcus Gellermark 424e4b22cf Re-added lost flag
Sri Lanka (LK) went missing in the Sketch-file – now it’s back!
2015-12-09 13:34:28 +01:00
Simon Blommegård 27c30e44e8 Version bump podspec. 2015-12-02 20:07:29 +01:00
Simon Blommegård 3bee57b665 Version bump 2015-12-02 20:02:37 +01:00
Simon Blommegård fea6b640eb Update README.md 2015-12-02 20:01:19 +01:00
Simon Blommegård 682cf67c21 Adding 1x assets. 2015-12-02 19:59:44 +01:00
Simon Blommegård 1ce010c06a Update README.md 2015-12-02 19:58:48 +01:00
Simon Blommegård 975215d0ea Update README.md 2015-12-02 19:57:28 +01:00
marcusgellermark 278cfa438e 15 New Flags!
Added 15 new flags to FlagKit:
AI Anguilla
BM Bermuda
FJ Fiji
GD Grenada
GY Guyana
KY Cayman Islands
MO Macau
MS Montserrat
SB Solomon Islands
SC Seychelles
SZ Swaziland
TC Turks and Caicos
VC St. Vincent and The Grenadines
VG British Virgin Islands
ZW Zimbabwe

Also slight tweaks to ZA
2015-11-19 11:08:01 +01:00
Simon Blommegård 7f34596679 Adding TM to Assets Catalog. 2015-11-11 11:04:14 +01:00
Simon Blommegård 2cd6f3b7f7 Update README.md 2015-11-11 10:34:34 +01:00
marcusgellermark 8aaa27639b Added Turkmenistan
Added Turkmenistan (TM) to FlagKit
2015-11-10 14:44:53 +01:00
Marcus Gellermark 750434c8e4 Fix to the Ethiopian flag
Changes in the Ethiopian flag
2015-11-05 08:43:07 +01:00
Marcus Gellermark 7b57b0ec6c Sketch info updates
Now works with the App Store version of Sketch.
2015-11-04 10:25:43 +01:00
Simon Blommegård 0295c8fd33 Adding continent flags to the frameworks. 2015-11-03 12:11:11 +01:00
Simon Blommegård cd9d200a93 Adding notes on continent flags. 2015-11-03 12:04:28 +01:00
Marcus Gellermark 3ba8ab6ab0 Update with continent-flags
New flags for North America (CNA), South America (CSA), Europe (CEU),
Africa (CAF), Asia (CAS), Oceania (COC).
2015-10-30 15:01:25 +01:00
3005 changed files with 16591 additions and 5159 deletions
+10
View File
@@ -0,0 +1,10 @@
language: objective-c
osx_image: xcode8.3
env:
- "DESTINATION='platform=iOS Simulator,name=iPhone 7' ACTION=test"
- "DESTINATION='platform=OS X' ACTION=test"
- "DESTINATION='platform=tvOS Simulator,name=Apple TV 1080p' ACTION=test"
script:
- set -o pipefail && xcodebuild -project Sources/Swift/FlagKit.xcodeproj -scheme FlagKit -destination "$DESTINATION" $ACTION | xcpretty
Binary file not shown.

After

Width:  |  Height:  |  Size: 489 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

+23
View File
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "AD.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "AD@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "AD@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 393 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

+23
View File
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "AE.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "AE@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "AE@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 514 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

+23
View File
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "AF.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "AF@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "AF@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 710 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

+23
View File
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "AG.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "AG@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "AG@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 721 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

+23
View File
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "AI.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "AI@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "AI@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 587 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

+23
View File
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "AL.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "AL@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "AL@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 372 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

+23
View File
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "AM.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "AM@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "AM@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 488 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

+23
View File
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "AO.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "AO@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "AO@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 378 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1020 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

+23
View File
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "AR.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "AR@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "AR@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 762 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

+23
View File
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "AS.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "AS@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "AS@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 258 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 693 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

+23
View File
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "AT.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "AT@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "AT@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 746 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

+23
View File
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "AU.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "AU@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "AU@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 512 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

+23
View File
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "AW.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "AW@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "AW@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 496 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

+23
View File
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "AX.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "AX@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "AX@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 464 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

+23
View File
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "AZ.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "AZ@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "AZ@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 680 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

+23
View File
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "BA.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "BA@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "BA@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 554 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

+23
View File
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "BB.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "BB@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "BB@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 552 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

+23
View File
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "BD.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "BD@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "BD@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 387 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

+23
View File
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "BE.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "BE@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "BE@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 495 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

+23
View File
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "BF.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "BF@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "BF@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 351 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

+23
View File
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "BG.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "BG@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "BG@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 436 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

+23
View File
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "BH.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "BH@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "BH@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 889 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

+23
View File
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "BI.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "BI@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "BI@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 443 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

+23
View File
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "BJ.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "BJ@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "BJ@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 568 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Some files were not shown because too many files have changed in this diff Show More