34 Commits

Author SHA1 Message Date
Simon Blommegård fd87cc857a Version bump to 2.2 2019-03-26 14:19:29 +01:00
Simon Blommegård 776b5738d6 More Swift 5 migration 2019-03-26 14:05:23 +01:00
Hannes Ljungberg 2960e987b0 Migrate to Swift 5 (#68)
* Upgrade to recommended settings

* Swift 5 migration

* Run tests on latest xcode

* Update fixtures
2019-03-26 14:01:36 +01:00
Simon Blommegård 4408c2dab3 Swift 4 migration of demo. 2018-02-06 14:33:45 +01:00
Simon Blommegård ba7bb956a4 Fixing travis config. 2017-12-12 10:02:41 +01:00
Simon Blommegård eabd1307c8 Version bump to 2.1 2017-12-11 15:09:09 +01:00
Simon Blommegård 0daff70461 Updating travis config. 2017-12-11 14:55:11 +01:00
Simon Blommegård c024e356bf New fixtures generated 2017-12-11 14:53:30 +01:00
Simon Blommegård e044a46c0e Swift 4 migration 2017-12-11 14:53:11 +01:00
Anton Tingström 948c02cf92 Bumping version in podspec 2017-08-22 16:33:20 +02:00
Anton Tingström e0073bc421 Adding flags for St Martin and St Helena 2017-08-22 13:53:22 +02:00
Anton Tingström c024a4827c Empty commit to trigger Travis 2017-08-09 14:54:30 +02:00
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
3881 changed files with 16798 additions and 7233 deletions
+10
View File
@@ -0,0 +1,10 @@
language: objective-c
osx_image: xcode10.2
env:
- "DESTINATION='OS=12.2,platform=iOS Simulator,name=iPhone 8' ACTION=test"
- "DESTINATION='platform=macOS' ACTION=test"
- "DESTINATION='OS=12.2,platform=tvOS Simulator,name=Apple TV' 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