Skip to content

Commit

Permalink
Let's do this
Browse files Browse the repository at this point in the history
  • Loading branch information
Hayden Watson committed Nov 24, 2018
0 parents commit 235784d
Show file tree
Hide file tree
Showing 25 changed files with 873 additions and 0 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2018 Hayden Watson

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# swift-alternate-icons-example
An Example of Alternate Icons with Swift 4 and made to work with iPads.
359 changes: 359 additions & 0 deletions Swift Alternate Icons Example.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,359 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 50;
objects = {

/* Begin PBXBuildFile section */
D6D21A4E21A9052700EF64F9 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = D6D21A4D21A9052700EF64F9 /* AppDelegate.swift */; };
D6D21A5021A9052700EF64F9 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = D6D21A4F21A9052700EF64F9 /* ViewController.swift */; };
D6D21A5321A9052700EF64F9 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D6D21A5121A9052700EF64F9 /* Main.storyboard */; };
D6D21A5521A9052900EF64F9 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D6D21A5421A9052900EF64F9 /* Assets.xcassets */; };
D6D21A5821A9052900EF64F9 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D6D21A5621A9052900EF64F9 /* LaunchScreen.storyboard */; };
D6D21A6021A9075800EF64F9 /* BAppIcon@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = D6D21A5F21A9075800EF64F9 /* BAppIcon@3x.png */; };
D6D21A6221A9077200EF64F9 /* BAppIcon@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = D6D21A6121A9077200EF64F9 /* BAppIcon@2x.png */; };
D6D21A6421A90A0400EF64F9 /* CAppIcon@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = D6D21A6321A90A0400EF64F9 /* CAppIcon@2x.png */; };
D6D21A6621A90A0800EF64F9 /* CAppIcon@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = D6D21A6521A90A0800EF64F9 /* CAppIcon@3x.png */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
D6D21A4A21A9052700EF64F9 /* Swift Alternate Icons Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Swift Alternate Icons Example.app"; sourceTree = BUILT_PRODUCTS_DIR; };
D6D21A4D21A9052700EF64F9 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
D6D21A4F21A9052700EF64F9 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
D6D21A5221A9052700EF64F9 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
D6D21A5421A9052900EF64F9 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
D6D21A5721A9052900EF64F9 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
D6D21A5921A9052900EF64F9 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
D6D21A5F21A9075800EF64F9 /* BAppIcon@3x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "BAppIcon@3x.png"; sourceTree = "<group>"; };
D6D21A6121A9077200EF64F9 /* BAppIcon@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "BAppIcon@2x.png"; sourceTree = "<group>"; };
D6D21A6321A90A0400EF64F9 /* CAppIcon@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "CAppIcon@2x.png"; sourceTree = "<group>"; };
D6D21A6521A90A0800EF64F9 /* CAppIcon@3x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "CAppIcon@3x.png"; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
D6D21A4721A9052700EF64F9 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
D6D21A4121A9052700EF64F9 = {
isa = PBXGroup;
children = (
D6D21A4C21A9052700EF64F9 /* Swift Alternate Icons Example */,
D6D21A4B21A9052700EF64F9 /* Products */,
);
sourceTree = "<group>";
};
D6D21A4B21A9052700EF64F9 /* Products */ = {
isa = PBXGroup;
children = (
D6D21A4A21A9052700EF64F9 /* Swift Alternate Icons Example.app */,
);
name = Products;
sourceTree = "<group>";
};
D6D21A4C21A9052700EF64F9 /* Swift Alternate Icons Example */ = {
isa = PBXGroup;
children = (
D6D21A6121A9077200EF64F9 /* BAppIcon@2x.png */,
D6D21A5F21A9075800EF64F9 /* BAppIcon@3x.png */,
D6D21A6321A90A0400EF64F9 /* CAppIcon@2x.png */,
D6D21A6521A90A0800EF64F9 /* CAppIcon@3x.png */,
D6D21A4D21A9052700EF64F9 /* AppDelegate.swift */,
D6D21A4F21A9052700EF64F9 /* ViewController.swift */,
D6D21A5121A9052700EF64F9 /* Main.storyboard */,
D6D21A5421A9052900EF64F9 /* Assets.xcassets */,
D6D21A5621A9052900EF64F9 /* LaunchScreen.storyboard */,
D6D21A5921A9052900EF64F9 /* Info.plist */,
);
path = "Swift Alternate Icons Example";
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
D6D21A4921A9052700EF64F9 /* Swift Alternate Icons Example */ = {
isa = PBXNativeTarget;
buildConfigurationList = D6D21A5C21A9052900EF64F9 /* Build configuration list for PBXNativeTarget "Swift Alternate Icons Example" */;
buildPhases = (
D6D21A4621A9052700EF64F9 /* Sources */,
D6D21A4721A9052700EF64F9 /* Frameworks */,
D6D21A4821A9052700EF64F9 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = "Swift Alternate Icons Example";
productName = "Swift Alternate Icons Example";
productReference = D6D21A4A21A9052700EF64F9 /* Swift Alternate Icons Example.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
D6D21A4221A9052700EF64F9 /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 1010;
LastUpgradeCheck = 1010;
ORGANIZATIONNAME = "Hayden Watson";
TargetAttributes = {
D6D21A4921A9052700EF64F9 = {
CreatedOnToolsVersion = 10.1;
};
};
};
buildConfigurationList = D6D21A4521A9052700EF64F9 /* Build configuration list for PBXProject "Swift Alternate Icons Example" */;
compatibilityVersion = "Xcode 9.3";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = D6D21A4121A9052700EF64F9;
productRefGroup = D6D21A4B21A9052700EF64F9 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
D6D21A4921A9052700EF64F9 /* Swift Alternate Icons Example */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
D6D21A4821A9052700EF64F9 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
D6D21A5821A9052900EF64F9 /* LaunchScreen.storyboard in Resources */,
D6D21A6421A90A0400EF64F9 /* CAppIcon@2x.png in Resources */,
D6D21A6021A9075800EF64F9 /* BAppIcon@3x.png in Resources */,
D6D21A6221A9077200EF64F9 /* BAppIcon@2x.png in Resources */,
D6D21A5521A9052900EF64F9 /* Assets.xcassets in Resources */,
D6D21A6621A90A0800EF64F9 /* CAppIcon@3x.png in Resources */,
D6D21A5321A9052700EF64F9 /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
D6D21A4621A9052700EF64F9 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
D6D21A5021A9052700EF64F9 /* ViewController.swift in Sources */,
D6D21A4E21A9052700EF64F9 /* AppDelegate.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
D6D21A5121A9052700EF64F9 /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
D6D21A5221A9052700EF64F9 /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
D6D21A5621A9052900EF64F9 /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
D6D21A5721A9052900EF64F9 /* Base */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
D6D21A5A21A9052900EF64F9 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
};
D6D21A5B21A9052900EF64F9 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
VALIDATE_PRODUCT = YES;
};
name = Release;
};
D6D21A5D21A9052900EF64F9 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = W5TRM823UR;
INFOPLIST_FILE = "Swift Alternate Icons Example/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 10.3;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = "HJW.Swift-Alternate-Icons-Example";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
D6D21A5E21A9052900EF64F9 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = W5TRM823UR;
INFOPLIST_FILE = "Swift Alternate Icons Example/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 10.3;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = "HJW.Swift-Alternate-Icons-Example";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
D6D21A4521A9052700EF64F9 /* Build configuration list for PBXProject "Swift Alternate Icons Example" */ = {
isa = XCConfigurationList;
buildConfigurations = (
D6D21A5A21A9052900EF64F9 /* Debug */,
D6D21A5B21A9052900EF64F9 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
D6D21A5C21A9052900EF64F9 /* Build configuration list for PBXNativeTarget "Swift Alternate Icons Example" */ = {
isa = XCConfigurationList;
buildConfigurations = (
D6D21A5D21A9052900EF64F9 /* Debug */,
D6D21A5E21A9052900EF64F9 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = D6D21A4221A9052700EF64F9 /* Project object */;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 235784d

Please sign in to comment.