-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from Athlee/swift3-develop
Updated to Swift 3
- Loading branch information
Showing
73 changed files
with
1,649 additions
and
1,041 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
606 changes: 0 additions & 606 deletions
606
Example/Athlee-Onboarding/Athlee-Onboarding.xcodeproj/project.pbxproj
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
Example/Athlee-Onboarding/Athlee-Onboarding.xcworkspace/contents.xcworkspacedata
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
Example/Athlee-Onboarding/Athlee-Onboarding/AppDelegate.swift
This file was deleted.
Oops, something went wrong.
38 changes: 0 additions & 38 deletions
38
Example/Athlee-Onboarding/Athlee-Onboarding/Assets.xcassets/AppIcon.appiconset/Contents.json
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
Example/Athlee-Onboarding/Athlee-Onboarding/DeviceTarget.swift
This file was deleted.
Oops, something went wrong.
543 changes: 543 additions & 0 deletions
543
Example/Athlee-Onboarding/OnboardingKit Swift3.xcodeproj/project.pbxproj
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...ject.xcworkspace/contents.xcworkspacedata → ...ject.xcworkspace/contents.xcworkspacedata
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
Example/Athlee-Onboarding/OnboardingKit Swift3/AppDelegate.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// AppDelegate.swift | ||
// OnboardingKit Swift3 | ||
// | ||
// Created by mac on 18/09/16. | ||
// Copyright © 2016 Athlee. All rights reserved. | ||
// | ||
|
||
import UIKit | ||
|
||
@UIApplicationMain | ||
class AppDelegate: UIResponder, UIApplicationDelegate { | ||
var window: UIWindow? | ||
|
||
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { | ||
return true | ||
} | ||
} | ||
|
93 changes: 93 additions & 0 deletions
93
...e/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/AppIcon.appiconset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"idiom" : "iphone", | ||
"size" : "20x20", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"idiom" : "iphone", | ||
"size" : "20x20", | ||
"scale" : "3x" | ||
}, | ||
{ | ||
"idiom" : "iphone", | ||
"size" : "29x29", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"idiom" : "iphone", | ||
"size" : "29x29", | ||
"scale" : "3x" | ||
}, | ||
{ | ||
"idiom" : "iphone", | ||
"size" : "40x40", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"idiom" : "iphone", | ||
"size" : "40x40", | ||
"scale" : "3x" | ||
}, | ||
{ | ||
"idiom" : "iphone", | ||
"size" : "60x60", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"idiom" : "iphone", | ||
"size" : "60x60", | ||
"scale" : "3x" | ||
}, | ||
{ | ||
"idiom" : "ipad", | ||
"size" : "20x20", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"idiom" : "ipad", | ||
"size" : "20x20", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"idiom" : "ipad", | ||
"size" : "29x29", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"idiom" : "ipad", | ||
"size" : "29x29", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"idiom" : "ipad", | ||
"size" : "40x40", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"idiom" : "ipad", | ||
"size" : "40x40", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"idiom" : "ipad", | ||
"size" : "76x76", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"idiom" : "ipad", | ||
"size" : "76x76", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"idiom" : "ipad", | ||
"size" : "83.5x83.5", | ||
"scale" : "2x" | ||
} | ||
], | ||
"info" : { | ||
"version" : 1, | ||
"author" : "xcode" | ||
} | ||
} |
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
Example/Athlee-Onboarding/OnboardingKit Swift3/DeviceTarget.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// | ||
// DeviceTarget.swift | ||
// Athlee-Onboarding | ||
// | ||
// Created by mac on 07/07/16. | ||
// Copyright © 2016 Athlee. All rights reserved. | ||
// | ||
|
||
import UIKit | ||
|
||
public struct DeviceTarget { | ||
public static let CURRENT_DEVICE: CGFloat = UIScreen.main.bounds.height | ||
|
||
public static let IPHONE_4: CGFloat = 480 | ||
public static let IPHONE_5: CGFloat = 568 | ||
public static let IPHONE_6: CGFloat = 667 | ||
public static let IPHONE_6_Plus: CGFloat = 736 | ||
|
||
public static let IS_IPHONE_4 = UIScreen.main.bounds.height == IPHONE_4 | ||
public static let IS_IPHONE_5 = UIScreen.main.bounds.height == IPHONE_5 | ||
public static let IS_IPHONE_6 = UIScreen.main.bounds.height == IPHONE_6 | ||
public static let IS_IPHONE_6_Plus = UIScreen.main.bounds.height == IPHONE_6_Plus | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 11 additions & 12 deletions
23
...lee-Onboarding/Base.lproj/Main.storyboard → ...ding/OnboardingKit Swift3/Main.storyboard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.