diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..11e5fbf --- /dev/null +++ b/.travis.yml @@ -0,0 +1,36 @@ +language: swift + +osx_image: xcode10.0 +env: + global: + - LC_CTYPE=en_US.UTF-8 + - LANG=en_US.UTF-8 + - WORKSPACE=Booster.xcodeproj + - IOS_FRAMEWORK_SCHEME="Booster" + - EXAMPLE_SCHEME="BoosterExamples" + matrix: + - DESTINATION="OS=12.0,name=iPhone XS" SCHEME="$IOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" BUILD_EXAMPLE="YES" POD_LINT="NO" + - DESTINATION="OS=12.0,name=iPhone X" SCHEME="$IOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" BUILD_EXAMPLE="YES" POD_LINT="NO" + - DESTINATION="OS=12.0,name=iPhone 7 Plus" SCHEME="$IOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" BUILD_EXAMPLE="YES" POD_LINT="NO" + +script: + - set -o pipefail + - xcodebuild -version + - xcodebuild -showsdks + + # Build Framework in Release and Run Tests if specified + - if [ $RUN_TESTS == "YES" ]; then + xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -destination "$DESTINATION" -configuration Release ONLY_ACTIVE_ARCH=NO ENABLE_TESTABILITY=YES test | xcpretty; + else + xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -destination "$DESTINATION" -configuration Release ONLY_ACTIVE_ARCH=NO build | xcpretty; + fi + + # Build Example in Debug if specified + - if [ $BUILD_EXAMPLE == "YES" ]; then + xcodebuild -workspace "$WORKSPACE" -scheme "$EXAMPLE_SCHEME" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty; + fi + + # Run `pod lib lint` if specified + - if [ $POD_LINT == "YES" ]; then + pod lib lint; + fi \ No newline at end of file diff --git a/Booster.podspec b/Booster.podspec index 662e954..42b5087 100644 --- a/Booster.podspec +++ b/Booster.podspec @@ -8,131 +8,29 @@ Pod::Spec.new do |s| - # ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # - # - # These will help people to find your library, and whilst it - # can feel like a chore to fill in it's definitely to your advantage. The - # summary should be tweet-length, and the description more in depth. - # - s.name = "Booster" - s.version = "0.0.4" - s.summary = "Booster is an HTTP networking librart written in Swift." + s.version = "0.1.0" + s.summary = "Booster is an REST API Networking Library written in Swift." - # This description is used to generate tags and improve search results. - # * Think: What does it do? Why did you write it? What is the focus? - # * Try to keep it short, snappy and to the point. - # * Write the description between the DESC delimiters below. - # * Finally, don't worry about the indent, CocoaPods strips it! s.description = <<-DESC - "Booster was developed during Naver Connect Foundation's the BoostCamp 3rd iOS process." - "Booster is an Simple HTTP Networking Library written in Swift." + "Booster was developed during NAVER CONNECT Foundation's the BoostCamp 3rd iOS process." + "Booster is an Simple REST API Networking Library written in Swift." "Booster was created using only the Apple frameworks." DESC s.homepage = "https://github.com/godpp/Booster" - # s.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif" - - - # ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # - # - # Licensing your code is important. See http://choosealicense.com for more info. - # CocoaPods will detect a license file if there is a named LICENSE* - # Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'. - # s.license = { :type => "MIT", :file => "LICENSE" } - # s.license = { :type => "MIT", :file => "FILE_LICENSE" } - # ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # - # - # Specify the authors of the library, with email addresses. Email addresses - # of the authors are extracted from the SCM log. E.g. $ git log. CocoaPods also - # accepts just a name if you'd rather not provide an email address. - # - # Specify a social_media_url where others can refer to, for example a twitter - # profile URL. - # - s.author = { "godpp" => "taylored@naver.com" } - # Or just: s.author = "godpp" - # s.authors = { "godpp" => "taylored@naver.com" } - # s.social_media_url = "http://twitter.com/godpp" - - # ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― # - # - # If this Pod runs only on iOS or OS X, then specify the platform and - # the deployment target. You can optionally include the target after the platform. - # - # s.platform = :ios s.platform = :ios, "10.0" - # When using multiple platforms - # s.ios.deployment_target = "5.0" - # s.osx.deployment_target = "10.7" - # s.watchos.deployment_target = "2.0" - # s.tvos.deployment_target = "9.0" - - - # ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # - # - # Specify the location from where the source should be retrieved. - # Supports git, hg, bzr, svn and HTTP. - # + s.ios.deployment_target = "12.0" + s.swift_version = "4.2" s.source = { :git => "https://github.com/godpp/Booster.git", :tag => "#{s.version}" } - - # ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # - # - # CocoaPods is smart about how it includes source code. For source files - # giving a folder will include any swift, h, m, mm, c & cpp files. - # For header files it will include any header in the folder. - # Not including the public_header_files will make all headers public. - # - - s.source_files = "Sources", "Sources/*.swift" - - # s.public_header_files = "Classes/**/*.h" - - - # ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # - # - # A list of resources included with the Pod. These are copied into the - # target bundle with a build phase script. Anything else will be cleaned. - # You can preserve files from being cleaned, please don't preserve - # non-essential files like tests, examples and documentation. - # - - # s.resource = "icon.png" - # s.resources = "Resources/*.png" - - # s.preserve_paths = "FilesToSave", "MoreFilesToSave" - - - # ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # - # - # Link your library with frameworks, or libraries. Libraries do not include - # the lib prefix of their name. - # - - # s.framework = "SomeFramework" - # s.frameworks = "SomeFramework", "AnotherFramework" - - # s.library = "iconv" - # s.libraries = "iconv", "xml2" - - - # ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # - # - # If your library depends on compiler flags you can set them in the xcconfig hash - # where they will only apply to your library. If you depend on other Podspecs - # you can include multiple dependencies to ensure it works. - - # s.requires_arc = true - - # s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" } - # s.dependency "JSONKit", "~> 1.4" + s.source_files = "Sources/**/*.{h,m,swift}" end diff --git a/Booster.xcodeproj/project.pbxproj b/Booster.xcodeproj/project.pbxproj new file mode 100644 index 0000000..53b507f --- /dev/null +++ b/Booster.xcodeproj/project.pbxproj @@ -0,0 +1,641 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + BCE85AB82236A972009B9EA7 /* Booster.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BCE85AAE2236A972009B9EA7 /* Booster.framework */; }; + BCE85ABD2236A972009B9EA7 /* BoosterTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = BCE85ABC2236A972009B9EA7 /* BoosterTests.swift */; }; + BCE85ABF2236A972009B9EA7 /* Booster.h in Headers */ = {isa = PBXBuildFile; fileRef = BCE85AB12236A972009B9EA7 /* Booster.h */; settings = {ATTRIBUTES = (Public, ); }; }; + BCE85AD12236A9B4009B9EA7 /* BoosterService.swift in Sources */ = {isa = PBXBuildFile; fileRef = BCE85ACA2236A9B4009B9EA7 /* BoosterService.swift */; }; + BCE85AD22236A9B4009B9EA7 /* BoosterResult.swift in Sources */ = {isa = PBXBuildFile; fileRef = BCE85ACB2236A9B4009B9EA7 /* BoosterResult.swift */; }; + BCE85AD32236A9B4009B9EA7 /* BoosterEncoder.swift in Sources */ = {isa = PBXBuildFile; fileRef = BCE85ACC2236A9B4009B9EA7 /* BoosterEncoder.swift */; }; + BCE85AD42236A9B4009B9EA7 /* BoosterError.swift in Sources */ = {isa = PBXBuildFile; fileRef = BCE85ACD2236A9B4009B9EA7 /* BoosterError.swift */; }; + BCE85AD52236A9B4009B9EA7 /* URL+Booster.swift in Sources */ = {isa = PBXBuildFile; fileRef = BCE85ACE2236A9B4009B9EA7 /* URL+Booster.swift */; }; + BCE85AD62236A9B4009B9EA7 /* BoosterResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = BCE85ACF2236A9B4009B9EA7 /* BoosterResponse.swift */; }; + BCE85AD72236A9B4009B9EA7 /* BoosterCenter.swift in Sources */ = {isa = PBXBuildFile; fileRef = BCE85AD02236A9B4009B9EA7 /* BoosterCenter.swift */; }; + BCE85AE12236ADF0009B9EA7 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = BCE85AE02236ADF0009B9EA7 /* AppDelegate.swift */; }; + BCE85AE32236ADF0009B9EA7 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = BCE85AE22236ADF0009B9EA7 /* ViewController.swift */; }; + BCE85AE62236ADF0009B9EA7 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = BCE85AE42236ADF0009B9EA7 /* Main.storyboard */; }; + BCE85AE82236ADF1009B9EA7 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = BCE85AE72236ADF1009B9EA7 /* Assets.xcassets */; }; + BCE85AEB2236ADF1009B9EA7 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = BCE85AE92236ADF1009B9EA7 /* LaunchScreen.storyboard */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + BCE85AB92236A972009B9EA7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = BCE85AA52236A972009B9EA7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = BCE85AAD2236A972009B9EA7; + remoteInfo = Booster; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + BCE85AAE2236A972009B9EA7 /* Booster.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Booster.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + BCE85AB12236A972009B9EA7 /* Booster.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Booster.h; sourceTree = ""; }; + BCE85AB22236A972009B9EA7 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + BCE85AB72236A972009B9EA7 /* BoosterTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = BoosterTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + BCE85ABC2236A972009B9EA7 /* BoosterTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BoosterTests.swift; sourceTree = ""; }; + BCE85ABE2236A972009B9EA7 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + BCE85ACA2236A9B4009B9EA7 /* BoosterService.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BoosterService.swift; sourceTree = ""; }; + BCE85ACB2236A9B4009B9EA7 /* BoosterResult.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BoosterResult.swift; sourceTree = ""; }; + BCE85ACC2236A9B4009B9EA7 /* BoosterEncoder.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BoosterEncoder.swift; sourceTree = ""; }; + BCE85ACD2236A9B4009B9EA7 /* BoosterError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BoosterError.swift; sourceTree = ""; }; + BCE85ACE2236A9B4009B9EA7 /* URL+Booster.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "URL+Booster.swift"; sourceTree = ""; }; + BCE85ACF2236A9B4009B9EA7 /* BoosterResponse.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BoosterResponse.swift; sourceTree = ""; }; + BCE85AD02236A9B4009B9EA7 /* BoosterCenter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BoosterCenter.swift; sourceTree = ""; }; + BCE85ADE2236ADF0009B9EA7 /* BoosterExamples.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = BoosterExamples.app; sourceTree = BUILT_PRODUCTS_DIR; }; + BCE85AE02236ADF0009B9EA7 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + BCE85AE22236ADF0009B9EA7 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + BCE85AE52236ADF0009B9EA7 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + BCE85AE72236ADF1009B9EA7 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + BCE85AEA2236ADF1009B9EA7 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + BCE85AEC2236ADF1009B9EA7 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + BCE85AAB2236A972009B9EA7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BCE85AB42236A972009B9EA7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BCE85AB82236A972009B9EA7 /* Booster.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BCE85ADB2236ADF0009B9EA7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + BCE85AA42236A972009B9EA7 = { + isa = PBXGroup; + children = ( + BCE85ADF2236ADF0009B9EA7 /* BoosterExamples */, + BCE85AAF2236A972009B9EA7 /* Products */, + BCE85AC82236A979009B9EA7 /* Sources */, + BCE85ABB2236A972009B9EA7 /* BoosterTests */, + ); + sourceTree = ""; + }; + BCE85AAF2236A972009B9EA7 /* Products */ = { + isa = PBXGroup; + children = ( + BCE85AAE2236A972009B9EA7 /* Booster.framework */, + BCE85AB72236A972009B9EA7 /* BoosterTests.xctest */, + BCE85ADE2236ADF0009B9EA7 /* BoosterExamples.app */, + ); + name = Products; + sourceTree = ""; + }; + BCE85ABB2236A972009B9EA7 /* BoosterTests */ = { + isa = PBXGroup; + children = ( + BCE85ABC2236A972009B9EA7 /* BoosterTests.swift */, + BCE85ABE2236A972009B9EA7 /* Info.plist */, + ); + path = BoosterTests; + sourceTree = ""; + }; + BCE85AC82236A979009B9EA7 /* Sources */ = { + isa = PBXGroup; + children = ( + BCE85AC92236A98C009B9EA7 /* Supporting Files */, + BCE85AD02236A9B4009B9EA7 /* BoosterCenter.swift */, + BCE85ACC2236A9B4009B9EA7 /* BoosterEncoder.swift */, + BCE85ACD2236A9B4009B9EA7 /* BoosterError.swift */, + BCE85ACF2236A9B4009B9EA7 /* BoosterResponse.swift */, + BCE85ACB2236A9B4009B9EA7 /* BoosterResult.swift */, + BCE85ACA2236A9B4009B9EA7 /* BoosterService.swift */, + BCE85ACE2236A9B4009B9EA7 /* URL+Booster.swift */, + ); + path = Sources; + sourceTree = ""; + }; + BCE85AC92236A98C009B9EA7 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + BCE85AB12236A972009B9EA7 /* Booster.h */, + BCE85AB22236A972009B9EA7 /* Info.plist */, + ); + path = "Supporting Files"; + sourceTree = ""; + }; + BCE85ADF2236ADF0009B9EA7 /* BoosterExamples */ = { + isa = PBXGroup; + children = ( + BCE85AE02236ADF0009B9EA7 /* AppDelegate.swift */, + BCE85AE22236ADF0009B9EA7 /* ViewController.swift */, + BCE85AE42236ADF0009B9EA7 /* Main.storyboard */, + BCE85AE72236ADF1009B9EA7 /* Assets.xcassets */, + BCE85AE92236ADF1009B9EA7 /* LaunchScreen.storyboard */, + BCE85AEC2236ADF1009B9EA7 /* Info.plist */, + ); + path = BoosterExamples; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + BCE85AA92236A972009B9EA7 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + BCE85ABF2236A972009B9EA7 /* Booster.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + BCE85AAD2236A972009B9EA7 /* Booster */ = { + isa = PBXNativeTarget; + buildConfigurationList = BCE85AC22236A972009B9EA7 /* Build configuration list for PBXNativeTarget "Booster" */; + buildPhases = ( + BCE85AA92236A972009B9EA7 /* Headers */, + BCE85AAA2236A972009B9EA7 /* Sources */, + BCE85AAB2236A972009B9EA7 /* Frameworks */, + BCE85AAC2236A972009B9EA7 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Booster; + productName = Booster; + productReference = BCE85AAE2236A972009B9EA7 /* Booster.framework */; + productType = "com.apple.product-type.framework"; + }; + BCE85AB62236A972009B9EA7 /* BoosterTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = BCE85AC52236A972009B9EA7 /* Build configuration list for PBXNativeTarget "BoosterTests" */; + buildPhases = ( + BCE85AB32236A972009B9EA7 /* Sources */, + BCE85AB42236A972009B9EA7 /* Frameworks */, + BCE85AB52236A972009B9EA7 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + BCE85ABA2236A972009B9EA7 /* PBXTargetDependency */, + ); + name = BoosterTests; + productName = BoosterTests; + productReference = BCE85AB72236A972009B9EA7 /* BoosterTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + BCE85ADD2236ADF0009B9EA7 /* BoosterExamples */ = { + isa = PBXNativeTarget; + buildConfigurationList = BCE85AEF2236ADF1009B9EA7 /* Build configuration list for PBXNativeTarget "BoosterExamples" */; + buildPhases = ( + BCE85ADA2236ADF0009B9EA7 /* Sources */, + BCE85ADB2236ADF0009B9EA7 /* Frameworks */, + BCE85ADC2236ADF0009B9EA7 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = BoosterExamples; + productName = BoosterExamples; + productReference = BCE85ADE2236ADF0009B9EA7 /* BoosterExamples.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + BCE85AA52236A972009B9EA7 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 1000; + LastUpgradeCheck = 1000; + ORGANIZATIONNAME = "Park Sung Joon"; + TargetAttributes = { + BCE85AAD2236A972009B9EA7 = { + CreatedOnToolsVersion = 10.0; + LastSwiftMigration = 1000; + }; + BCE85AB62236A972009B9EA7 = { + CreatedOnToolsVersion = 10.0; + }; + BCE85ADD2236ADF0009B9EA7 = { + CreatedOnToolsVersion = 10.0; + }; + }; + }; + buildConfigurationList = BCE85AA82236A972009B9EA7 /* Build configuration list for PBXProject "Booster" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = BCE85AA42236A972009B9EA7; + productRefGroup = BCE85AAF2236A972009B9EA7 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + BCE85AAD2236A972009B9EA7 /* Booster */, + BCE85AB62236A972009B9EA7 /* BoosterTests */, + BCE85ADD2236ADF0009B9EA7 /* BoosterExamples */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + BCE85AAC2236A972009B9EA7 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BCE85AB52236A972009B9EA7 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BCE85ADC2236ADF0009B9EA7 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BCE85AEB2236ADF1009B9EA7 /* LaunchScreen.storyboard in Resources */, + BCE85AE82236ADF1009B9EA7 /* Assets.xcassets in Resources */, + BCE85AE62236ADF0009B9EA7 /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + BCE85AAA2236A972009B9EA7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BCE85AD12236A9B4009B9EA7 /* BoosterService.swift in Sources */, + BCE85AD72236A9B4009B9EA7 /* BoosterCenter.swift in Sources */, + BCE85AD42236A9B4009B9EA7 /* BoosterError.swift in Sources */, + BCE85AD52236A9B4009B9EA7 /* URL+Booster.swift in Sources */, + BCE85AD62236A9B4009B9EA7 /* BoosterResponse.swift in Sources */, + BCE85AD32236A9B4009B9EA7 /* BoosterEncoder.swift in Sources */, + BCE85AD22236A9B4009B9EA7 /* BoosterResult.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BCE85AB32236A972009B9EA7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BCE85ABD2236A972009B9EA7 /* BoosterTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BCE85ADA2236ADF0009B9EA7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BCE85AE32236ADF0009B9EA7 /* ViewController.swift in Sources */, + BCE85AE12236ADF0009B9EA7 /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + BCE85ABA2236A972009B9EA7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = BCE85AAD2236A972009B9EA7 /* Booster */; + targetProxy = BCE85AB92236A972009B9EA7 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + BCE85AE42236ADF0009B9EA7 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + BCE85AE52236ADF0009B9EA7 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + BCE85AE92236ADF1009B9EA7 /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + BCE85AEA2236ADF1009B9EA7 /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + BCE85AC02236A972009B9EA7 /* 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_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = 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_IMPLICIT_RETAIN_SELF = 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 = 12.0; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + BCE85AC12236A972009B9EA7 /* 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_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = 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_IMPLICIT_RETAIN_SELF = 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 = 12.0; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + BCE85AC32236A972009B9EA7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_IDENTITY = ""; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = 86PPC52X64; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Sources/Supporting Files/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.SungJoonPark.Booster; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 4.2; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + BCE85AC42236A972009B9EA7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_IDENTITY = ""; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = 86PPC52X64; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Sources/Supporting Files/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.SungJoonPark.Booster; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SWIFT_VERSION = 4.2; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + BCE85AC62236A972009B9EA7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 86PPC52X64; + INFOPLIST_FILE = BoosterTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.SungJoonPark.BoosterTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.2; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + BCE85AC72236A972009B9EA7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 86PPC52X64; + INFOPLIST_FILE = BoosterTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.SungJoonPark.BoosterTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.2; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + BCE85AED2236ADF1009B9EA7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 86PPC52X64; + INFOPLIST_FILE = BoosterExamples/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.SungJoonPark.BoosterExamples; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.2; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + BCE85AEE2236ADF1009B9EA7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 86PPC52X64; + INFOPLIST_FILE = BoosterExamples/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.SungJoonPark.BoosterExamples; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.2; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + BCE85AA82236A972009B9EA7 /* Build configuration list for PBXProject "Booster" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + BCE85AC02236A972009B9EA7 /* Debug */, + BCE85AC12236A972009B9EA7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + BCE85AC22236A972009B9EA7 /* Build configuration list for PBXNativeTarget "Booster" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + BCE85AC32236A972009B9EA7 /* Debug */, + BCE85AC42236A972009B9EA7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + BCE85AC52236A972009B9EA7 /* Build configuration list for PBXNativeTarget "BoosterTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + BCE85AC62236A972009B9EA7 /* Debug */, + BCE85AC72236A972009B9EA7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + BCE85AEF2236ADF1009B9EA7 /* Build configuration list for PBXNativeTarget "BoosterExamples" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + BCE85AED2236ADF1009B9EA7 /* Debug */, + BCE85AEE2236ADF1009B9EA7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = BCE85AA52236A972009B9EA7 /* Project object */; +} diff --git a/Booster.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Booster.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..f951711 --- /dev/null +++ b/Booster.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Booster.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Booster.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/Booster.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Booster.xcodeproj/project.xcworkspace/xcuserdata/godpp.xcuserdatad/UserInterfaceState.xcuserstate b/Booster.xcodeproj/project.xcworkspace/xcuserdata/godpp.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..664e032 Binary files /dev/null and b/Booster.xcodeproj/project.xcworkspace/xcuserdata/godpp.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/Booster.xcodeproj/xcshareddata/xcschemes/Booster.xcscheme b/Booster.xcodeproj/xcshareddata/xcschemes/Booster.xcscheme new file mode 100644 index 0000000..cfbfea4 --- /dev/null +++ b/Booster.xcodeproj/xcshareddata/xcschemes/Booster.xcscheme @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Booster.xcodeproj/xcuserdata/godpp.xcuserdatad/xcschemes/xcschememanagement.plist b/Booster.xcodeproj/xcuserdata/godpp.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..2d5a2c5 --- /dev/null +++ b/Booster.xcodeproj/xcuserdata/godpp.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,32 @@ + + + + + SchemeUserState + + Booster.xcscheme_^#shared#^_ + + orderHint + 0 + + BoosterExamples.xcscheme + + orderHint + 1 + + + SuppressBuildableAutocreation + + BCE85AAD2236A972009B9EA7 + + primary + + + BCE85AB62236A972009B9EA7 + + primary + + + + + diff --git a/BoosterExamples/AppDelegate.swift b/BoosterExamples/AppDelegate.swift new file mode 100644 index 0000000..293ff84 --- /dev/null +++ b/BoosterExamples/AppDelegate.swift @@ -0,0 +1,46 @@ +// +// AppDelegate.swift +// BoosterExamples +// +// Created by ParkSungJoon on 11/03/2019. +// Copyright © 2019 Park Sung Joon. All rights reserved. +// + +import UIKit + +@UIApplicationMain +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { + // Override point for customization after application launch. + return true + } + + func applicationWillResignActive(_ application: UIApplication) { + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game. + } + + func applicationDidEnterBackground(_ application: UIApplication) { + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. + } + + func applicationWillEnterForeground(_ application: UIApplication) { + // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. + } + + func applicationDidBecomeActive(_ application: UIApplication) { + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. + } + + func applicationWillTerminate(_ application: UIApplication) { + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. + } + + +} + diff --git a/BoosterExamples/Assets.xcassets/AppIcon.appiconset/Contents.json b/BoosterExamples/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..d8db8d6 --- /dev/null +++ b/BoosterExamples/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,98 @@ +{ + "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" + }, + { + "idiom" : "ios-marketing", + "size" : "1024x1024", + "scale" : "1x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/BoosterExamples/Assets.xcassets/Contents.json b/BoosterExamples/Assets.xcassets/Contents.json new file mode 100644 index 0000000..da4a164 --- /dev/null +++ b/BoosterExamples/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/BoosterExamples/Base.lproj/LaunchScreen.storyboard b/BoosterExamples/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..bfa3612 --- /dev/null +++ b/BoosterExamples/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/BoosterExamples/Base.lproj/Main.storyboard b/BoosterExamples/Base.lproj/Main.storyboard new file mode 100644 index 0000000..f1bcf38 --- /dev/null +++ b/BoosterExamples/Base.lproj/Main.storyboard @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/BoosterExamples/Info.plist b/BoosterExamples/Info.plist new file mode 100644 index 0000000..16be3b6 --- /dev/null +++ b/BoosterExamples/Info.plist @@ -0,0 +1,45 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + 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/BoosterExamples/ViewController.swift b/BoosterExamples/ViewController.swift new file mode 100644 index 0000000..ed28be5 --- /dev/null +++ b/BoosterExamples/ViewController.swift @@ -0,0 +1,20 @@ +// +// ViewController.swift +// BoosterExamples +// +// Created by ParkSungJoon on 11/03/2019. +// Copyright © 2019 Park Sung Joon. All rights reserved. +// + +import UIKit + +class ViewController: UIViewController { + + override func viewDidLoad() { + super.viewDidLoad() + // Do any additional setup after loading the view, typically from a nib. + } + + +} + diff --git a/BoosterTests/BoosterTests.swift b/BoosterTests/BoosterTests.swift new file mode 100644 index 0000000..8a2b9ef --- /dev/null +++ b/BoosterTests/BoosterTests.swift @@ -0,0 +1,34 @@ +// +// BoosterTests.swift +// BoosterTests +// +// Created by ParkSungJoon on 11/03/2019. +// Copyright © 2019 Park Sung Joon. All rights reserved. +// + +import XCTest +@testable import Booster + +class BoosterTests: XCTestCase { + + override func 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. + } + + 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/BoosterTests/Info.plist b/BoosterTests/Info.plist new file mode 100644 index 0000000..6c40a6c --- /dev/null +++ b/BoosterTests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/Sources/Supporting Files/Booster.h b/Sources/Supporting Files/Booster.h new file mode 100644 index 0000000..3f7a05f --- /dev/null +++ b/Sources/Supporting Files/Booster.h @@ -0,0 +1,19 @@ +// +// Booster.h +// Booster +// +// Created by ParkSungJoon on 11/03/2019. +// Copyright © 2019 Park Sung Joon. All rights reserved. +// + +#import + +//! Project version number for Booster. +FOUNDATION_EXPORT double BoosterVersionNumber; + +//! Project version string for Booster. +FOUNDATION_EXPORT const unsigned char BoosterVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/Sources/Supporting Files/Info.plist b/Sources/Supporting Files/Info.plist new file mode 100644 index 0000000..e1fe4cf --- /dev/null +++ b/Sources/Supporting Files/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + +