diff --git a/.DS_Store b/.DS_Store index 8545bbf..a16e300 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/Assets/.DS_Store b/Assets/.DS_Store deleted file mode 100644 index 2f455e2..0000000 Binary files a/Assets/.DS_Store and /dev/null differ diff --git a/Assets/demo1.gif b/Assets/demo1.gif deleted file mode 100644 index 461bca1..0000000 Binary files a/Assets/demo1.gif and /dev/null differ diff --git a/Assets/onboardingdemox1.png b/Assets/onboardingdemox1.png deleted file mode 100644 index 4fae2d7..0000000 Binary files a/Assets/onboardingdemox1.png and /dev/null differ diff --git a/Example/.DS_Store b/Example/.DS_Store deleted file mode 100644 index 620d4db..0000000 Binary files a/Example/.DS_Store and /dev/null differ diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3.xcodeproj/project.pbxproj b/Example/Athlee-Onboarding/OnboardingKit Swift3.xcodeproj/project.pbxproj deleted file mode 100644 index 6f92f14..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3.xcodeproj/project.pbxproj +++ /dev/null @@ -1,546 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 048680671D8E204C004B011E /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 048680661D8E204C004B011E /* AppDelegate.swift */; }; - 0486806E1D8E204C004B011E /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0486806D1D8E204C004B011E /* Assets.xcassets */; }; - 048680711D8E204C004B011E /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0486806F1D8E204C004B011E /* LaunchScreen.storyboard */; }; - 0486807C1D8E204D004B011E /* OnboardingKit_Swift3Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0486807B1D8E204D004B011E /* OnboardingKit_Swift3Tests.swift */; }; - 048680A71D8E2489004B011E /* DataModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 048680A41D8E2489004B011E /* DataModel.swift */; }; - 048680A81D8E2489004B011E /* DeviceTarget.swift in Sources */ = {isa = PBXBuildFile; fileRef = 048680A51D8E2489004B011E /* DeviceTarget.swift */; }; - 048680A91D8E2489004B011E /* OnboardingViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 048680A61D8E2489004B011E /* OnboardingViewController.swift */; }; - 048680AB1D8E2499004B011E /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 048680AA1D8E2499004B011E /* Main.storyboard */; }; - 048680DF1D8E2BA9004B011E /* Anchor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 048680D01D8E2BA9004B011E /* Anchor.swift */; }; - 048680E01D8E2BA9004B011E /* CGRect.swift in Sources */ = {isa = PBXBuildFile; fileRef = 048680D11D8E2BA9004B011E /* CGRect.swift */; }; - 048680E11D8E2BA9004B011E /* CompletionObject.swift in Sources */ = {isa = PBXBuildFile; fileRef = 048680D21D8E2BA9004B011E /* CompletionObject.swift */; }; - 048680E21D8E2BA9004B011E /* OnboardingConfiguration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 048680D31D8E2BA9004B011E /* OnboardingConfiguration.swift */; }; - 048680E31D8E2BA9004B011E /* OnboardingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 048680D41D8E2BA9004B011E /* OnboardingView.swift */; }; - 048680E41D8E2BA9004B011E /* OnboardingViewDataSource.swift in Sources */ = {isa = PBXBuildFile; fileRef = 048680D51D8E2BA9004B011E /* OnboardingViewDataSource.swift */; }; - 048680E51D8E2BA9004B011E /* OnboardingViewDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 048680D61D8E2BA9004B011E /* OnboardingViewDelegate.swift */; }; - 048680E61D8E2BA9004B011E /* PageControlView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 048680D71D8E2BA9004B011E /* PageControlView.swift */; }; - 048680E71D8E2BA9004B011E /* PageItemView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 048680D81D8E2BA9004B011E /* PageItemView.swift */; }; - 048680E81D8E2BA9004B011E /* PageView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 048680D91D8E2BA9004B011E /* PageView.swift */; }; - 048680E91D8E2BA9004B011E /* TZSpacerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 048680DB1D8E2BA9004B011E /* TZSpacerView.swift */; }; - 048680EA1D8E2BA9004B011E /* TZStackView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 048680DC1D8E2BA9004B011E /* TZStackView.swift */; }; - 048680EB1D8E2BA9004B011E /* TZStackViewAlignment.swift in Sources */ = {isa = PBXBuildFile; fileRef = 048680DD1D8E2BA9004B011E /* TZStackViewAlignment.swift */; }; - 048680EC1D8E2BA9004B011E /* TZStackViewDistribution.swift in Sources */ = {isa = PBXBuildFile; fileRef = 048680DE1D8E2BA9004B011E /* TZStackViewDistribution.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 048680781D8E204D004B011E /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 0486805B1D8E204C004B011E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 048680621D8E204C004B011E; - remoteInfo = "OnboardingKit Swift3"; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 048680631D8E204C004B011E /* OnboardingKit Swift3.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "OnboardingKit Swift3.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - 048680661D8E204C004B011E /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 0486806D1D8E204C004B011E /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 048680701D8E204C004B011E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - 048680721D8E204C004B011E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 048680771D8E204D004B011E /* OnboardingKit Swift3Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "OnboardingKit Swift3Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; - 0486807B1D8E204D004B011E /* OnboardingKit_Swift3Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OnboardingKit_Swift3Tests.swift; sourceTree = ""; }; - 0486807D1D8E204D004B011E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 048680A41D8E2489004B011E /* DataModel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DataModel.swift; sourceTree = ""; }; - 048680A51D8E2489004B011E /* DeviceTarget.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DeviceTarget.swift; sourceTree = ""; }; - 048680A61D8E2489004B011E /* OnboardingViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OnboardingViewController.swift; sourceTree = ""; }; - 048680AA1D8E2499004B011E /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = ""; }; - 048680D01D8E2BA9004B011E /* Anchor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Anchor.swift; sourceTree = ""; }; - 048680D11D8E2BA9004B011E /* CGRect.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CGRect.swift; sourceTree = ""; }; - 048680D21D8E2BA9004B011E /* CompletionObject.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CompletionObject.swift; sourceTree = ""; }; - 048680D31D8E2BA9004B011E /* OnboardingConfiguration.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OnboardingConfiguration.swift; sourceTree = ""; }; - 048680D41D8E2BA9004B011E /* OnboardingView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OnboardingView.swift; sourceTree = ""; }; - 048680D51D8E2BA9004B011E /* OnboardingViewDataSource.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OnboardingViewDataSource.swift; sourceTree = ""; }; - 048680D61D8E2BA9004B011E /* OnboardingViewDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OnboardingViewDelegate.swift; sourceTree = ""; }; - 048680D71D8E2BA9004B011E /* PageControlView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PageControlView.swift; sourceTree = ""; }; - 048680D81D8E2BA9004B011E /* PageItemView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PageItemView.swift; sourceTree = ""; }; - 048680D91D8E2BA9004B011E /* PageView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PageView.swift; sourceTree = ""; }; - 048680DB1D8E2BA9004B011E /* TZSpacerView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TZSpacerView.swift; sourceTree = ""; }; - 048680DC1D8E2BA9004B011E /* TZStackView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TZStackView.swift; sourceTree = ""; }; - 048680DD1D8E2BA9004B011E /* TZStackViewAlignment.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TZStackViewAlignment.swift; sourceTree = ""; }; - 048680DE1D8E2BA9004B011E /* TZStackViewDistribution.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TZStackViewDistribution.swift; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 048680601D8E204C004B011E /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 048680741D8E204D004B011E /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 0486805A1D8E204C004B011E = { - isa = PBXGroup; - children = ( - 048680CF1D8E2BA9004B011E /* Source */, - 048680651D8E204C004B011E /* OnboardingKit Swift3 */, - 0486807A1D8E204D004B011E /* OnboardingKit Swift3Tests */, - 048680641D8E204C004B011E /* Products */, - ); - sourceTree = ""; - }; - 048680641D8E204C004B011E /* Products */ = { - isa = PBXGroup; - children = ( - 048680631D8E204C004B011E /* OnboardingKit Swift3.app */, - 048680771D8E204D004B011E /* OnboardingKit Swift3Tests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 048680651D8E204C004B011E /* OnboardingKit Swift3 */ = { - isa = PBXGroup; - children = ( - 048680CD1D8E2B58004B011E /* Resources */, - 048680CC1D8E2B4E004B011E /* Support */, - 048680CB1D8E2B44004B011E /* Models */, - 048680CA1D8E2B3A004B011E /* Controllers */, - ); - path = "OnboardingKit Swift3"; - sourceTree = ""; - }; - 0486807A1D8E204D004B011E /* OnboardingKit Swift3Tests */ = { - isa = PBXGroup; - children = ( - 0486807B1D8E204D004B011E /* OnboardingKit_Swift3Tests.swift */, - 0486807D1D8E204D004B011E /* Info.plist */, - ); - path = "OnboardingKit Swift3Tests"; - sourceTree = ""; - }; - 048680CA1D8E2B3A004B011E /* Controllers */ = { - isa = PBXGroup; - children = ( - 048680CE1D8E2B68004B011E /* Application */, - 048680A61D8E2489004B011E /* OnboardingViewController.swift */, - ); - name = Controllers; - sourceTree = ""; - }; - 048680CB1D8E2B44004B011E /* Models */ = { - isa = PBXGroup; - children = ( - 048680A41D8E2489004B011E /* DataModel.swift */, - 048680A51D8E2489004B011E /* DeviceTarget.swift */, - ); - name = Models; - sourceTree = ""; - }; - 048680CC1D8E2B4E004B011E /* Support */ = { - isa = PBXGroup; - children = ( - 048680721D8E204C004B011E /* Info.plist */, - ); - name = Support; - sourceTree = ""; - }; - 048680CD1D8E2B58004B011E /* Resources */ = { - isa = PBXGroup; - children = ( - 048680AA1D8E2499004B011E /* Main.storyboard */, - 0486806F1D8E204C004B011E /* LaunchScreen.storyboard */, - 0486806D1D8E204C004B011E /* Assets.xcassets */, - ); - name = Resources; - sourceTree = ""; - }; - 048680CE1D8E2B68004B011E /* Application */ = { - isa = PBXGroup; - children = ( - 048680661D8E204C004B011E /* AppDelegate.swift */, - ); - name = Application; - sourceTree = ""; - }; - 048680CF1D8E2BA9004B011E /* Source */ = { - isa = PBXGroup; - children = ( - 048680D01D8E2BA9004B011E /* Anchor.swift */, - 048680D11D8E2BA9004B011E /* CGRect.swift */, - 048680D21D8E2BA9004B011E /* CompletionObject.swift */, - 048680D31D8E2BA9004B011E /* OnboardingConfiguration.swift */, - 048680D41D8E2BA9004B011E /* OnboardingView.swift */, - 048680D51D8E2BA9004B011E /* OnboardingViewDataSource.swift */, - 048680D61D8E2BA9004B011E /* OnboardingViewDelegate.swift */, - 048680D71D8E2BA9004B011E /* PageControlView.swift */, - 048680D81D8E2BA9004B011E /* PageItemView.swift */, - 048680D91D8E2BA9004B011E /* PageView.swift */, - 048680DA1D8E2BA9004B011E /* TZStackView */, - ); - name = Source; - path = ../../Source; - sourceTree = ""; - }; - 048680DA1D8E2BA9004B011E /* TZStackView */ = { - isa = PBXGroup; - children = ( - 048680DB1D8E2BA9004B011E /* TZSpacerView.swift */, - 048680DC1D8E2BA9004B011E /* TZStackView.swift */, - 048680DD1D8E2BA9004B011E /* TZStackViewAlignment.swift */, - 048680DE1D8E2BA9004B011E /* TZStackViewDistribution.swift */, - ); - path = TZStackView; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 048680621D8E204C004B011E /* OnboardingKit Swift3 */ = { - isa = PBXNativeTarget; - buildConfigurationList = 048680801D8E204D004B011E /* Build configuration list for PBXNativeTarget "OnboardingKit Swift3" */; - buildPhases = ( - 0486805F1D8E204C004B011E /* Sources */, - 048680601D8E204C004B011E /* Frameworks */, - 048680611D8E204C004B011E /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "OnboardingKit Swift3"; - productName = "OnboardingKit Swift3"; - productReference = 048680631D8E204C004B011E /* OnboardingKit Swift3.app */; - productType = "com.apple.product-type.application"; - }; - 048680761D8E204D004B011E /* OnboardingKit Swift3Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 048680831D8E204D004B011E /* Build configuration list for PBXNativeTarget "OnboardingKit Swift3Tests" */; - buildPhases = ( - 048680731D8E204D004B011E /* Sources */, - 048680741D8E204D004B011E /* Frameworks */, - 048680751D8E204D004B011E /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 048680791D8E204D004B011E /* PBXTargetDependency */, - ); - name = "OnboardingKit Swift3Tests"; - productName = "OnboardingKit Swift3Tests"; - productReference = 048680771D8E204D004B011E /* OnboardingKit Swift3Tests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 0486805B1D8E204C004B011E /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0800; - LastUpgradeCheck = 0800; - ORGANIZATIONNAME = Athlee; - TargetAttributes = { - 048680621D8E204C004B011E = { - CreatedOnToolsVersion = 8.0; - DevelopmentTeam = RG4N372RZE; - LastSwiftMigration = 0800; - ProvisioningStyle = Automatic; - }; - 048680761D8E204D004B011E = { - CreatedOnToolsVersion = 8.0; - DevelopmentTeam = RG4N372RZE; - LastSwiftMigration = 0800; - ProvisioningStyle = Automatic; - TestTargetID = 048680621D8E204C004B011E; - }; - }; - }; - buildConfigurationList = 0486805E1D8E204C004B011E /* Build configuration list for PBXProject "OnboardingKit Swift3" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 0486805A1D8E204C004B011E; - productRefGroup = 048680641D8E204C004B011E /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 048680621D8E204C004B011E /* OnboardingKit Swift3 */, - 048680761D8E204D004B011E /* OnboardingKit Swift3Tests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 048680611D8E204C004B011E /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 048680AB1D8E2499004B011E /* Main.storyboard in Resources */, - 048680711D8E204C004B011E /* LaunchScreen.storyboard in Resources */, - 0486806E1D8E204C004B011E /* Assets.xcassets in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 048680751D8E204D004B011E /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 0486805F1D8E204C004B011E /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 048680E71D8E2BA9004B011E /* PageItemView.swift in Sources */, - 048680EB1D8E2BA9004B011E /* TZStackViewAlignment.swift in Sources */, - 048680A91D8E2489004B011E /* OnboardingViewController.swift in Sources */, - 048680E01D8E2BA9004B011E /* CGRect.swift in Sources */, - 048680E11D8E2BA9004B011E /* CompletionObject.swift in Sources */, - 048680E31D8E2BA9004B011E /* OnboardingView.swift in Sources */, - 048680E21D8E2BA9004B011E /* OnboardingConfiguration.swift in Sources */, - 048680E61D8E2BA9004B011E /* PageControlView.swift in Sources */, - 048680DF1D8E2BA9004B011E /* Anchor.swift in Sources */, - 048680671D8E204C004B011E /* AppDelegate.swift in Sources */, - 048680E91D8E2BA9004B011E /* TZSpacerView.swift in Sources */, - 048680A71D8E2489004B011E /* DataModel.swift in Sources */, - 048680EA1D8E2BA9004B011E /* TZStackView.swift in Sources */, - 048680E51D8E2BA9004B011E /* OnboardingViewDelegate.swift in Sources */, - 048680E41D8E2BA9004B011E /* OnboardingViewDataSource.swift in Sources */, - 048680A81D8E2489004B011E /* DeviceTarget.swift in Sources */, - 048680E81D8E2BA9004B011E /* PageView.swift in Sources */, - 048680EC1D8E2BA9004B011E /* TZStackViewDistribution.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 048680731D8E204D004B011E /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 0486807C1D8E204D004B011E /* OnboardingKit_Swift3Tests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 048680791D8E204D004B011E /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 048680621D8E204C004B011E /* OnboardingKit Swift3 */; - targetProxy = 048680781D8E204D004B011E /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 0486806F1D8E204C004B011E /* LaunchScreen.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 048680701D8E204C004B011E /* Base */, - ); - name = LaunchScreen.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 0486807E1D8E204D004B011E /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = 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_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVES = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - 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 = 10.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 0486807F1D8E204D004B011E /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = 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_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVES = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "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 = gnu99; - 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 = 10.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 048680811D8E204D004B011E /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - DEVELOPMENT_TEAM = RG4N372RZE; - INFOPLIST_FILE = "OnboardingKit Swift3/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.athlee.OnboardingKit-Swift3"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; - }; - name = Debug; - }; - 048680821D8E204D004B011E /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - DEVELOPMENT_TEAM = RG4N372RZE; - INFOPLIST_FILE = "OnboardingKit Swift3/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.athlee.OnboardingKit-Swift3"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; - }; - name = Release; - }; - 048680841D8E204D004B011E /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - BUNDLE_LOADER = "$(TEST_HOST)"; - DEVELOPMENT_TEAM = RG4N372RZE; - INFOPLIST_FILE = "OnboardingKit Swift3Tests/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.athlee.OnboardingKit-Swift3Tests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/OnboardingKit Swift3.app/OnboardingKit Swift3"; - }; - name = Debug; - }; - 048680851D8E204D004B011E /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - BUNDLE_LOADER = "$(TEST_HOST)"; - DEVELOPMENT_TEAM = RG4N372RZE; - INFOPLIST_FILE = "OnboardingKit Swift3Tests/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.athlee.OnboardingKit-Swift3Tests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/OnboardingKit Swift3.app/OnboardingKit Swift3"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 0486805E1D8E204C004B011E /* Build configuration list for PBXProject "OnboardingKit Swift3" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 0486807E1D8E204D004B011E /* Debug */, - 0486807F1D8E204D004B011E /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 048680801D8E204D004B011E /* Build configuration list for PBXNativeTarget "OnboardingKit Swift3" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 048680811D8E204D004B011E /* Debug */, - 048680821D8E204D004B011E /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 048680831D8E204D004B011E /* Build configuration list for PBXNativeTarget "OnboardingKit Swift3Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 048680841D8E204D004B011E /* Debug */, - 048680851D8E204D004B011E /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 0486805B1D8E204C004B011E /* Project object */; -} diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/AppDelegate.swift b/Example/Athlee-Onboarding/OnboardingKit Swift3/AppDelegate.swift deleted file mode 100644 index ff888c2..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3/AppDelegate.swift +++ /dev/null @@ -1,19 +0,0 @@ -// -// 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 - } -} - diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/AppIcon.appiconset/Contents.json b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 1d060ed..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "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" - } -} \ No newline at end of file diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundBlue.imageset/Blue BG.png b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundBlue.imageset/Blue BG.png deleted file mode 100644 index 0421b79..0000000 Binary files a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundBlue.imageset/Blue BG.png and /dev/null differ diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundBlue.imageset/Contents.json b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundBlue.imageset/Contents.json deleted file mode 100644 index 4f28e34..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundBlue.imageset/Contents.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "Blue BG.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundGreen.imageset/BG Green.png b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundGreen.imageset/BG Green.png deleted file mode 100644 index a0a109f..0000000 Binary files a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundGreen.imageset/BG Green.png and /dev/null differ diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundGreen.imageset/Contents.json b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundGreen.imageset/Contents.json deleted file mode 100644 index 50e50aa..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundGreen.imageset/Contents.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "BG Green.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundOrange.imageset/BG Orange.png b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundOrange.imageset/BG Orange.png deleted file mode 100644 index 453ec37..0000000 Binary files a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundOrange.imageset/BG Orange.png and /dev/null differ diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundOrange.imageset/Contents.json b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundOrange.imageset/Contents.json deleted file mode 100644 index bde7721..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundOrange.imageset/Contents.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "BG Orange.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundPurple.imageset/BG Purple.png b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundPurple.imageset/BG Purple.png deleted file mode 100644 index d1a929c..0000000 Binary files a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundPurple.imageset/BG Purple.png and /dev/null differ diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundPurple.imageset/Contents.json b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundPurple.imageset/Contents.json deleted file mode 100644 index ee1e311..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundPurple.imageset/Contents.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "BG Purple.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundRed.imageset/Contents.json b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundRed.imageset/Contents.json deleted file mode 100644 index 2c7ab7d..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundRed.imageset/Contents.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "Red BG.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundRed.imageset/Red BG.png b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundRed.imageset/Red BG.png deleted file mode 100644 index 8465265..0000000 Binary files a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/BackgroundRed.imageset/Red BG.png and /dev/null differ diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/Contents.json b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/Contents.json deleted file mode 100644 index da4a164..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Backgrounds/Contents.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Contents.json b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Contents.json deleted file mode 100644 index da4a164..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Contents.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/Contents.json b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/Contents.json deleted file mode 100644 index da4a164..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/Contents.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemActivityIcon.imageset/Contents.json b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemActivityIcon.imageset/Contents.json deleted file mode 100644 index 32ef34c..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemActivityIcon.imageset/Contents.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "acitivty_small2.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemActivityIcon.imageset/acitivty_small2.png b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemActivityIcon.imageset/acitivty_small2.png deleted file mode 100644 index 7d5848c..0000000 Binary files a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemActivityIcon.imageset/acitivty_small2.png and /dev/null differ diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemHeartIcon.imageset/Contents.json b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemHeartIcon.imageset/Contents.json deleted file mode 100644 index b552204..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemHeartIcon.imageset/Contents.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "overview_small1.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemHeartIcon.imageset/overview_small1.png b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemHeartIcon.imageset/overview_small1.png deleted file mode 100644 index 28ce9bc..0000000 Binary files a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemHeartIcon.imageset/overview_small1.png and /dev/null differ diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemMetricsIcon.imageset/Contents.json b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemMetricsIcon.imageset/Contents.json deleted file mode 100644 index a6b5502..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemMetricsIcon.imageset/Contents.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "activity_small1.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemMetricsIcon.imageset/activity_small1.png b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemMetricsIcon.imageset/activity_small1.png deleted file mode 100644 index 8c6bb42..0000000 Binary files a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemMetricsIcon.imageset/activity_small1.png and /dev/null differ diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemNutritionIcon.imageset/Contents.json b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemNutritionIcon.imageset/Contents.json deleted file mode 100644 index acd5f13..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemNutritionIcon.imageset/Contents.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "nutrition_small1.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemNutritionIcon.imageset/nutrition_small1.png b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemNutritionIcon.imageset/nutrition_small1.png deleted file mode 100644 index 869bc5c..0000000 Binary files a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemNutritionIcon.imageset/nutrition_small1.png and /dev/null differ diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemTimelapseIcon.imageset/Contents.json b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemTimelapseIcon.imageset/Contents.json deleted file mode 100644 index bdd3a03..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemTimelapseIcon.imageset/Contents.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "time_small1.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemTimelapseIcon.imageset/time_small1.png b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemTimelapseIcon.imageset/time_small1.png deleted file mode 100644 index 19f12c7..0000000 Binary files a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Items/ItemTimelapseIcon.imageset/time_small1.png and /dev/null differ diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/Contents.json b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/Contents.json deleted file mode 100644 index da4a164..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/Contents.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageActivityImage.imageset/Contents.json b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageActivityImage.imageset/Contents.json deleted file mode 100644 index d34fe81..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageActivityImage.imageset/Contents.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "activity_icon.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageActivityImage.imageset/activity_icon.png b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageActivityImage.imageset/activity_icon.png deleted file mode 100644 index 1490bd2..0000000 Binary files a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageActivityImage.imageset/activity_icon.png and /dev/null differ diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageHeartImage.imageset/Contents.json b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageHeartImage.imageset/Contents.json deleted file mode 100644 index 8f50dee..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageHeartImage.imageset/Contents.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "heart icon, centered.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageHeartImage.imageset/heart icon, centered.png b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageHeartImage.imageset/heart icon, centered.png deleted file mode 100644 index dbbc7c4..0000000 Binary files a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageHeartImage.imageset/heart icon, centered.png and /dev/null differ diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageMetricsImage.imageset/Body Metrics New.png b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageMetricsImage.imageset/Body Metrics New.png deleted file mode 100644 index ba06c8b..0000000 Binary files a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageMetricsImage.imageset/Body Metrics New.png and /dev/null differ diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageMetricsImage.imageset/Contents.json b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageMetricsImage.imageset/Contents.json deleted file mode 100644 index 0f9d3f6..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageMetricsImage.imageset/Contents.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "Body Metrics New.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageNutritionImage.imageset/Contents.json b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageNutritionImage.imageset/Contents.json deleted file mode 100644 index 75384f1..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageNutritionImage.imageset/Contents.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "nutrition.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageNutritionImage.imageset/nutrition.png b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageNutritionImage.imageset/nutrition.png deleted file mode 100644 index 9d91018..0000000 Binary files a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageNutritionImage.imageset/nutrition.png and /dev/null differ diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageTimelapseImage.imageset/Contents.json b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageTimelapseImage.imageset/Contents.json deleted file mode 100644 index 9dd78b1..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageTimelapseImage.imageset/Contents.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "time1.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageTimelapseImage.imageset/time1.png b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageTimelapseImage.imageset/time1.png deleted file mode 100644 index 1d35118..0000000 Binary files a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/Page Images/PageTimelapseImage.imageset/time1.png and /dev/null differ diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/WavesImage.imageset/Contents.json b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/WavesImage.imageset/Contents.json deleted file mode 100644 index 27871db..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/WavesImage.imageset/Contents.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "wavesblue.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/WavesImage.imageset/wavesblue.png b/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/WavesImage.imageset/wavesblue.png deleted file mode 100644 index b43ed47..0000000 Binary files a/Example/Athlee-Onboarding/OnboardingKit Swift3/Assets.xcassets/WavesImage.imageset/wavesblue.png and /dev/null differ diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Base.lproj/LaunchScreen.storyboard b/Example/Athlee-Onboarding/OnboardingKit Swift3/Base.lproj/LaunchScreen.storyboard deleted file mode 100644 index fdf3f97..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3/Base.lproj/LaunchScreen.storyboard +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/DataModel.swift b/Example/Athlee-Onboarding/OnboardingKit Swift3/DataModel.swift deleted file mode 100644 index 94cebd4..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3/DataModel.swift +++ /dev/null @@ -1,107 +0,0 @@ -// -// DataModel.swift -// Athlee-Onboarding -// -// Created by mac on 06/07/16. -// Copyright © 2016 Athlee. All rights reserved. -// - -import UIKit -//import OnboardingKit - -public final class DataModel: NSObject, OnboardingViewDelegate, OnboardingViewDataSource { - - public var didShow: ((Int) -> Void)? - public var willShow: ((Int) -> Void)? - - public func numberOfPages() -> Int { - return 5 - } - - public func onboardingView(_ onboardingView: OnboardingView, configurationForPage page: Int) -> OnboardingConfiguration { - switch page { - - case 0: - return OnboardingConfiguration( - image: UIImage(named: "PageHeartImage")!, - itemImage: UIImage(named: "ItemHeartIcon")!, - pageTitle: "PhotoFIT", - pageDescription: "A new kind of fittness tracking! \n\n100% free, because great health should be accessible to all!", - backgroundImage: UIImage(named: "BackgroundRed"), - topBackgroundImage: nil, - bottomBackgroundImage: UIImage(named: "WavesImage") - ) - - case 1: - return OnboardingConfiguration( - image: UIImage(named: "PageMetricsImage")!, - itemImage: UIImage(named: "ItemMetricsIcon")!, - pageTitle: "Body Metrics", - pageDescription: "Body metrics will never be the same! \n\nTrack bodyweight, body fat, and add a snap shot of your progress!", - backgroundImage: UIImage(named: "BackgroundBlue"), - topBackgroundImage: nil, - bottomBackgroundImage: UIImage(named: "WavesImage") - ) - - case 2: - return OnboardingConfiguration( - image: UIImage(named: "PageActivityImage")!, - itemImage: UIImage(named: "ItemActivityIcon")!, - pageTitle: "Activity", - pageDescription: "View activity collected by your fitness trackers and your other mobile apps! \n\nData has never been more beautiful or easier to understand!", - backgroundImage: UIImage(named: "BackgroundOrange"), - topBackgroundImage: nil, - bottomBackgroundImage: UIImage(named: "WavesImage") - ) - - case 3: - return OnboardingConfiguration( - image: UIImage(named: "PageNutritionImage")!, - itemImage: UIImage(named: "ItemNutritionIcon")!, - pageTitle: "Nutrition", - pageDescription: "Nutrition tracking can be difficult! \n\nContinue to use your favorite calorie tracking apps if you want, but check out your results here and make sure your macros are in check!", - backgroundImage: UIImage(named: "BackgroundGreen"), - topBackgroundImage: nil, - bottomBackgroundImage: UIImage(named: "WavesImage") - ) - - case 4: - return OnboardingConfiguration( - image: UIImage(named: "PageTimelapseImage")!, - itemImage: UIImage(named: "ItemTimelapseIcon")!, - pageTitle: "PhotoLAPSE", - pageDescription: "Your progress photos are being put to good use! \n\nThe photoLAPSE feature allows you to view your results over custom time periods!", - backgroundImage: UIImage(named: "BackgroundPurple"), - topBackgroundImage: nil, - bottomBackgroundImage: UIImage(named: "WavesImage") - ) - - default: - fatalError("Out of range!") - } - } - - public func onboardingView(_ onboardingView: OnboardingView, configurePageView pageView: PageView, atPage page: Int) { - pageView.titleLabel.textColor = UIColor.white - pageView.titleLabel.layer.shadowOpacity = 0.6 - pageView.titleLabel.layer.shadowColor = UIColor.black.cgColor - pageView.titleLabel.layer.shadowOffset = CGSize(width: 0, height: 1) - pageView.titleLabel.layer.shouldRasterize = true - pageView.titleLabel.layer.rasterizationScale = UIScreen.main.scale - - if DeviceTarget.IS_IPHONE_4 { - pageView.titleLabel.font = UIFont.boldSystemFont(ofSize: 30) - pageView.descriptionLabel.font = UIFont.systemFont(ofSize: 15) - } - } - - public func onboardingView(_ onboardingView: OnboardingView, didSelectPage page: Int) { - print("Did select pge \(page)") - didShow?(page) - } - - public func onboardingView(_ onboardingView: OnboardingView, willSelectPage page: Int) { - print("Will select page \(page)") - willShow?(page) - } -} diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/DeviceTarget.swift b/Example/Athlee-Onboarding/OnboardingKit Swift3/DeviceTarget.swift deleted file mode 100644 index e60f713..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3/DeviceTarget.swift +++ /dev/null @@ -1,23 +0,0 @@ -// -// 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 -} diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Info.plist b/Example/Athlee-Onboarding/OnboardingKit Swift3/Info.plist deleted file mode 100644 index d052473..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3/Info.plist +++ /dev/null @@ -1,45 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/Main.storyboard b/Example/Athlee-Onboarding/OnboardingKit Swift3/Main.storyboard deleted file mode 100644 index 0c46abc..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3/Main.storyboard +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3/OnboardingViewController.swift b/Example/Athlee-Onboarding/OnboardingKit Swift3/OnboardingViewController.swift deleted file mode 100644 index 00bbd29..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3/OnboardingViewController.swift +++ /dev/null @@ -1,51 +0,0 @@ -// -// OnboardingViewController.swift -// Athlee-Onboarding -// -// Created by mac on 06/07/16. -// Copyright © 2016 Athlee. All rights reserved. -// - -import UIKit -//import OnboardingKit - -public final class OnboardingViewController: UIViewController { - - // MARK: Outlets - - @IBOutlet weak var onboardingView: OnboardingView! - @IBOutlet weak var nextButton: UIButton! - - // MARK: Properties - - private let model = DataModel() - - // MARK: Life cycle - - public override func viewDidLoad() { - super.viewDidLoad() - - nextButton.alpha = 0 - - onboardingView.dataSource = model - onboardingView.delegate = model - - model.didShow = { page in - if page == 4 { - UIView.animate(withDuration: 0.3) { - self.nextButton.alpha = 1 - } - } - } - - model.willShow = { page in - if page != 4 { - self.nextButton.alpha = 0 - } - } - } - - public override var preferredStatusBarStyle: UIStatusBarStyle { - return .lightContent - } -} diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3Tests/OnboardingKit_Swift3Tests.swift b/Example/Athlee-Onboarding/OnboardingKit Swift3Tests/OnboardingKit_Swift3Tests.swift deleted file mode 100644 index 3d86813..0000000 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3Tests/OnboardingKit_Swift3Tests.swift +++ /dev/null @@ -1,36 +0,0 @@ -// -// OnboardingKit_Swift3Tests.swift -// OnboardingKit Swift3Tests -// -// Created by mac on 18/09/16. -// Copyright © 2016 Athlee. All rights reserved. -// - -import XCTest -@testable import OnboardingKit_Swift3 - -class OnboardingKit_Swift3Tests: XCTestCase { - - override func setUp() { - super.setUp() - // Put setup code here. This method is called before the invocation of each test method in the class. - } - - override func tearDown() { - // Put teardown code here. This method is called after the invocation of each test method in the class. - super.tearDown() - } - - func testExample() { - // This is an example of a functional test case. - // Use XCTAssert and related functions to verify your tests produce the correct results. - } - - func testPerformanceExample() { - // This is an example of a performance test case. - self.measure { - // Put the code you want to measure the time of here. - } - } - -} diff --git a/OnBoardingKit.xcodeproj/project.pbxproj b/OnBoardingKit.xcodeproj/project.pbxproj new file mode 100644 index 0000000..8f3142f --- /dev/null +++ b/OnBoardingKit.xcodeproj/project.pbxproj @@ -0,0 +1,392 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 48; + objects = { + +/* Begin PBXBuildFile section */ + 8314933A1FA3DF6000F4B6A5 /* OnBoardingKit.h in Headers */ = {isa = PBXBuildFile; fileRef = 831493381FA3DF6000F4B6A5 /* OnBoardingKit.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 831493501FA3E07200F4B6A5 /* Anchor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 831493411FA3E07200F4B6A5 /* Anchor.swift */; }; + 831493511FA3E07200F4B6A5 /* CGRect.swift in Sources */ = {isa = PBXBuildFile; fileRef = 831493421FA3E07200F4B6A5 /* CGRect.swift */; }; + 831493521FA3E07200F4B6A5 /* CompletionObject.swift in Sources */ = {isa = PBXBuildFile; fileRef = 831493431FA3E07200F4B6A5 /* CompletionObject.swift */; }; + 831493531FA3E07200F4B6A5 /* OnboardingConfiguration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 831493441FA3E07200F4B6A5 /* OnboardingConfiguration.swift */; }; + 831493541FA3E07200F4B6A5 /* OnboardingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 831493451FA3E07200F4B6A5 /* OnboardingView.swift */; }; + 831493551FA3E07200F4B6A5 /* OnboardingViewDataSource.swift in Sources */ = {isa = PBXBuildFile; fileRef = 831493461FA3E07200F4B6A5 /* OnboardingViewDataSource.swift */; }; + 831493561FA3E07200F4B6A5 /* OnboardingViewDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 831493471FA3E07200F4B6A5 /* OnboardingViewDelegate.swift */; }; + 831493571FA3E07200F4B6A5 /* PageControlView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 831493481FA3E07200F4B6A5 /* PageControlView.swift */; }; + 831493581FA3E07200F4B6A5 /* PageItemView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 831493491FA3E07200F4B6A5 /* PageItemView.swift */; }; + 831493591FA3E07200F4B6A5 /* PageView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8314934A1FA3E07200F4B6A5 /* PageView.swift */; }; + 8314935A1FA3E07200F4B6A5 /* TZSpacerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8314934C1FA3E07200F4B6A5 /* TZSpacerView.swift */; }; + 8314935B1FA3E07200F4B6A5 /* TZStackView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8314934D1FA3E07200F4B6A5 /* TZStackView.swift */; }; + 8314935C1FA3E07200F4B6A5 /* TZStackViewAlignment.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8314934E1FA3E07200F4B6A5 /* TZStackViewAlignment.swift */; }; + 8314935D1FA3E07200F4B6A5 /* TZStackViewDistribution.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8314934F1FA3E07200F4B6A5 /* TZStackViewDistribution.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 831493351FA3DF6000F4B6A5 /* OnBoardingKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = OnBoardingKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 831493381FA3DF6000F4B6A5 /* OnBoardingKit.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = OnBoardingKit.h; sourceTree = ""; }; + 831493391FA3DF6000F4B6A5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 831493411FA3E07200F4B6A5 /* Anchor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Anchor.swift; sourceTree = ""; }; + 831493421FA3E07200F4B6A5 /* CGRect.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CGRect.swift; sourceTree = ""; }; + 831493431FA3E07200F4B6A5 /* CompletionObject.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CompletionObject.swift; sourceTree = ""; }; + 831493441FA3E07200F4B6A5 /* OnboardingConfiguration.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OnboardingConfiguration.swift; sourceTree = ""; }; + 831493451FA3E07200F4B6A5 /* OnboardingView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OnboardingView.swift; sourceTree = ""; }; + 831493461FA3E07200F4B6A5 /* OnboardingViewDataSource.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OnboardingViewDataSource.swift; sourceTree = ""; }; + 831493471FA3E07200F4B6A5 /* OnboardingViewDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OnboardingViewDelegate.swift; sourceTree = ""; }; + 831493481FA3E07200F4B6A5 /* PageControlView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PageControlView.swift; sourceTree = ""; }; + 831493491FA3E07200F4B6A5 /* PageItemView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PageItemView.swift; sourceTree = ""; }; + 8314934A1FA3E07200F4B6A5 /* PageView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PageView.swift; sourceTree = ""; }; + 8314934C1FA3E07200F4B6A5 /* TZSpacerView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TZSpacerView.swift; sourceTree = ""; }; + 8314934D1FA3E07200F4B6A5 /* TZStackView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TZStackView.swift; sourceTree = ""; }; + 8314934E1FA3E07200F4B6A5 /* TZStackViewAlignment.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TZStackViewAlignment.swift; sourceTree = ""; }; + 8314934F1FA3E07200F4B6A5 /* TZStackViewDistribution.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TZStackViewDistribution.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 831493311FA3DF6000F4B6A5 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 8314932B1FA3DF5F00F4B6A5 = { + isa = PBXGroup; + children = ( + 831493401FA3E07200F4B6A5 /* Source */, + 831493371FA3DF6000F4B6A5 /* OnBoardingKit */, + 831493361FA3DF6000F4B6A5 /* Products */, + ); + sourceTree = ""; + }; + 831493361FA3DF6000F4B6A5 /* Products */ = { + isa = PBXGroup; + children = ( + 831493351FA3DF6000F4B6A5 /* OnBoardingKit.framework */, + ); + name = Products; + sourceTree = ""; + }; + 831493371FA3DF6000F4B6A5 /* OnBoardingKit */ = { + isa = PBXGroup; + children = ( + 831493381FA3DF6000F4B6A5 /* OnBoardingKit.h */, + 831493391FA3DF6000F4B6A5 /* Info.plist */, + ); + path = OnBoardingKit; + sourceTree = ""; + }; + 831493401FA3E07200F4B6A5 /* Source */ = { + isa = PBXGroup; + children = ( + 831493411FA3E07200F4B6A5 /* Anchor.swift */, + 831493421FA3E07200F4B6A5 /* CGRect.swift */, + 831493431FA3E07200F4B6A5 /* CompletionObject.swift */, + 831493441FA3E07200F4B6A5 /* OnboardingConfiguration.swift */, + 831493451FA3E07200F4B6A5 /* OnboardingView.swift */, + 831493461FA3E07200F4B6A5 /* OnboardingViewDataSource.swift */, + 831493471FA3E07200F4B6A5 /* OnboardingViewDelegate.swift */, + 831493481FA3E07200F4B6A5 /* PageControlView.swift */, + 831493491FA3E07200F4B6A5 /* PageItemView.swift */, + 8314934A1FA3E07200F4B6A5 /* PageView.swift */, + 8314934B1FA3E07200F4B6A5 /* TZStackView */, + ); + name = Source; + path = OnBoardingKit/Source; + sourceTree = ""; + }; + 8314934B1FA3E07200F4B6A5 /* TZStackView */ = { + isa = PBXGroup; + children = ( + 8314934C1FA3E07200F4B6A5 /* TZSpacerView.swift */, + 8314934D1FA3E07200F4B6A5 /* TZStackView.swift */, + 8314934E1FA3E07200F4B6A5 /* TZStackViewAlignment.swift */, + 8314934F1FA3E07200F4B6A5 /* TZStackViewDistribution.swift */, + ); + path = TZStackView; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 831493321FA3DF6000F4B6A5 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 8314933A1FA3DF6000F4B6A5 /* OnBoardingKit.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 831493341FA3DF6000F4B6A5 /* OnBoardingKit */ = { + isa = PBXNativeTarget; + buildConfigurationList = 8314933D1FA3DF6000F4B6A5 /* Build configuration list for PBXNativeTarget "OnBoardingKit" */; + buildPhases = ( + 831493301FA3DF6000F4B6A5 /* Sources */, + 831493311FA3DF6000F4B6A5 /* Frameworks */, + 831493321FA3DF6000F4B6A5 /* Headers */, + 831493331FA3DF6000F4B6A5 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = OnBoardingKit; + productName = OnBoardingKit; + productReference = 831493351FA3DF6000F4B6A5 /* OnBoardingKit.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 8314932C1FA3DF5F00F4B6A5 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0900; + ORGANIZATIONNAME = Krakensoft; + TargetAttributes = { + 831493341FA3DF6000F4B6A5 = { + CreatedOnToolsVersion = 9.0.1; + ProvisioningStyle = Automatic; + }; + }; + }; + buildConfigurationList = 8314932F1FA3DF5F00F4B6A5 /* Build configuration list for PBXProject "OnBoardingKit" */; + compatibilityVersion = "Xcode 8.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 8314932B1FA3DF5F00F4B6A5; + productRefGroup = 831493361FA3DF6000F4B6A5 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 831493341FA3DF6000F4B6A5 /* OnBoardingKit */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 831493331FA3DF6000F4B6A5 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 831493301FA3DF6000F4B6A5 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 831493501FA3E07200F4B6A5 /* Anchor.swift in Sources */, + 831493581FA3E07200F4B6A5 /* PageItemView.swift in Sources */, + 831493571FA3E07200F4B6A5 /* PageControlView.swift in Sources */, + 8314935B1FA3E07200F4B6A5 /* TZStackView.swift in Sources */, + 831493511FA3E07200F4B6A5 /* CGRect.swift in Sources */, + 8314935D1FA3E07200F4B6A5 /* TZStackViewDistribution.swift in Sources */, + 8314935C1FA3E07200F4B6A5 /* TZStackViewAlignment.swift in Sources */, + 831493551FA3E07200F4B6A5 /* OnboardingViewDataSource.swift in Sources */, + 831493591FA3E07200F4B6A5 /* PageView.swift in Sources */, + 8314935A1FA3E07200F4B6A5 /* TZSpacerView.swift in Sources */, + 831493521FA3E07200F4B6A5 /* CompletionObject.swift in Sources */, + 831493541FA3E07200F4B6A5 /* OnboardingView.swift in Sources */, + 831493561FA3E07200F4B6A5 /* OnboardingViewDelegate.swift in Sources */, + 831493531FA3E07200F4B6A5 /* OnboardingConfiguration.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 8314933B1FA3DF6000F4B6A5 /* 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_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = 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_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; + CURRENT_PROJECT_VERSION = 1; + 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 = 11.0; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 4.0; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 8314933C1FA3DF6000F4B6A5 /* 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_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = 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_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; + CURRENT_PROJECT_VERSION = 1; + 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 = 11.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_VERSION = 4.0; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 8314933E1FA3DF6000F4B6A5 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = OnBoardingKit/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = net.krakensoft.OnBoardingKit; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 8314933F1FA3DF6000F4B6A5 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = OnBoardingKit/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = net.krakensoft.OnBoardingKit; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 8314932F1FA3DF5F00F4B6A5 /* Build configuration list for PBXProject "OnBoardingKit" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 8314933B1FA3DF6000F4B6A5 /* Debug */, + 8314933C1FA3DF6000F4B6A5 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 8314933D1FA3DF6000F4B6A5 /* Build configuration list for PBXNativeTarget "OnBoardingKit" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 8314933E1FA3DF6000F4B6A5 /* Debug */, + 8314933F1FA3DF6000F4B6A5 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 8314932C1FA3DF5F00F4B6A5 /* Project object */; +} diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/OnBoardingKit.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 66% rename from Example/Athlee-Onboarding/OnboardingKit Swift3.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to OnBoardingKit.xcodeproj/project.xcworkspace/contents.xcworkspacedata index 952778e..f82acc3 100644 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ b/OnBoardingKit.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -2,6 +2,6 @@ + location = "self:OnBoardingKit.xcodeproj"> diff --git a/OnBoardingKit.xcodeproj/xcshareddata/xcschemes/OnBoardingKit.xcscheme b/OnBoardingKit.xcodeproj/xcshareddata/xcschemes/OnBoardingKit.xcscheme new file mode 100644 index 0000000..874aedc --- /dev/null +++ b/OnBoardingKit.xcodeproj/xcshareddata/xcschemes/OnBoardingKit.xcscheme @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/Athlee-Onboarding/.DS_Store b/OnBoardingKit/.DS_Store similarity index 91% rename from Example/Athlee-Onboarding/.DS_Store rename to OnBoardingKit/.DS_Store index 4256ff8..9f1bd44 100644 Binary files a/Example/Athlee-Onboarding/.DS_Store and b/OnBoardingKit/.DS_Store differ diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3Tests/Info.plist b/OnBoardingKit/Info.plist similarity index 79% rename from Example/Athlee-Onboarding/OnboardingKit Swift3Tests/Info.plist rename to OnBoardingKit/Info.plist index 6c6c23c..1007fd9 100644 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3Tests/Info.plist +++ b/OnBoardingKit/Info.plist @@ -3,7 +3,7 @@ CFBundleDevelopmentRegion - en + $(DEVELOPMENT_LANGUAGE) CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier @@ -13,10 +13,12 @@ CFBundleName $(PRODUCT_NAME) CFBundlePackageType - BNDL + FMWK CFBundleShortVersionString 1.0 CFBundleVersion - 1 + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + diff --git a/OnBoardingKit/OnBoardingKit.h b/OnBoardingKit/OnBoardingKit.h new file mode 100644 index 0000000..bbcf164 --- /dev/null +++ b/OnBoardingKit/OnBoardingKit.h @@ -0,0 +1,19 @@ +// +// OnBoardingKit.h +// OnBoardingKit +// +// Created by administrador on 27/10/17. +// Copyright © 2017 Krakensoft. All rights reserved. +// + +#import + +//! Project version number for OnBoardingKit. +FOUNDATION_EXPORT double OnBoardingKitVersionNumber; + +//! Project version string for OnBoardingKit. +FOUNDATION_EXPORT const unsigned char OnBoardingKitVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/Source/.DS_Store b/OnBoardingKit/Source/.DS_Store similarity index 100% rename from Source/.DS_Store rename to OnBoardingKit/Source/.DS_Store diff --git a/Source/Anchor.swift b/OnBoardingKit/Source/Anchor.swift similarity index 100% rename from Source/Anchor.swift rename to OnBoardingKit/Source/Anchor.swift diff --git a/Source/CGRect.swift b/OnBoardingKit/Source/CGRect.swift similarity index 100% rename from Source/CGRect.swift rename to OnBoardingKit/Source/CGRect.swift diff --git a/Source/CompletionObject.swift b/OnBoardingKit/Source/CompletionObject.swift similarity index 90% rename from Source/CompletionObject.swift rename to OnBoardingKit/Source/CompletionObject.swift index f45fd96..53fd496 100644 --- a/Source/CompletionObject.swift +++ b/OnBoardingKit/Source/CompletionObject.swift @@ -13,7 +13,7 @@ internal protocol Completion { } internal final class CompletionObject: Completion { - internal var completion: ((Void) -> Void)? + internal var completion: (() -> Void)? internal static let sharedInstance = CompletionObject() diff --git a/Source/OnboardingConfiguration.swift b/OnBoardingKit/Source/OnboardingConfiguration.swift similarity index 100% rename from Source/OnboardingConfiguration.swift rename to OnBoardingKit/Source/OnboardingConfiguration.swift diff --git a/Source/OnboardingView.swift b/OnBoardingKit/Source/OnboardingView.swift similarity index 97% rename from Source/OnboardingView.swift rename to OnBoardingKit/Source/OnboardingView.swift index b9bfc76..ae0a0bb 100644 --- a/Source/OnboardingView.swift +++ b/OnBoardingKit/Source/OnboardingView.swift @@ -166,7 +166,7 @@ public final class OnboardingView: UIView, CAAnimationDelegate { addGestureRecognizer(rightSwipeRecognizer) } - internal func didRecognizeSwipe(_ recognizer: UISwipeGestureRecognizer) { + @objc internal func didRecognizeSwipe(_ recognizer: UISwipeGestureRecognizer) { switch recognizer.direction { case UISwipeGestureRecognizerDirection.left: guard pageControlView.currentPage + 1 < pageControlView.pages else { @@ -279,7 +279,7 @@ public final class OnboardingView: UIView, CAAnimationDelegate { arcCenter: center, radius: state == .expanded ? frame.height * 2 : 0.1, startAngle: 0, - endAngle: CGFloat(M_PI) * 2, + endAngle: CGFloat(Double.pi * 2), clockwise: false ) } @@ -290,7 +290,7 @@ public final class OnboardingView: UIView, CAAnimationDelegate { pageView.layer.mask = shape } - func animatePageView(_ pageView: PageView, forState state: State, completion: ((Void) -> Void)? = nil) { + func animatePageView(_ pageView: PageView, forState state: State, completion: (() -> Void)? = nil) { if state == .expanded || state == .folded { if let shapeLayer = pageView.layer.mask as? CAShapeLayer { let animation = CABasicAnimation(keyPath: "path") diff --git a/Source/OnboardingViewDataSource.swift b/OnBoardingKit/Source/OnboardingViewDataSource.swift similarity index 100% rename from Source/OnboardingViewDataSource.swift rename to OnBoardingKit/Source/OnboardingViewDataSource.swift diff --git a/Source/OnboardingViewDelegate.swift b/OnBoardingKit/Source/OnboardingViewDelegate.swift similarity index 100% rename from Source/OnboardingViewDelegate.swift rename to OnBoardingKit/Source/OnboardingViewDelegate.swift diff --git a/Source/PageControlView.swift b/OnBoardingKit/Source/PageControlView.swift similarity index 100% rename from Source/PageControlView.swift rename to OnBoardingKit/Source/PageControlView.swift diff --git a/Source/PageItemView.swift b/OnBoardingKit/Source/PageItemView.swift similarity index 98% rename from Source/PageItemView.swift rename to OnBoardingKit/Source/PageItemView.swift index 2a7e6e1..ea16861 100644 --- a/Source/PageItemView.swift +++ b/OnBoardingKit/Source/PageItemView.swift @@ -176,7 +176,7 @@ public final class PageItemView: UIView { arcCenter: bounds.midPoint, radius: PageControlView.radius, startAngle: 0, - endAngle: CGFloat(M_PI) * 2, + endAngle: CGFloat(Double.pi * 2), clockwise: false ) @@ -194,7 +194,7 @@ public final class PageItemView: UIView { arcCenter: bounds.midPoint, radius: PageControlView.radiusExpanded, startAngle: 0, - endAngle: CGFloat(M_PI) * 2, + endAngle: CGFloat(Double.pi * 2), clockwise: false ) diff --git a/Source/PageView.swift b/OnBoardingKit/Source/PageView.swift similarity index 98% rename from Source/PageView.swift rename to OnBoardingKit/Source/PageView.swift index a5b7430..7b65667 100644 --- a/Source/PageView.swift +++ b/OnBoardingKit/Source/PageView.swift @@ -218,8 +218,8 @@ public final class PageView: UIView { //titleLabel.backgroundColor = .redColor() // This way the StackView knows how to size & align subviews. - imageView.setContentHuggingPriority(250, for: .vertical) - titleLabel.setContentHuggingPriority(252, for: .vertical) + imageView.setContentHuggingPriority(UILayoutPriority(rawValue: 250), for: .vertical) + titleLabel.setContentHuggingPriority(UILayoutPriority(rawValue: 252), for: .vertical) } fileprivate func setupBottomStackView() { diff --git a/Source/TZStackView/.DS_Store b/OnBoardingKit/Source/TZStackView/.DS_Store similarity index 100% rename from Source/TZStackView/.DS_Store rename to OnBoardingKit/Source/TZStackView/.DS_Store diff --git a/Source/TZStackView/TZSpacerView.swift b/OnBoardingKit/Source/TZStackView/TZSpacerView.swift similarity index 100% rename from Source/TZStackView/TZSpacerView.swift rename to OnBoardingKit/Source/TZStackView/TZSpacerView.swift diff --git a/Source/TZStackView/TZStackView.swift b/OnBoardingKit/Source/TZStackView/TZStackView.swift similarity index 99% rename from Source/TZStackView/TZStackView.swift rename to OnBoardingKit/Source/TZStackView/TZStackView.swift index cca567c..834404a 100755 --- a/Source/TZStackView/TZStackView.swift +++ b/OnBoardingKit/Source/TZStackView/TZStackView.swift @@ -131,7 +131,7 @@ open class TZStackView: UIView { addHiddenListener(arrangedSubview) } - func hiddenAnimationStopped() { + @objc func hiddenAnimationStopped() { var queueEntriesToRemove = [TZAnimationDidStopQueueEntry]() for entry in animationDidStopQueueEntries { let view = entry.view @@ -595,7 +595,7 @@ open class TZStackView: UIView { let attribute2 = attr2 != nil ? attr2! : attr1 let constraint = NSLayoutConstraint(item: view1, attribute: attr1, relatedBy: relation, toItem: view2, attribute: attribute2, multiplier: multiplier, constant: c) - constraint.priority = priority + constraint.priority = UILayoutPriority(rawValue: priority) return constraint } diff --git a/Source/TZStackView/TZStackViewAlignment.swift b/OnBoardingKit/Source/TZStackView/TZStackViewAlignment.swift similarity index 100% rename from Source/TZStackView/TZStackViewAlignment.swift rename to OnBoardingKit/Source/TZStackView/TZStackViewAlignment.swift diff --git a/Source/TZStackView/TZStackViewDistribution.swift b/OnBoardingKit/Source/TZStackView/TZStackViewDistribution.swift similarity index 100% rename from Source/TZStackView/TZStackViewDistribution.swift rename to OnBoardingKit/Source/TZStackView/TZStackViewDistribution.swift diff --git a/OnboardingKit.podspec b/OnboardingKit.podspec deleted file mode 100644 index 929a7ca..0000000 --- a/OnboardingKit.podspec +++ /dev/null @@ -1,27 +0,0 @@ -# -# Be sure to run `pod spec lint OnboardingKit.podspec' to ensure this is a -# valid spec and to remove all comments including this before submitting the spec. -# -# To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html -# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/ -# - -Pod::Spec.new do |s| - - s.name = "OnboardingKit" - s.version = "0.0.5" - s.summary = "A simple and interactive framework for making iOS onboarding experience easy and fun!" - s.homepage = "https://github.com/Athlee/OnboardingKit" - s.license = { :type => "MIT", :file => "LICENSE" } - s.author = { "Eugene Mozharovsky" => "mozharovsky@live.com" } - s.social_media_url = "http://twitter.com/dottieyottie" - s.platform = :ios, "10.0" - s.ios.deployment_target = "8.0" - s.source = { :git => "https://github.com/Athlee/OnboardingKit.git", :tag => s.version } - s.source_files = "Source/**/*.swift" - s.requires_arc = true - - # Waiting for Swift 3 support - # s.dependency 'TZStackView' - -end diff --git a/README.md b/README.md index 2fe273f..273a2b5 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,9 @@ Add the following code to your `Podfile`: pod 'OnboardingKit' ``` +### Carthage +github "https://github.com/ingscjoshua/OnboardingKit" + # Usage Import the module.