diff --git a/Documentation/docsets/VSAlert.tgz b/Documentation/docsets/VSAlert.tgz index 73469f8..1fd20b3 100644 Binary files a/Documentation/docsets/VSAlert.tgz and b/Documentation/docsets/VSAlert.tgz differ diff --git a/Release/VSAlert.framework/Versions/A/VSAlert b/Release/VSAlert.framework/Versions/A/VSAlert index faa0f3f..eb6a703 100644 Binary files a/Release/VSAlert.framework/Versions/A/VSAlert and b/Release/VSAlert.framework/Versions/A/VSAlert differ diff --git a/VSAlert.podspec b/VSAlert.podspec index 80d6a1a..9b9816a 100644 --- a/VSAlert.podspec +++ b/VSAlert.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'VSAlert' - s.version = '1.3.1' + s.version = '1.3.2' s.summary = "An drop-in replacement for UIAlertController with more power and better looks." s.description = "An drop-in replacement for UIAlertController that looks a hell of a lot better, built in Objective-C. Based on Codedio's aweomse Swift library, PMAlertController." s.homepage = 'https://github.com/vsanthanam/VSAlert' @@ -16,7 +16,7 @@ Pod::Spec.new do |s| s.author = { 'Varun Santhanam' => 'talkto@vsanthanam.com' } s.source = { :git => 'https://github.com/vsanthanam/VSAlert.git', :tag => s.version.to_s } s.ios.deployment_target = '9.0' - s.source_files = 'VSAlert/Src/*.{h,m}' - s.public_header_files = 'VSAlert/Src/*.h' + s.source_files = 'VSAlert/*.{h,m}' + s.public_header_files = 'VSAlert/*.h' s.module_map = 'VSAlert/Supporting/module.modulemap' end diff --git a/VSAlert.xcodeproj/project.pbxproj b/VSAlert.xcodeproj/project.pbxproj index b01b441..47d2a39 100755 --- a/VSAlert.xcodeproj/project.pbxproj +++ b/VSAlert.xcodeproj/project.pbxproj @@ -19,6 +19,17 @@ name = Framework; productName = Framework; }; + 07FBE3F220D31BD500BE857B /* Documentation */ = { + isa = PBXAggregateTarget; + buildConfigurationList = 07FBE3F320D31BD500BE857B /* Build configuration list for PBXAggregateTarget "Documentation" */; + buildPhases = ( + 07FBE3F620D31BD900BE857B /* Build Documentation w/ Jazzy */, + ); + dependencies = ( + ); + name = Documentation; + productName = Documentation; + }; /* End PBXAggregateTarget section */ /* Begin PBXBuildFile section */ @@ -141,18 +152,6 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 0710F9C01F8B1DF800C6D084 /* Src */ = { - isa = PBXGroup; - children = ( - 0710F9C11F8B1E0F00C6D084 /* VSAlert.h */, - 0710F9C41F8B1E1000C6D084 /* VSAlertAction.h */, - 0710F9C21F8B1E1000C6D084 /* VSAlertAction.m */, - 0710F9C31F8B1E1000C6D084 /* VSAlertController.h */, - 0710F9C51F8B1E1000C6D084 /* VSAlertController.m */, - ); - path = Src; - sourceTree = ""; - }; 0710F9CC1F8B1E5B00C6D084 /* Supporting */ = { isa = PBXGroup; children = ( @@ -208,8 +207,12 @@ 07F00EFA1F8A96FB006FAC96 /* VSAlert */ = { isa = PBXGroup; children = ( + 0710F9C11F8B1E0F00C6D084 /* VSAlert.h */, + 0710F9C41F8B1E1000C6D084 /* VSAlertAction.h */, + 0710F9C21F8B1E1000C6D084 /* VSAlertAction.m */, + 0710F9C31F8B1E1000C6D084 /* VSAlertController.h */, + 0710F9C51F8B1E1000C6D084 /* VSAlertController.m */, 0710F9CC1F8B1E5B00C6D084 /* Supporting */, - 0710F9C01F8B1DF800C6D084 /* Src */, ); path = VSAlert; sourceTree = ""; @@ -372,6 +375,10 @@ CreatedOnToolsVersion = 9.0; ProvisioningStyle = Automatic; }; + 07FBE3F220D31BD500BE857B = { + CreatedOnToolsVersion = 9.4.1; + ProvisioningStyle = Automatic; + }; 07FF9DEF1F8FEE85002966A3 = { CreatedOnToolsVersion = 9.0; ProvisioningStyle = Automatic; @@ -392,9 +399,10 @@ projectRoot = ""; targets = ( 07F00EFE1F8A972D006FAC96 /* VSAlert */, - 0710F9B61F8B1CB800C6D084 /* Framework */, - 07FF9DEF1F8FEE85002966A3 /* VSAlert-Example */, 078C2778207D246800DF9D0C /* VSAlertTests */, + 07FF9DEF1F8FEE85002966A3 /* VSAlert-Example */, + 0710F9B61F8B1CB800C6D084 /* Framework */, + 07FBE3F220D31BD500BE857B /* Documentation */, ); }; /* End PBXProject section */ @@ -449,6 +457,20 @@ shellPath = /bin/sh; shellScript = "set -e\n# If we're already inside this script then die\nif [ -n \"$MULTIPLATFORM_BUILD_IN_PROGRESS\" ]; then\nexit 0\nfi\nexport MULTIPLATFORM_BUILD_IN_PROGRESS=1\nFRAMEWORK_NAME=\"VSAlert\"\nINPUT_STATIC_LIB=\"lib${FRAMEWORK_NAME}.a\"\nFRAMEWORK_LOCATION=\"${BUILT_PRODUCTS_DIR}/${FRAMEWORK_NAME}.framework\"\nfunction build_static_library {\n # Will rebuild the static library as specified\n # build_static_library sdk\n xcrun xcodebuild -project \"${PROJECT_FILE_PATH}\" \\\n -target \"${TARGET_NAME}\" \\\n -configuration \"${CONFIGURATION}\" \\\n -sdk \"${1}\" \\\n ONLY_ACTIVE_ARCH=NO \\\n BUILD_DIR=\"${BUILD_DIR}\" \\\n OBJROOT=\"${OBJROOT}\" \\\n BUILD_ROOT=\"${BUILD_ROOT}\" \\\n SYMROOT=\"${SYMROOT}\" $ACTION\n}\nfunction make_fat_library {\n # Will smash 2 static libs together\n # make_fat_library in1 in2 out\n xcrun lipo -create \"${1}\" \"${2}\" -output \"${3}\"\n}\n# 1 - Extract the platform (iphoneos/iphonesimulator) from the SDK name\nif [[ \"$SDK_NAME\" =~ ([A-Za-z]+) ]]; then\nSDK_PLATFORM=${BASH_REMATCH[1]}\nelse\necho \"Could not find platform name from SDK_NAME: $SDK_NAME\"\nexit 1\nfi\n# 2 - Extract the version from the SDK\nif [[ \"$SDK_NAME\" =~ ([0-9]+.*$) ]]; then\nSDK_VERSION=${BASH_REMATCH[1]}\nelse\necho \"Could not find sdk version from SDK_NAME: $SDK_NAME\"\nexit 1\nfi\n# 3 - Determine the other platform\nif [ \"$SDK_PLATFORM\" == \"iphoneos\" ]; then\nOTHER_PLATFORM=iphonesimulator\nelse\nOTHER_PLATFORM=iphoneos\nfi\n# 4 - Find the build directory\nif [[ \"$BUILT_PRODUCTS_DIR\" =~ (.*)$SDK_PLATFORM$ ]]; then\nOTHER_BUILT_PRODUCTS_DIR=\"${BASH_REMATCH[1]}${OTHER_PLATFORM}\"\nelse\necho \"Could not find other platform build directory.\"\nexit 1\nfi\n# Build the other platform.\nbuild_static_library \"${OTHER_PLATFORM}${SDK_VERSION}\"\n# If we're currently building for iphonesimulator, then need to rebuild\n# to ensure that we get both i386 and x86_64\nif [ \"$SDK_PLATFORM\" == \"iphonesimulator\" ]; then\nbuild_static_library \"${SDK_NAME}\"\nfi\n# Join the 2 static libs into 1 and push into the .framework\nmake_fat_library \"${BUILT_PRODUCTS_DIR}/${INPUT_STATIC_LIB}\" \\\n\"${OTHER_BUILT_PRODUCTS_DIR}/${INPUT_STATIC_LIB}\" \\\n\"${FRAMEWORK_LOCATION}/Versions/A/${FRAMEWORK_NAME}\"\n# Ensure that the framework is present in both platform's build directories\ncp -a \"${FRAMEWORK_LOCATION}/Versions/A/${FRAMEWORK_NAME}\" \\\n\"${OTHER_BUILT_PRODUCTS_DIR}/${FRAMEWORK_NAME}.framework/Versions/A/${FRAMEWORK_NAME}\"\n# Copy the framework to the user's desktop\nditto \"${FRAMEWORK_LOCATION}\" \"${PROJECT_DIR}/Release/${FRAMEWORK_NAME}.framework\"\nditto \"${PROJECT_DIR}/${FRAMEWORK_NAME}/Supporting/module.modulemap\" \"${PROJECT_DIR}/Release/${FRAMEWORK_NAME}.framework/Modules\""; }; + 07FBE3F620D31BD900BE857B /* Build Documentation w/ Jazzy */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Build Documentation w/ Jazzy"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "jazzy --objc --clean --author 'Varun Santhanam' --author_url 'https://www.vsanthanam.com' --github_url 'https://github.com/vsanthanam/VSAlert' --umbrella-header VSAlert/VSAlert.h --framework-root . --module VSAlert --sdk iphonesimulator --hide-declarations swift --output \"${PROJECT_DIR}/Documentation\" --theme \"${PROJECT_DIR}/JazzyTheme\""; + }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -783,6 +805,26 @@ }; name = Release; }; + 07FBE3F420D31BD500BE857B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = Y88YPD4RJA; + PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "iphonesimulator iphoneos"; + }; + name = Debug; + }; + 07FBE3F520D31BD500BE857B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = Y88YPD4RJA; + PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "iphonesimulator iphoneos"; + }; + name = Release; + }; 07FF9E041F8FEE85002966A3 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -944,6 +986,15 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + 07FBE3F320D31BD500BE857B /* Build configuration list for PBXAggregateTarget "Documentation" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 07FBE3F420D31BD500BE857B /* Debug */, + 07FBE3F520D31BD500BE857B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 07FF9E031F8FEE85002966A3 /* Build configuration list for PBXNativeTarget "VSAlert-Example" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/VSAlert/Src/VSAlert.h b/VSAlert/VSAlert.h similarity index 100% rename from VSAlert/Src/VSAlert.h rename to VSAlert/VSAlert.h diff --git a/VSAlert/Src/VSAlertAction.h b/VSAlert/VSAlertAction.h similarity index 100% rename from VSAlert/Src/VSAlertAction.h rename to VSAlert/VSAlertAction.h diff --git a/VSAlert/Src/VSAlertAction.m b/VSAlert/VSAlertAction.m similarity index 100% rename from VSAlert/Src/VSAlertAction.m rename to VSAlert/VSAlertAction.m diff --git a/VSAlert/Src/VSAlertController.h b/VSAlert/VSAlertController.h similarity index 100% rename from VSAlert/Src/VSAlertController.h rename to VSAlert/VSAlertController.h diff --git a/VSAlert/Src/VSAlertController.m b/VSAlert/VSAlertController.m similarity index 100% rename from VSAlert/Src/VSAlertController.m rename to VSAlert/VSAlertController.m