Skip to content

Commit

Permalink
Merge pull request #6 from PGSSoft/feature/swift-5-and-iOS-13
Browse files Browse the repository at this point in the history
Feature/Swift 5 and iOS 13
  • Loading branch information
dzoanb authored Nov 2, 2019
2 parents 3edad19 + 7f43990 commit 0472e19
Show file tree
Hide file tree
Showing 60 changed files with 2,673 additions and 302 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.6.3
2.6.4
2 changes: 1 addition & 1 deletion .swift-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.2
5.0
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: objective-c
osx_image: xcode10.2
osx_image: xcode11

env:
- NSUnbufferedIO=YES
Expand Down
10 changes: 7 additions & 3 deletions AutoMate-ModelGenie.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0730;
LastUpgradeCheck = 1000;
LastUpgradeCheck = 1100;
ORGANIZATIONNAME = "PGS Software S.A.";
TargetAttributes = {
1F6648591D5D978700307AAB = {
Expand Down Expand Up @@ -184,6 +184,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
Expand Down Expand Up @@ -232,14 +233,15 @@
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 4.2;
SWIFT_VERSION = 5.0;
};
name = Debug;
};
1F6648601D5D978700307AAB /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
Expand Down Expand Up @@ -281,13 +283,14 @@
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = macosx;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_VERSION = 4.2;
SWIFT_VERSION = 5.0;
};
name = Release;
};
1F6648621D5D978700307AAB /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_IDENTITY = "-";
GCC_PREPROCESSOR_DEFINITIONS = (
"$(inherited)",
"PROJECT_DIR=${PROJECT_DIR}",
Expand All @@ -301,6 +304,7 @@
1F6648631D5D978700307AAB /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_IDENTITY = "-";
INFOPLIST_FILE = "$(SRCROOT)/ModelGenie/Info.plist";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1000"
LastUpgradeVersion = "1100"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
Expand All @@ -27,8 +27,6 @@
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
Expand All @@ -38,8 +36,8 @@
ReferencedContainer = "container:AutoMate-ModelGenie.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
Expand Down Expand Up @@ -91,8 +89,6 @@
isEnabled = "YES">
</EnvironmentVariable>
</EnvironmentVariables>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand Down
7 changes: 7 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [1.4.0](https://github.com/PGSSoft/AutoMate-ModelGenie/releases/tag/1.4.0)
Released on 2019-11-01.

#### Added
- Compatibility with Xcode 11.0 and 11.1.
- Use of Swift 5.

## [1.3.0](https://github.com/PGSSoft/AutoMate-ModelGenie/releases/tag/1.3.0)
Released on 2018-10-21.

Expand Down
136 changes: 131 additions & 5 deletions GeneratedModels/HardwareKeyboard.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,18 @@
/// Enumeration describing available hardware keyboards in the system.
public enum HardwareKeyboard: String, LaunchArgumentValue {

/// Automatically generated value for hardware keyboard Albanian.
case Albanian = "sq@hw=Albanian"

/// Automatically generated value for hardware keyboard Arabic.
case Arabic = "ar@hw=Arabic"

/// Automatically generated value for hardware keyboard Armenian.
case Armenian = "hy@hw=Armenian-HM QWERTY"

/// Automatically generated value for hardware keyboard Assamese.
case Assamese = "as@hw=Assamese"

/// Automatically generated value for hardware keyboard AzerbaijaniLatin.
case AzerbaijaniLatin = "az_Latn@hw=Azeri"

Expand All @@ -18,18 +24,39 @@ public enum HardwareKeyboard: String, LaunchArgumentValue {
/// Automatically generated value for hardware keyboard Belarusian.
case Belarusian = "be@hw=Byelorussian"

/// Automatically generated value for hardware keyboard Bodo.
case Bodo = "brx@hw=Bodo"

/// Automatically generated value for hardware keyboard BulgarianBulgaria.
case BulgarianBulgaria = "bg_BG@hw=Bulgarian - Phonetic"

/// Automatically generated value for hardware keyboard Burmese.
case Burmese = "my@hw=Myanmar"

/// Automatically generated value for hardware keyboard CantoneseTraditionalCANGJIE.
case CantoneseTraditionalCANGJIE = "yue_Hant-Cangjie@hw=CangjieKeyboard"

/// Automatically generated value for hardware keyboard CantoneseTraditionalSUCHENG.
case CantoneseTraditionalSUCHENG = "yue_Hant-Sucheng@hw=CangjieKeyboard"

/// Automatically generated value for hardware keyboard CantoneseTraditionalWUBIHUA.
case CantoneseTraditionalWUBIHUA = "yue_Hant-Wubihua@hw=US"

/// Automatically generated value for hardware keyboard CatalanSpain.
case CatalanSpain = "ca_ES@hw=Spanish - ISO"

/// Automatically generated value for hardware keyboard CentralKurdish.
case CentralKurdish = "ckb@hw=Kurdish-Sorani"

/// Automatically generated value for hardware keyboard Cherokee.
case Cherokee = "chr@hw=Cherokee-Nation"

/// Automatically generated value for hardware keyboard ChineseChinamainland.
case ChineseChinamainland = "zh_CN@hw=US"

/// Automatically generated value for hardware keyboard ChineseTaiwan.
case ChineseTaiwan = "zh_TW@hw=Zhuyin Bopomofo"

/// Automatically generated value for hardware keyboard ChineseSimplifiedPinyinRomanization.
case ChineseSimplifiedPinyinRomanization = "zh_Hans-Pinyin@hw=US"

Expand All @@ -39,9 +66,6 @@ public enum HardwareKeyboard: String, LaunchArgumentValue {
/// Automatically generated value for hardware keyboard ChineseSimplifiedWUBIHUA.
case ChineseSimplifiedWUBIHUA = "zh_Hans-Wubihua@hw=US"

/// Automatically generated value for hardware keyboard ChineseTaiwan.
case ChineseTaiwan = "zh_TW@hw=Zhuyin Bopomofo"

/// Automatically generated value for hardware keyboard ChineseTraditionalCANGJIE.
case ChineseTraditionalCANGJIE = "zh_Hant-Cangjie@hw=CangjieKeyboard"

Expand Down Expand Up @@ -69,6 +93,12 @@ public enum HardwareKeyboard: String, LaunchArgumentValue {
/// Automatically generated value for hardware keyboard DanishDenmark.
case DanishDenmark = "da_DK@hw=Danish"

/// Automatically generated value for hardware keyboard Dhivehi.
case Dhivehi = "dv@hw=Dhivehi-QWERTY"

/// Automatically generated value for hardware keyboard DogriDevanagari.
case DogriDevanagari = "doi_Deva@hw=Dogri"

/// Automatically generated value for hardware keyboard DutchBelgium.
case DutchBelgium = "nl_BE@hw=Belgian"

Expand Down Expand Up @@ -99,6 +129,9 @@ public enum HardwareKeyboard: String, LaunchArgumentValue {
/// Automatically generated value for hardware keyboard EstonianEstonia.
case EstonianEstonia = "et_EE@hw=Estonian"

/// Automatically generated value for hardware keyboard Faroese.
case Faroese = "fo@hw=Faroese"

/// Automatically generated value for hardware keyboard FinnishFinland.
case FinnishFinland = "fi_FI@hw=Finnish"

Expand Down Expand Up @@ -171,42 +204,93 @@ public enum HardwareKeyboard: String, LaunchArgumentValue {
/// Automatically generated value for hardware keyboard Kannada.
case Kannada = "kn@hw=Kannada"

/// Automatically generated value for hardware keyboard KashmiriDevanagari.
case KashmiriDevanagari = "ks_Deva@hw=Kashmiri"

/// Automatically generated value for hardware keyboard KashmiriNaskh.
case KashmiriNaskh = "ks_Arab@hw=Urdu"

/// Automatically generated value for hardware keyboard KazakhCyrillic.
case KazakhCyrillic = "kk_Cyrl@hw=Kazakh"

/// Automatically generated value for hardware keyboard Khmer.
case Khmer = "km@hw=Khmer"

/// Automatically generated value for hardware keyboard KonkaniDevanagari.
case KonkaniDevanagari = "kok_Deva@hw=Konkani"

/// Automatically generated value for hardware keyboard KoreanSouthKorea.
case KoreanSouthKorea = "ko_KR@hw=2SetHangul"

/// Automatically generated value for hardware keyboard KurdishLatin.
case KurdishLatin = "ku_Latn@hw=Kurdish-Kurmanji"

/// Automatically generated value for hardware keyboard KyrgyzCyrillic.
case KyrgyzCyrillic = "ky_Cyrl@hw=Kyrgyz-Cyrillic"

/// Automatically generated value for hardware keyboard Lao.
case Lao = "lo@hw=Lao"

/// Automatically generated value for hardware keyboard LatvianLatvia.
case LatvianLatvia = "lv_LV@hw=Latvian"

/// Automatically generated value for hardware keyboard LithuanianLithuania.
case LithuanianLithuania = "lt_LT@hw=Lithuanian"

/// Automatically generated value for hardware keyboard MacedonianMacedonia.
case MacedonianMacedonia = "mk_MK@hw=Macedonian"
/// Automatically generated value for hardware keyboard MacedonianNorthMacedonia.
case MacedonianNorthMacedonia = "mk_MK@hw=Macedonian"

/// Automatically generated value for hardware keyboard Maithili.
case Maithili = "mai@hw=Maithili"

/// Automatically generated value for hardware keyboard MalayArabic.
case MalayArabic = "ms_Arab@hw=Jawi"

/// Automatically generated value for hardware keyboard MalayMalaysia.
case MalayMalaysia = "ms_MY@hw=US"

/// Automatically generated value for hardware keyboard Malayalam.
case Malayalam = "ml@hw=Malayalam"

/// Automatically generated value for hardware keyboard Maltese.
case Maltese = "mt@hw=Maltese"

/// Automatically generated value for hardware keyboard ManipuriBangla.
case ManipuriBangla = "mni_Beng@hw=Manipuri-Bengali"

/// Automatically generated value for hardware keyboard ManipuriMeiteiMayek.
case ManipuriMeiteiMayek = "mni_Mtei@hw=Manipuri-MeeteiMayek"

/// Automatically generated value for hardware keyboard Maori.
case Maori = "mi@hw=Maori"

/// Automatically generated value for hardware keyboard Marathi.
case Marathi = "mr@hw=Devanagari-QWERTY"

/// Automatically generated value for hardware keyboard Mongolian.
case Mongolian = "mn@hw=Mongolian-Cyrillic"

/// Automatically generated value for hardware keyboard NajdiArabic.
case NajdiArabic = "ars@hw=Arabic"

/// Automatically generated value for hardware keyboard Nepali.
case Nepali = "ne@hw=Nepali-IS16350"

/// Automatically generated value for hardware keyboard NorwegianBokmålNorway.
case NorwegianBokmålNorway = "nb_NO@hw=Norwegian"

/// Automatically generated value for hardware keyboard Odia.
case Odia = "or@hw=Oriya"

/// Automatically generated value for hardware keyboard Pashto.
case Pashto = "ps@hw=Afghan Pashto"

/// Automatically generated value for hardware keyboard Persian.
case Persian = "fa@hw=Persian-ISIRI 2901"

/// Automatically generated value for hardware keyboard PersianAfghanistan.
case PersianAfghanistan = "fa_AF@hw=Afghan Dari"

/// Automatically generated value for hardware keyboard PolishPoland.
case PolishPoland = "pl_PL@hw=Polish Pro"

Expand All @@ -225,12 +309,30 @@ public enum HardwareKeyboard: String, LaunchArgumentValue {
/// Automatically generated value for hardware keyboard RussianRussia.
case RussianRussia = "ru_RU@hw=Russian"

/// Automatically generated value for hardware keyboard Sanskrit.
case Sanskrit = "sa@hw=Sanskrit"

/// Automatically generated value for hardware keyboard SantaliDevanagari.
case SantaliDevanagari = "sat_Deva@hw=Santali-Devanagari"

/// Automatically generated value for hardware keyboard SantaliOlChiki.
case SantaliOlChiki = "sat_Olck@hw=Santali-OlChiki"

/// Automatically generated value for hardware keyboard SerbianCyrillic.
case SerbianCyrillic = "sr_Cyrl@hw=Serbian"

/// Automatically generated value for hardware keyboard SerbianLatin.
case SerbianLatin = "sr_Latn@hw=Serbian-Latin"

/// Automatically generated value for hardware keyboard Sindhi.
case Sindhi = "sd@hw=Sindhi"

/// Automatically generated value for hardware keyboard SindhiDevanagari.
case SindhiDevanagari = "sd_Deva@hw=Sindhi-Devanagari"

/// Automatically generated value for hardware keyboard Sinhala.
case Sinhala = "si@hw=Sinhala"

/// Automatically generated value for hardware keyboard SlovakSlovakia.
case SlovakSlovakia = "sk_SK@hw=Slovak"

Expand All @@ -255,6 +357,12 @@ public enum HardwareKeyboard: String, LaunchArgumentValue {
/// Automatically generated value for hardware keyboard TagalogPhilippines.
case TagalogPhilippines = "tl_PH@hw=Spanish - ISO"

/// Automatically generated value for hardware keyboard TajikCyrillic.
case TajikCyrillic = "tg_Cyrl@hw=Tajik-Cyrillic"

/// Automatically generated value for hardware keyboard Tamil.
case Tamil = "ta@hw=US"

/// Automatically generated value for hardware keyboard Telugu.
case Telugu = "te@hw=Telugu"

Expand All @@ -264,15 +372,33 @@ public enum HardwareKeyboard: String, LaunchArgumentValue {
/// Automatically generated value for hardware keyboard Tibetan.
case Tibetan = "bo@hw=Tibetan-QWERTY"

/// Automatically generated value for hardware keyboard Tongan.
case Tongan = "to@hw=Tongan"

/// Automatically generated value for hardware keyboard TurkishTurkey.
case TurkishTurkey = "tr_TR@hw=Turkish-QWERTY-PC"

/// Automatically generated value for hardware keyboard TurkmenLatin.
case TurkmenLatin = "tk_Latn@hw=Turkmen"

/// Automatically generated value for hardware keyboard UkrainianUkraine.
case UkrainianUkraine = "uk_UA@hw=Ukrainian"

/// Automatically generated value for hardware keyboard Urdu.
case Urdu = "ur@hw=Urdu"

/// Automatically generated value for hardware keyboard Uyghur.
case Uyghur = "ug@hw=Uyghur"

/// Automatically generated value for hardware keyboard UzbekArabic.
case UzbekArabic = "uz_Arab@hw=Afghan Uzbek"

/// Automatically generated value for hardware keyboard UzbekCyrillic.
case UzbekCyrillic = "uz_Cyrl@hw=Uzbek-Cyrillic"

/// Automatically generated value for hardware keyboard UzbekLatin.
case UzbekLatin = "uz_Latn@hw=US Extended"

/// Automatically generated value for hardware keyboard VietnameseVietnam.
case VietnameseVietnam = "vi_VN@hw=US"

Expand Down
Loading

0 comments on commit 0472e19

Please sign in to comment.