diff --git a/.gitignore b/.gitignore index d61ee58..bfcbc33 100644 --- a/.gitignore +++ b/.gitignore @@ -25,11 +25,4 @@ xcuserdata profile *.moved-aside DerivedData - -#cocoapods -depositphotos/Podfile.lock -depositphotos/Pods/* - -#bash -0 -depositphotos/depositphotos/.DS_Store +Carthage/ diff --git a/StepSlider.xcodeproj/project.pbxproj b/StepSlider.xcodeproj/project.pbxproj index 1f19e58..a55fd46 100644 --- a/StepSlider.xcodeproj/project.pbxproj +++ b/StepSlider.xcodeproj/project.pbxproj @@ -7,20 +7,46 @@ objects = { /* Begin PBXBuildFile section */ - 015F09E91BCFA11F00CA9E3D /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 015F09E81BCFA11F00CA9E3D /* QuartzCore.framework */; }; 015F09F41BCFE4E000CA9E3D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 015F09F31BCFE4E000CA9E3D /* Assets.xcassets */; }; 01C6885D1BCF98C400DB7828 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 01C6885C1BCF98C400DB7828 /* main.m */; }; 01C688601BCF98C400DB7828 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 01C6885F1BCF98C400DB7828 /* AppDelegate.m */; }; 01C688631BCF98C400DB7828 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 01C688621BCF98C400DB7828 /* ViewController.m */; }; 01C688661BCF98C400DB7828 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 01C688641BCF98C400DB7828 /* Main.storyboard */; }; 01C6886B1BCF98C400DB7828 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 01C688691BCF98C400DB7828 /* LaunchScreen.storyboard */; }; - 01C688751BCF995F00DB7828 /* StepSlider.m in Sources */ = {isa = PBXBuildFile; fileRef = 01C688741BCF995F00DB7828 /* StepSlider.m */; }; + 42F0F56E20DD111B0046AF6D /* StepSlider.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 42F0F56720DD111B0046AF6D /* StepSlider.framework */; }; + 42F0F56F20DD111C0046AF6D /* StepSlider.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 42F0F56720DD111B0046AF6D /* StepSlider.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 42F0F57620DD11270046AF6D /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 42F0F57520DD11270046AF6D /* UIKit.framework */; }; + 42F0F57920DD116A0046AF6D /* StepSlider.m in Sources */ = {isa = PBXBuildFile; fileRef = 01C688741BCF995F00DB7828 /* StepSlider.m */; }; + 42F0F57C20DD16460046AF6D /* StepSlider.h in Headers */ = {isa = PBXBuildFile; fileRef = 01C688731BCF995F00DB7828 /* StepSlider.h */; settings = {ATTRIBUTES = (Public, ); }; }; /* End PBXBuildFile section */ +/* Begin PBXContainerItemProxy section */ + 42F0F56C20DD111B0046AF6D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 01C688501BCF98C300DB7828 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 42F0F56620DD111B0046AF6D; + remoteInfo = StepSlider; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 42F0F57320DD111C0046AF6D /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 42F0F56F20DD111C0046AF6D /* StepSlider.framework in Embed Frameworks */, + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + /* Begin PBXFileReference section */ - 015F09E81BCFA11F00CA9E3D /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; }; 015F09F31BCFE4E000CA9E3D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 01C688581BCF98C300DB7828 /* StepSlider.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = StepSlider.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 01C688581BCF98C300DB7828 /* StepSlider-Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "StepSlider-Example.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 01C6885C1BCF98C400DB7828 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 01C6885E1BCF98C400DB7828 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 01C6885F1BCF98C400DB7828 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; @@ -31,6 +57,10 @@ 01C6886C1BCF98C400DB7828 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = ../Info.plist; sourceTree = ""; }; 01C688731BCF995F00DB7828 /* StepSlider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StepSlider.h; sourceTree = ""; }; 01C688741BCF995F00DB7828 /* StepSlider.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = StepSlider.m; sourceTree = ""; }; + 42F0F56720DD111B0046AF6D /* StepSlider.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = StepSlider.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 42F0F56A20DD111B0046AF6D /* StepSlider-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "StepSlider-Info.plist"; path = "StepSlider/StepSlider-Info.plist"; sourceTree = ""; }; + 42F0F57520DD11270046AF6D /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + 42F0F57A20DD11DD0046AF6D /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -38,26 +68,27 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 015F09E91BCFA11F00CA9E3D /* QuartzCore.framework in Frameworks */, + 42F0F56E20DD111B0046AF6D /* StepSlider.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 42F0F56320DD111B0046AF6D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 42F0F57620DD11270046AF6D /* UIKit.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 015F09EA1BCFA14C00CA9E3D /* Frameworks */ = { - isa = PBXGroup; - children = ( - 015F09E81BCFA11F00CA9E3D /* QuartzCore.framework */, - ); - path = Frameworks; - sourceTree = ""; - }; 01C6884F1BCF98C300DB7828 = { isa = PBXGroup; children = ( 01C6885A1BCF98C300DB7828 /* StepSlider */, 01C6885B1BCF98C300DB7828 /* Supporting Files */, + 42F0F56820DD111B0046AF6D /* StepSliderFramework */, 01C688591BCF98C300DB7828 /* Products */, ); sourceTree = ""; @@ -65,7 +96,8 @@ 01C688591BCF98C300DB7828 /* Products */ = { isa = PBXGroup; children = ( - 01C688581BCF98C300DB7828 /* StepSlider.app */, + 01C688581BCF98C300DB7828 /* StepSlider-Example.app */, + 42F0F56720DD111B0046AF6D /* StepSlider.framework */, ); name = Products; sourceTree = ""; @@ -82,7 +114,6 @@ 01C6885B1BCF98C300DB7828 /* Supporting Files */ = { isa = PBXGroup; children = ( - 015F09EA1BCFA14C00CA9E3D /* Frameworks */, 01C6886C1BCF98C400DB7828 /* Info.plist */, 01C6885C1BCF98C400DB7828 /* main.m */, ); @@ -90,19 +121,10 @@ path = "StepSlider/Supporting Files"; sourceTree = ""; }; - 01C688721BCF98FA00DB7828 /* StepSlider */ = { - isa = PBXGroup; - children = ( - 01C688731BCF995F00DB7828 /* StepSlider.h */, - 01C688741BCF995F00DB7828 /* StepSlider.m */, - ); - path = StepSlider; - sourceTree = ""; - }; 01C688761BCF9CA900DB7828 /* source */ = { isa = PBXGroup; children = ( - 01C688721BCF98FA00DB7828 /* StepSlider */, + 42F0F57E20DD1F860046AF6D /* StepSlider */, 01C688791BCF9CF300DB7828 /* ViewController */, 01C6885E1BCF98C400DB7828 /* AppDelegate.h */, 01C6885F1BCF98C400DB7828 /* AppDelegate.m */, @@ -137,26 +159,85 @@ path = ViewController; sourceTree = ""; }; + 42F0F56820DD111B0046AF6D /* StepSliderFramework */ = { + isa = PBXGroup; + children = ( + 42F0F57420DD11270046AF6D /* Frameworks */, + 42F0F56A20DD111B0046AF6D /* StepSlider-Info.plist */, + ); + name = StepSliderFramework; + sourceTree = ""; + }; + 42F0F57420DD11270046AF6D /* Frameworks */ = { + isa = PBXGroup; + children = ( + 42F0F57A20DD11DD0046AF6D /* QuartzCore.framework */, + 42F0F57520DD11270046AF6D /* UIKit.framework */, + ); + name = Frameworks; + path = ..; + sourceTree = ""; + }; + 42F0F57E20DD1F860046AF6D /* StepSlider */ = { + isa = PBXGroup; + children = ( + 01C688731BCF995F00DB7828 /* StepSlider.h */, + 01C688741BCF995F00DB7828 /* StepSlider.m */, + ); + path = StepSlider; + sourceTree = ""; + }; /* End PBXGroup section */ +/* Begin PBXHeadersBuildPhase section */ + 42F0F56420DD111B0046AF6D /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 42F0F57C20DD16460046AF6D /* StepSlider.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + /* Begin PBXNativeTarget section */ - 01C688571BCF98C300DB7828 /* StepSlider */ = { + 01C688571BCF98C300DB7828 /* StepSlider-Example */ = { isa = PBXNativeTarget; - buildConfigurationList = 01C6886F1BCF98C400DB7828 /* Build configuration list for PBXNativeTarget "StepSlider" */; + buildConfigurationList = 01C6886F1BCF98C400DB7828 /* Build configuration list for PBXNativeTarget "StepSlider-Example" */; buildPhases = ( 01C688541BCF98C300DB7828 /* Sources */, 01C688551BCF98C300DB7828 /* Frameworks */, 01C688561BCF98C300DB7828 /* Resources */, + 42F0F57320DD111C0046AF6D /* Embed Frameworks */, ); buildRules = ( ); dependencies = ( + 42F0F56D20DD111B0046AF6D /* PBXTargetDependency */, ); - name = StepSlider; + name = "StepSlider-Example"; productName = StepSlider; - productReference = 01C688581BCF98C300DB7828 /* StepSlider.app */; + productReference = 01C688581BCF98C300DB7828 /* StepSlider-Example.app */; productType = "com.apple.product-type.application"; }; + 42F0F56620DD111B0046AF6D /* StepSlider */ = { + isa = PBXNativeTarget; + buildConfigurationList = 42F0F57020DD111C0046AF6D /* Build configuration list for PBXNativeTarget "StepSlider" */; + buildPhases = ( + 42F0F56220DD111B0046AF6D /* Sources */, + 42F0F56320DD111B0046AF6D /* Frameworks */, + 42F0F56420DD111B0046AF6D /* Headers */, + 42F0F56520DD111B0046AF6D /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = StepSlider; + productName = StepSlider; + productReference = 42F0F56720DD111B0046AF6D /* StepSlider.framework */; + productType = "com.apple.product-type.framework"; + }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ @@ -170,6 +251,10 @@ CreatedOnToolsVersion = 7.0.1; DevelopmentTeam = P5HBVTG9QK; }; + 42F0F56620DD111B0046AF6D = { + CreatedOnToolsVersion = 9.4.1; + ProvisioningStyle = Automatic; + }; }; }; buildConfigurationList = 01C688531BCF98C300DB7828 /* Build configuration list for PBXProject "StepSlider" */; @@ -185,7 +270,8 @@ projectDirPath = ""; projectRoot = ""; targets = ( - 01C688571BCF98C300DB7828 /* StepSlider */, + 01C688571BCF98C300DB7828 /* StepSlider-Example */, + 42F0F56620DD111B0046AF6D /* StepSlider */, ); }; /* End PBXProject section */ @@ -201,6 +287,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 42F0F56520DD111B0046AF6D /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -210,13 +303,28 @@ files = ( 01C688631BCF98C400DB7828 /* ViewController.m in Sources */, 01C688601BCF98C400DB7828 /* AppDelegate.m in Sources */, - 01C688751BCF995F00DB7828 /* StepSlider.m in Sources */, 01C6885D1BCF98C400DB7828 /* main.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; + 42F0F56220DD111B0046AF6D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 42F0F57920DD116A0046AF6D /* StepSlider.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXSourcesBuildPhase section */ +/* Begin PBXTargetDependency section */ + 42F0F56D20DD111B0046AF6D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 42F0F56620DD111B0046AF6D /* StepSlider */; + targetProxy = 42F0F56C20DD111B0046AF6D /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + /* Begin PBXVariantGroup section */ 01C688641BCF98C400DB7828 /* Main.storyboard */ = { isa = PBXVariantGroup; @@ -367,6 +475,70 @@ }; name = Release; }; + 42F0F57120DD111C0046AF6D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_IDENTITY = "iPhone Developer"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = ""; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_C_LANGUAGE_STANDARD = gnu11; + INFOPLIST_FILE = "StepSlider/StepSlider-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.spromicky.StepSlider; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 42F0F57220DD111C0046AF6D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_IDENTITY = "iPhone Developer"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = ""; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_C_LANGUAGE_STANDARD = gnu11; + INFOPLIST_FILE = "StepSlider/StepSlider-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.spromicky.StepSlider; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -379,7 +551,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 01C6886F1BCF98C400DB7828 /* Build configuration list for PBXNativeTarget "StepSlider" */ = { + 01C6886F1BCF98C400DB7828 /* Build configuration list for PBXNativeTarget "StepSlider-Example" */ = { isa = XCConfigurationList; buildConfigurations = ( 01C688701BCF98C400DB7828 /* Debug */, @@ -388,6 +560,15 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + 42F0F57020DD111C0046AF6D /* Build configuration list for PBXNativeTarget "StepSlider" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 42F0F57120DD111C0046AF6D /* Debug */, + 42F0F57220DD111C0046AF6D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; /* End XCConfigurationList section */ }; rootObject = 01C688501BCF98C300DB7828 /* Project object */; diff --git a/StepSlider.xcodeproj/xcshareddata/xcschemes/StepSlider.xcscheme b/StepSlider.xcodeproj/xcshareddata/xcschemes/StepSlider.xcscheme new file mode 100644 index 0000000..55586c0 --- /dev/null +++ b/StepSlider.xcodeproj/xcshareddata/xcschemes/StepSlider.xcscheme @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/StepSlider/Info.plist b/StepSlider/Info.plist index 4a33220..0806eed 100644 --- a/StepSlider/Info.plist +++ b/StepSlider/Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.1.2 + 1.0 CFBundleSignature ???? CFBundleVersion - 0.1.2 + 1.0 LSRequiresIPhoneOS UILaunchStoryboardName diff --git a/StepSlider/StepSlider-Info.plist b/StepSlider/StepSlider-Info.plist new file mode 100644 index 0000000..db4caab --- /dev/null +++ b/StepSlider/StepSlider-Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.2.0 + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + + + diff --git a/StepSlider/source/StepSlider/StepSlider.h b/StepSlider/source/StepSlider/StepSlider.h index 2ad780b..2962d42 100644 --- a/StepSlider/source/StepSlider/StepSlider.h +++ b/StepSlider/source/StepSlider/StepSlider.h @@ -8,6 +8,12 @@ #import +//! Project version number for StepSlider. +FOUNDATION_EXPORT double StepSliderVersionNumber; + +//! Project version string for StepSlider. +FOUNDATION_EXPORT const unsigned char StepSliderVersionString[]; + /** * Vertical orientatons of dot labels. */ diff --git a/StepSlider/source/ViewController/ViewController.h b/StepSlider/source/ViewController/ViewController.h index 04974e6..0dfbf43 100644 --- a/StepSlider/source/ViewController/ViewController.h +++ b/StepSlider/source/ViewController/ViewController.h @@ -7,7 +7,7 @@ // #import -#import "StepSlider.h" +#import @interface ViewController : UIViewController