Skip to content

Commit

Permalink
Merge pull request #8 from ashishkakkad8/Swift3-Beta
Browse files Browse the repository at this point in the history
Swift 3 - XCode 8 GM
  • Loading branch information
ashishkakkad8 authored Sep 22, 2016
2 parents ee872ba + 422cd89 commit 9ab5189
Show file tree
Hide file tree
Showing 10 changed files with 56 additions and 238 deletions.
Binary file added .DS_Store
Binary file not shown.
131 changes: 5 additions & 126 deletions AKSwiftSlideMenu.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,33 +11,19 @@
753A55C81BB073E900254F27 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 753A55C61BB073E900254F27 /* Main.storyboard */; };
753A55CA1BB073E900254F27 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 753A55C91BB073E900254F27 /* Images.xcassets */; };
753A55CD1BB073E900254F27 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 753A55CB1BB073E900254F27 /* LaunchScreen.xib */; };
753A55D91BB073E900254F27 /* AKSwiftSlideMenuTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 753A55D81BB073E900254F27 /* AKSwiftSlideMenuTests.swift */; };
753A55E31BB0753B00254F27 /* MenuViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 753A55E21BB0753B00254F27 /* MenuViewController.swift */; };
753A55E51BB0755100254F27 /* BaseViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 753A55E41BB0755100254F27 /* BaseViewController.swift */; };
C6EEF9F61CB7E2AD00A3DC6D /* PlayVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = C6EEF9F51CB7E2AD00A3DC6D /* PlayVC.swift */; };
C6EEF9F81CB7E4E000A3DC6D /* HomeVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = C6EEF9F71CB7E4E000A3DC6D /* HomeVC.swift */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
753A55D31BB073E900254F27 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 753A55B51BB073E900254F27 /* Project object */;
proxyType = 1;
remoteGlobalIDString = 753A55BC1BB073E900254F27;
remoteInfo = AKSwiftSlideMenu;
};
/* End PBXContainerItemProxy section */

/* Begin PBXFileReference section */
753A55BD1BB073E900254F27 /* AKSwiftSlideMenu.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AKSwiftSlideMenu.app; sourceTree = BUILT_PRODUCTS_DIR; };
753A55C11BB073E900254F27 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
753A55C21BB073E900254F27 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
753A55C71BB073E900254F27 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
753A55C91BB073E900254F27 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
753A55CC1BB073E900254F27 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
753A55D21BB073E900254F27 /* AKSwiftSlideMenuTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = AKSwiftSlideMenuTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
753A55D71BB073E900254F27 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
753A55D81BB073E900254F27 /* AKSwiftSlideMenuTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AKSwiftSlideMenuTests.swift; sourceTree = "<group>"; };
753A55E21BB0753B00254F27 /* MenuViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MenuViewController.swift; sourceTree = "<group>"; };
753A55E41BB0755100254F27 /* BaseViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BaseViewController.swift; sourceTree = "<group>"; };
C6EEF9F51CB7E2AD00A3DC6D /* PlayVC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PlayVC.swift; sourceTree = "<group>"; };
Expand All @@ -52,21 +38,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
753A55CF1BB073E900254F27 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
753A55B41BB073E900254F27 = {
isa = PBXGroup;
children = (
753A55BF1BB073E900254F27 /* AKSwiftSlideMenu */,
753A55D51BB073E900254F27 /* AKSwiftSlideMenuTests */,
753A55BE1BB073E900254F27 /* Products */,
);
sourceTree = "<group>";
Expand All @@ -75,7 +53,6 @@
isa = PBXGroup;
children = (
753A55BD1BB073E900254F27 /* AKSwiftSlideMenu.app */,
753A55D21BB073E900254F27 /* AKSwiftSlideMenuTests.xctest */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -104,23 +81,6 @@
name = "Supporting Files";
sourceTree = "<group>";
};
753A55D51BB073E900254F27 /* AKSwiftSlideMenuTests */ = {
isa = PBXGroup;
children = (
753A55D81BB073E900254F27 /* AKSwiftSlideMenuTests.swift */,
753A55D61BB073E900254F27 /* Supporting Files */,
);
path = AKSwiftSlideMenuTests;
sourceTree = "<group>";
};
753A55D61BB073E900254F27 /* Supporting Files */ = {
isa = PBXGroup;
children = (
753A55D71BB073E900254F27 /* Info.plist */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand All @@ -141,24 +101,6 @@
productReference = 753A55BD1BB073E900254F27 /* AKSwiftSlideMenu.app */;
productType = "com.apple.product-type.application";
};
753A55D11BB073E900254F27 /* AKSwiftSlideMenuTests */ = {
isa = PBXNativeTarget;
buildConfigurationList = 753A55DF1BB073E900254F27 /* Build configuration list for PBXNativeTarget "AKSwiftSlideMenuTests" */;
buildPhases = (
753A55CE1BB073E900254F27 /* Sources */,
753A55CF1BB073E900254F27 /* Frameworks */,
753A55D01BB073E900254F27 /* Resources */,
);
buildRules = (
);
dependencies = (
753A55D41BB073E900254F27 /* PBXTargetDependency */,
);
name = AKSwiftSlideMenuTests;
productName = AKSwiftSlideMenuTests;
productReference = 753A55D21BB073E900254F27 /* AKSwiftSlideMenuTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
Expand All @@ -167,15 +109,12 @@
attributes = {
LastSwiftMigration = 0700;
LastSwiftUpdateCheck = 0700;
LastUpgradeCheck = 0700;
LastUpgradeCheck = 0800;
ORGANIZATIONNAME = Kode;
TargetAttributes = {
753A55BC1BB073E900254F27 = {
CreatedOnToolsVersion = 6.4;
};
753A55D11BB073E900254F27 = {
CreatedOnToolsVersion = 6.4;
TestTargetID = 753A55BC1BB073E900254F27;
LastSwiftMigration = 0800;
};
};
};
Expand All @@ -193,7 +132,6 @@
projectRoot = "";
targets = (
753A55BC1BB073E900254F27 /* AKSwiftSlideMenu */,
753A55D11BB073E900254F27 /* AKSwiftSlideMenuTests */,
);
};
/* End PBXProject section */
Expand All @@ -209,13 +147,6 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
753A55D01BB073E900254F27 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand All @@ -231,24 +162,8 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
753A55CE1BB073E900254F27 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
753A55D91BB073E900254F27 /* AKSwiftSlideMenuTests.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
753A55D41BB073E900254F27 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 753A55BC1BB073E900254F27 /* AKSwiftSlideMenu */;
targetProxy = 753A55D31BB073E900254F27 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */

/* Begin PBXVariantGroup section */
753A55C61BB073E900254F27 /* Main.storyboard */ = {
isa = PBXVariantGroup;
Expand Down Expand Up @@ -359,6 +274,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "Kode.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 3.0;
};
name = Debug;
};
Expand All @@ -370,36 +286,8 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "Kode.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
753A55E01BB073E900254F27 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
INFOPLIST_FILE = AKSwiftSlideMenuTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "Kode.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/AKSwiftSlideMenu.app/AKSwiftSlideMenu";
};
name = Debug;
};
753A55E11BB073E900254F27 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = AKSwiftSlideMenuTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "Kode.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/AKSwiftSlideMenu.app/AKSwiftSlideMenu";
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_VERSION = 3.0;
};
name = Release;
};
Expand All @@ -424,15 +312,6 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
753A55DF1BB073E900254F27 /* Build configuration list for PBXNativeTarget "AKSwiftSlideMenuTests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
753A55E01BB073E900254F27 /* Debug */,
753A55E11BB073E900254F27 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 753A55B51BB073E900254F27 /* Project object */;
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0730"
LastUpgradeVersion = "0800"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
12 changes: 6 additions & 6 deletions AKSwiftSlideMenu/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,31 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?


func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.

return true
}

func applicationWillResignActive(application: UIApplication) {
func applicationWillResignActive(_ application: UIApplication) {
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
}

func applicationDidEnterBackground(application: UIApplication) {
func applicationDidEnterBackground(_ application: UIApplication) {
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
}

func applicationWillEnterForeground(application: UIApplication) {
func applicationWillEnterForeground(_ application: UIApplication) {
// Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
}

func applicationDidBecomeActive(application: UIApplication) {
func applicationDidBecomeActive(_ application: UIApplication) {
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
}

func applicationWillTerminate(application: UIApplication) {
func applicationWillTerminate(_ application: UIApplication) {
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}

Expand Down
2 changes: 1 addition & 1 deletion AKSwiftSlideMenu/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10116" systemVersion="15E65" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" initialViewController="DGj-7d-jfR">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10117" systemVersion="15G31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" initialViewController="DGj-7d-jfR">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
Expand Down
Loading

0 comments on commit 9ab5189

Please sign in to comment.