diff --git a/SwiftLibs.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata similarity index 70% rename from SwiftLibs.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata index 1d51351..919434a 100644 --- a/SwiftLibs.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata @@ -2,6 +2,6 @@ + location = "self:"> diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 1028c38..0000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 Pillar Technology - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/Package.resolved b/Package.resolved new file mode 100644 index 0000000..0ba2b6a --- /dev/null +++ b/Package.resolved @@ -0,0 +1,43 @@ +{ + "object": { + "pins": [ + { + "package": "CwlCatchException", + "repositoryURL": "https://github.com/mattgallagher/CwlCatchException.git", + "state": { + "branch": null, + "revision": "35f9e770f54ce62dd8526470f14c6e137cef3eea", + "version": "2.1.1" + } + }, + { + "package": "CwlPreconditionTesting", + "repositoryURL": "https://github.com/mattgallagher/CwlPreconditionTesting.git", + "state": { + "branch": null, + "revision": "c21f7bab5ca8eee0a9998bbd17ca1d0eb45d4688", + "version": "2.1.0" + } + }, + { + "package": "Nimble", + "repositoryURL": "https://github.com/Quick/Nimble.git", + "state": { + "branch": null, + "revision": "c93f16c25af5770f0d3e6af27c9634640946b068", + "version": "9.2.1" + } + }, + { + "package": "Quick", + "repositoryURL": "https://github.com/Quick/Quick.git", + "state": { + "branch": null, + "revision": "f9d519828bb03dfc8125467d8f7b93131951124c", + "version": "5.0.1" + } + } + ] + }, + "version": 1 +} diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..8c00a4e --- /dev/null +++ b/Package.swift @@ -0,0 +1,45 @@ +// swift-tools-version:5.5 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "wiser-ios-utils", + platforms: [ + .macOS(.v10_10), .iOS(.v12) + ], + products: [ + // Products define the executables and libraries a package produces, and make them visible to other packages. + .library( + name: "WiseMock", + targets: ["WiseMock"] + ), + .library( + name: "DIWise", + targets: ["DIWise"] + ), + ], + dependencies: [ + .package(url: "https://github.com/Quick/Nimble.git", from: "9.2.1"), + .package(url: "https://github.com/Quick/Quick.git", from: "5.0.1"), + ], + targets: [ + // Targets are the basic building blocks of a package. A target can define a module or a test suite. + // Targets can depend on other targets in this package, and on products in packages this package depends on. + .target( + name: "WiseMock", + dependencies: [ + .product(name: "Nimble", package: "Nimble", + condition: .when(platforms: [.macOS, .iOS])), + ] + ), + .testTarget( + name: "WiseMockTests", + dependencies: [ "Quick", "Nimble", "WiseMock" ] + ), + .target( + name: "DIWise" + ) + + ] +) diff --git a/README b/README index 28674ab..e69de29 100644 --- a/README +++ b/README @@ -1,34 +0,0 @@ -This framework provides: - - iOS Mocker - - WebRequest - - HTTP MultiPart - - HTTP Methods (ex. GET/POST/PUT/etc) - - HTTP-Redirection - - Mock WebRequest - - Util Functions - - DataFromHexString - - SplitString - -IMPORTANT: - This project contains two frameworks, one for development and another for production. - The production version is portable to the Apple App Store, but is incompatible with iOS-Simulators. - The development version is compatible with both iOS-Devices and the iOS-Simulators, but is NOT compatible with the Apple App Store. - - -Build: - Development (Non App Store): - 1. Select the "SwiftLibsFramework" project from the target-menu. - 2. Select any non-generic simulator from the build-target. (i.e. "iPhone 5s") - 3. Copy the built framework from bin/development into your project's directory. - 4. Add the framework as an embedded-binary into your application. - Production (App Store): - 1. Select the "SwiftLibsFrameworkProduction" project from the target-menu. - 2. Select any the generic simulator from the build-target. (i.e. "Generic iOS Device") - 3. Copy the built framework from bin/production into your project's directory. - 4. Add the framework as an embedded-binary into your application. - - -Pre-Built Binaries: - Located: - ./release// - diff --git a/Sources/DIWise/DIConfigurator.swift b/Sources/DIWise/DIConfigurator.swift new file mode 100644 index 0000000..e03c0eb --- /dev/null +++ b/Sources/DIWise/DIConfigurator.swift @@ -0,0 +1,29 @@ +// +// DIConfigurator.swift +// mobee +// +// Created by Daniel Oancea on 2/8/22. +// + +import Foundation +import Segment +import UIKit +import CoreLocation + +@objcMembers +public open class DIConfigurator: NSObject { + + private static let container: DIContainerProtocol = DIContainer.shared + + public static func configuredComponentSingleton(_ type: Component.Type, factory: () -> Component) -> Component { + if let it = container.resolve(type: type) { + return it + } else { + let it = factory() + + container.register(type: type, component: it) + + return it + } + } +} diff --git a/Sources/DIWise/DIContainer.swift b/Sources/DIWise/DIContainer.swift new file mode 100644 index 0000000..f364783 --- /dev/null +++ b/Sources/DIWise/DIContainer.swift @@ -0,0 +1,35 @@ +// +// DIContainer.swift +// mobee +// +// Created by Daniel Oancea on 2/8/22. + +/** + Dependency Injection approach originally taken from here: + https://www.raywenderlich.com/14223279-dependency-injection-tutorial-for-ios-getting-started + + Testing this out as a solution to DI for iOS, which is very helpful in writing testable code + */ + +import Foundation + +protocol DIContainerProtocol { + func register(type: Component.Type, component: Any) + func resolve(type: Component.Type) -> Component? +} + +final class DIContainer: DIContainerProtocol { + static let shared = DIContainer() + + private init() {} + + var components: [String: Any] = [:] + + func register(type: Component.Type, component: Any) { + components["\(type)"] = component + } + + func resolve(type: Component.Type) -> Component? { + return components["\(type)"] as? Component + } +} diff --git a/Sources/WiseMock/.gitignore b/Sources/WiseMock/.gitignore new file mode 100644 index 0000000..bb460e7 --- /dev/null +++ b/Sources/WiseMock/.gitignore @@ -0,0 +1,7 @@ +.DS_Store +/.build +/Packages +/*.xcodeproj +xcuserdata/ +DerivedData/ +.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata diff --git a/SwiftLibsFramework/Info.plist b/Sources/WiseMock/Info.plist similarity index 95% rename from SwiftLibsFramework/Info.plist rename to Sources/WiseMock/Info.plist index 5e4e25b..ca23c84 100644 --- a/SwiftLibsFramework/Info.plist +++ b/Sources/WiseMock/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.0.5 + $(MARKETING_VERSION) CFBundleSignature ???? CFBundleVersion diff --git a/Sources/WiseMock/Matchers/DateMatchers.swift b/Sources/WiseMock/Matchers/DateMatchers.swift new file mode 100644 index 0000000..ab1456d --- /dev/null +++ b/Sources/WiseMock/Matchers/DateMatchers.swift @@ -0,0 +1,36 @@ +// +// File.swift +// +// +// Created by Daniel Oancea on 5/17/22. +// + +import Foundation +import Nimble + + +public func beTheSameDayAs(_ expectedDate: Date) -> Predicate { + return Predicate.define { actualExpression in + var expectationMessage: ExpectationMessage! + var status: PredicateStatus! + + if let actualDate = try? actualExpression.evaluate() { + let actualMessage = String(describing: actualDate) + + expectationMessage = .expectedActualValueTo(actualMessage) + + + status = PredicateStatus(bool: isSameDay(date1: actualDate, date2: expectedDate)) + } else { + status = .fail + expectationMessage = .fail("something else happened") + } + return PredicateResult(status: status, message: expectationMessage) + } +} + +fileprivate func isSameDay(date1: Date, date2: Date) -> Bool { + let diff = Calendar.current.dateComponents([.year, .month, .day], from: date1, to: date2) + + return diff.day == 0 && diff.month == 0 && diff.year == 0 +} diff --git a/Sources/WiseMock/Matchers/NimbleMatchers.swift b/Sources/WiseMock/Matchers/NimbleMatchers.swift new file mode 100644 index 0000000..a61aa3e --- /dev/null +++ b/Sources/WiseMock/Matchers/NimbleMatchers.swift @@ -0,0 +1,83 @@ +import Foundation +import Nimble + +///Invocation Count +public func invoke(_ name: T.MockedMethod, times: Int = 1) -> Predicate { + + return Predicate.define { actualExpression in + var expectationMessage: ExpectationMessage! + var status: PredicateStatus! + + if let mockable = try? actualExpression.evaluate() { + let failureExpectationMessage = "invoke \(name) \(times) times" + let actualMessage = "\(mockable.invocationCount(for: name)) invocations" + status = PredicateStatus(bool: mockable.invocationCount(for: name) == times) + expectationMessage = .expectedCustomValueTo(failureExpectationMessage, actual: actualMessage) + } else { + status = .fail + expectationMessage = .fail("something else happened") + } + return PredicateResult(status: status, message: expectationMessage) + } + +} + +///Equality +public func invoke(_ name: T.MockedMethod, atInvocation invocationIndex: Int = 0, withParameter parameter: E?, at parameterIndex: Int = 0) -> Predicate { + return Predicate.define { actualExpression in + var expectationMessage: ExpectationMessage! + var status: PredicateStatus! + + if let mockable = try? actualExpression.evaluate() { + let actualParameter: E? = mockable.parameter(for: name, at: parameterIndex, andInvocation: invocationIndex) + let actualMessage = String(describing: actualParameter) + + expectationMessage = .expectedActualValueTo(actualMessage) + status = PredicateStatus(bool: actualParameter == parameter) + } else { + status = .fail + expectationMessage = .fail("something else happened") + } + return PredicateResult(status: status, message: expectationMessage) + } + +} + +///Identity +public func invoke(_ name: T.MockedMethod, atInvocation invocationIndex: Int = 0, withIdenticalParameter parameter: E?, at parameterIndex: Int = 0) -> Predicate { + return Predicate.define { actualExpression in + var expectationMessage: ExpectationMessage! + var status: PredicateStatus! + + if let mockable = try? actualExpression.evaluate() { + let actualParameter: E? = mockable.parameter(for: name, at: parameterIndex, andInvocation: invocationIndex) + let actualMessage = String(describing: actualParameter) + + expectationMessage = .expectedActualValueTo(actualMessage) + status = PredicateStatus(bool: actualParameter === parameter) + } else { + status = .fail + expectationMessage = .fail("something else happened") + } + return PredicateResult(status: status, message: expectationMessage) + } +} + +/// Closure Matcher +public func invoke(_ name: T.MockedMethod, atInvocation invocationIndex: Int = 0, atParameterIndex parameterIndex: Int = 0, withMatcher matcher: @escaping ((U?) -> Bool)) -> Predicate { + return Predicate.define { actualExpression in + var expectationMessage: ExpectationMessage! + var status: PredicateStatus! + + if let mockable = try? actualExpression.evaluate() { + let actualParameter: U? = mockable.parameter(for: name, at: parameterIndex, andInvocation: invocationIndex) + + expectationMessage = .fail("parameter as \(String(describing: actualParameter)) does not match") + status = PredicateStatus(bool: matcher(actualParameter)) + } else { + status = .fail + expectationMessage = .fail("something else happened") + } + return PredicateResult(status: status, message: expectationMessage) + } +} diff --git a/Sources/WiseMock/Mocker/Mockable.swift b/Sources/WiseMock/Mocker/Mockable.swift new file mode 100644 index 0000000..dc92d6f --- /dev/null +++ b/Sources/WiseMock/Mocker/Mockable.swift @@ -0,0 +1,55 @@ +import Foundation + +public protocol Mockable { + associatedtype MockedMethod: RawRepresentable where MockedMethod.RawValue == String + + var mocker: Mocker { get set } + + func record(invocation: MockedMethod, with parameters: Any?...) + func invocationCount(for name: MockedMethod) -> Int + func parameters(for name: MockedMethod, at index: Int) -> [Any] + func parameter(for name: MockedMethod, at index: Int, andInvocation invocation: Int) -> T? + func setReturnValue(for name: MockedMethod, with value: Any?, index: Int) + func returnValue(for name: MockedMethod) -> T? + func reset() +} + +public extension Mockable { + + func record(invocation name: MockedMethod, with parameters: Any?...) { + mocker.recordInvocation(name.rawValue, paramList: parameters as [Any?]) + } + + func invocationCount(for name: MockedMethod) -> Int { + return mocker.getInvocationCountFor(name.rawValue) + } + + func parameters(for name: MockedMethod, at index: Int = 0) -> [Any] { + return mocker.getParametersFor(name.rawValue, n: index) ?? [] + } + + func parameter(for name: MockedMethod, at index: Int = 0, andInvocation invocation: Int = 0) -> T? { + return parameters(for: name, at: invocation).value(at: index) as? T + } + + func setReturnValue(for name: MockedMethod, with value: Any?, index: Int = -1) { + mocker.setReturnValueFor(name.rawValue, returnValue: value, n: index) + } + + func returnValue(for name: MockedMethod) -> T? { + return mocker.getReturnValueFor(name.rawValue) as? T + } + + func reset() { + mocker.reset() + } +} + +private extension Array { + func value(at index: Int) -> Element? { + guard index >= 0 && index < endIndex else { + return nil + } + return self[index] + } +} diff --git a/Sources/WiseMock/Mocker/Mocker.swift b/Sources/WiseMock/Mocker/Mocker.swift new file mode 100644 index 0000000..24e5672 --- /dev/null +++ b/Sources/WiseMock/Mocker/Mocker.swift @@ -0,0 +1,83 @@ +import Foundation + +protocol iMocker { + associatedtype MethodName_t = String + associatedtype ParamList_t = Array + associatedtype ReturnType_t = Any + func setReturnValueFor(_ methodName : MethodName_t, returnValue : ReturnType_t?, n : Int) + func getReturnValueFor(_ methodName : MethodName_t) -> ReturnType_t? + func getParametersFor(_ methodName : MethodName_t, n : Int) -> ParamList_t? + func getInvocationCountFor(_ methodName : MethodName_t) -> Int + func recordInvocation(_ methodName : MethodName_t, paramList : ParamList_t?) + func reset() +} + +private extension Array { + func get(at i: Index) -> Element? { + var count = 0 + for item in self { + if count == i { + return item + } + count += 1 + } + return nil + } +} +open class Mocker : NSObject, iMocker { + public typealias MethodName_t = String + public typealias ParamList_t = Array + public typealias ReturnType_t = Any + + var invocationParameterArray = Dictionary>() + var definedReturnValues = Dictionary>() + var definedReturnValueRequestCount = Dictionary() + // If unspecified (or negative), n will append the returnValue to the queue of returnValues + // If specified, n will override the already-specified returnValue + open func setReturnValueFor(_ methodName : MethodName_t, returnValue : ReturnType_t?, n : Int = -1) { + if (definedReturnValues[methodName] == nil) { + definedReturnValues[methodName] = Array() + definedReturnValueRequestCount[methodName] = 0 + } + if (n < 0) { + definedReturnValues[methodName]!.append(returnValue) + } + else { + definedReturnValues[methodName]![n] = returnValue + } + } + open func getReturnValueFor(_ methodName : MethodName_t) -> ReturnType_t? { + guard let requestCount = definedReturnValueRequestCount[methodName], + let returnValues = definedReturnValues[methodName] else { + return nil + } + definedReturnValueRequestCount[methodName] = requestCount + 1 + assert(returnValues.count > 0, "Could not return \(requestCount)th value for \(methodName); no return values were set.") + if requestCount < returnValues.count { + return returnValues[requestCount] + } + else { + return returnValues[returnValues.count - 1] + } + } + open func getParametersFor(_ methodName : MethodName_t, n : Int = 0) -> ParamList_t? { + guard let methodName = invocationParameterArray[methodName] else { return nil } + let parametersForAllInvocations : Array = methodName + return parametersForAllInvocations.get(at: n) ?? nil + } + open func getInvocationCountFor(_ methodName : MethodName_t) -> Int { + let parametersForAllInvocations : Array? = invocationParameterArray[methodName] + return ( (parametersForAllInvocations == nil) ? 0 : parametersForAllInvocations!.count ) + } + open func recordInvocation(_ methodName : MethodName_t, paramList : ParamList_t? = []) { + if (invocationParameterArray[methodName] == nil) { + invocationParameterArray[methodName] = Array() + } + invocationParameterArray[methodName]!.append(paramList) + } + open func reset() { + invocationParameterArray.removeAll(keepingCapacity: false) + definedReturnValues.removeAll(keepingCapacity: false) + definedReturnValueRequestCount.removeAll(keepingCapacity: false) + } +} diff --git a/Sources/WiseMock/Mocker/MockerMethods.swift b/Sources/WiseMock/Mocker/MockerMethods.swift new file mode 100644 index 0000000..21fc535 --- /dev/null +++ b/Sources/WiseMock/Mocker/MockerMethods.swift @@ -0,0 +1,19 @@ +// +// MockerMethods.swift +// WiseMock +// +// Created by Daniel Oancea on 2/10/22. +// Copyright © 2022 Wiser Solutions. All rights reserved. +// + +import Foundation +import Nimble + + +public func whenever(_ mock: T, _ name: T.MockedMethod, thenReturn value: Value?, atInvocation index: Int = -1) { + mock.setReturnValue(for: name, with: value, index: index) +} + +public func reset(_ mock: T) { + mock.reset() +} diff --git a/Sources/WiseMock/README.md b/Sources/WiseMock/README.md new file mode 100644 index 0000000..2fcef94 --- /dev/null +++ b/Sources/WiseMock/README.md @@ -0,0 +1,3 @@ +# WiseMock + +A description of this package. diff --git a/SwiftLibs/SwiftLibs.h b/Sources/WiseMock/WiseMock.h similarity index 100% rename from SwiftLibs/SwiftLibs.h rename to Sources/WiseMock/WiseMock.h diff --git a/SwiftLibs.xcodeproj/project.pbxproj b/SwiftLibs.xcodeproj/project.pbxproj deleted file mode 100644 index e0c6139..0000000 --- a/SwiftLibs.xcodeproj/project.pbxproj +++ /dev/null @@ -1,671 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - D56150251C3ACE5A009EE343 /* SwiftLibs.h in Headers */ = {isa = PBXBuildFile; fileRef = D56150241C3ACE5A009EE343 /* SwiftLibs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - D561502C1C3ACE5A009EE343 /* SwiftLibs.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D56150211C3ACE5A009EE343 /* SwiftLibs.framework */; }; - D56150311C3ACE5A009EE343 /* WebRequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D56150301C3ACE5A009EE343 /* WebRequestTests.swift */; }; - D561503F1C3ACF21009EE343 /* Util.swift in Sources */ = {isa = PBXBuildFile; fileRef = D561503C1C3ACF21009EE343 /* Util.swift */; }; - D56150401C3ACF21009EE343 /* WebRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = D561503D1C3ACF21009EE343 /* WebRequest.swift */; }; - D56150451C3AD69F009EE343 /* MockSessionDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = D56150441C3AD69F009EE343 /* MockSessionDelegate.swift */; }; - D56150481C3AD89D009EE343 /* Mocker.swift in Sources */ = {isa = PBXBuildFile; fileRef = D56150471C3AD89D009EE343 /* Mocker.swift */; }; - D561504A1C3AD8A1009EE343 /* MockWebRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = D56150491C3AD8A1009EE343 /* MockWebRequest.swift */; }; - D58F12311C49409F006F4CA1 /* SwiftLibsFramework.h in Headers */ = {isa = PBXBuildFile; fileRef = D58F12301C49409F006F4CA1 /* SwiftLibsFramework.h */; settings = {ATTRIBUTES = (Public, ); }; }; - D58F126E1C494AE8006F4CA1 /* SwiftLibsFrameworkProduction.h in Headers */ = {isa = PBXBuildFile; fileRef = D58F126D1C494AE8006F4CA1 /* SwiftLibsFrameworkProduction.h */; settings = {ATTRIBUTES = (Public, ); }; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - D561502D1C3ACE5A009EE343 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D56150181C3ACE5A009EE343 /* Project object */; - proxyType = 1; - remoteGlobalIDString = D56150201C3ACE5A009EE343; - remoteInfo = SwiftLibs; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - D56150211C3ACE5A009EE343 /* SwiftLibs.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SwiftLibs.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - D56150241C3ACE5A009EE343 /* SwiftLibs.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SwiftLibs.h; sourceTree = ""; }; - D56150261C3ACE5A009EE343 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - D561502B1C3ACE5A009EE343 /* SwiftLibsTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SwiftLibsTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - D56150301C3ACE5A009EE343 /* WebRequestTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WebRequestTests.swift; sourceTree = ""; }; - D56150321C3ACE5A009EE343 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - D561503C1C3ACF21009EE343 /* Util.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Util.swift; sourceTree = ""; }; - D561503D1C3ACF21009EE343 /* WebRequest.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = WebRequest.swift; sourceTree = ""; }; - D56150441C3AD69F009EE343 /* MockSessionDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MockSessionDelegate.swift; sourceTree = ""; }; - D56150471C3AD89D009EE343 /* Mocker.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Mocker.swift; path = Test/Mocker.swift; sourceTree = ""; }; - D56150491C3AD8A1009EE343 /* MockWebRequest.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = MockWebRequest.swift; path = Test/MockWebRequest.swift; sourceTree = ""; }; - D58F122E1C49409F006F4CA1 /* SwiftLibsFramework.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SwiftLibsFramework.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - D58F12301C49409F006F4CA1 /* SwiftLibsFramework.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SwiftLibsFramework.h; sourceTree = ""; }; - D58F12321C49409F006F4CA1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - D58F126B1C494AE8006F4CA1 /* SwiftLibsFrameworkProduction.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SwiftLibsFrameworkProduction.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - D58F126D1C494AE8006F4CA1 /* SwiftLibsFrameworkProduction.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SwiftLibsFrameworkProduction.h; sourceTree = ""; }; - D58F126F1C494AE8006F4CA1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - D561501D1C3ACE5A009EE343 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - D56150281C3ACE5A009EE343 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - D561502C1C3ACE5A009EE343 /* SwiftLibs.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - D58F122A1C49409F006F4CA1 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - D58F12671C494AE8006F4CA1 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - D56150171C3ACE5A009EE343 = { - isa = PBXGroup; - children = ( - D56150231C3ACE5A009EE343 /* SwiftLibs */, - D561502F1C3ACE5A009EE343 /* SwiftLibsTests */, - D58F122F1C49409F006F4CA1 /* SwiftLibsFramework */, - D58F126C1C494AE8006F4CA1 /* SwiftLibsFrameworkProduction */, - D56150221C3ACE5A009EE343 /* Products */, - ); - sourceTree = ""; - }; - D56150221C3ACE5A009EE343 /* Products */ = { - isa = PBXGroup; - children = ( - D56150211C3ACE5A009EE343 /* SwiftLibs.framework */, - D561502B1C3ACE5A009EE343 /* SwiftLibsTests.xctest */, - D58F122E1C49409F006F4CA1 /* SwiftLibsFramework.framework */, - D58F126B1C494AE8006F4CA1 /* SwiftLibsFrameworkProduction.framework */, - ); - name = Products; - sourceTree = ""; - }; - D56150231C3ACE5A009EE343 /* SwiftLibs */ = { - isa = PBXGroup; - children = ( - D56150241C3ACE5A009EE343 /* SwiftLibs.h */, - D56150261C3ACE5A009EE343 /* Info.plist */, - D561503C1C3ACF21009EE343 /* Util.swift */, - D561503D1C3ACF21009EE343 /* WebRequest.swift */, - D56150461C3AD88E009EE343 /* Test */, - ); - path = SwiftLibs; - sourceTree = ""; - }; - D561502F1C3ACE5A009EE343 /* SwiftLibsTests */ = { - isa = PBXGroup; - children = ( - D56150321C3ACE5A009EE343 /* Info.plist */, - D56150441C3AD69F009EE343 /* MockSessionDelegate.swift */, - D56150301C3ACE5A009EE343 /* WebRequestTests.swift */, - ); - path = SwiftLibsTests; - sourceTree = ""; - }; - D56150461C3AD88E009EE343 /* Test */ = { - isa = PBXGroup; - children = ( - D56150471C3AD89D009EE343 /* Mocker.swift */, - D56150491C3AD8A1009EE343 /* MockWebRequest.swift */, - ); - name = Test; - sourceTree = ""; - }; - D58F122F1C49409F006F4CA1 /* SwiftLibsFramework */ = { - isa = PBXGroup; - children = ( - D58F12301C49409F006F4CA1 /* SwiftLibsFramework.h */, - D58F12321C49409F006F4CA1 /* Info.plist */, - ); - path = SwiftLibsFramework; - sourceTree = ""; - }; - D58F126C1C494AE8006F4CA1 /* SwiftLibsFrameworkProduction */ = { - isa = PBXGroup; - children = ( - D58F126D1C494AE8006F4CA1 /* SwiftLibsFrameworkProduction.h */, - D58F126F1C494AE8006F4CA1 /* Info.plist */, - ); - path = SwiftLibsFrameworkProduction; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - D561501E1C3ACE5A009EE343 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - D56150251C3ACE5A009EE343 /* SwiftLibs.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - D58F122B1C49409F006F4CA1 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - D58F126E1C494AE8006F4CA1 /* SwiftLibsFrameworkProduction.h in Headers */, - D58F12311C49409F006F4CA1 /* SwiftLibsFramework.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - D58F12681C494AE8006F4CA1 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - D56150201C3ACE5A009EE343 /* SwiftLibs */ = { - isa = PBXNativeTarget; - buildConfigurationList = D56150351C3ACE5A009EE343 /* Build configuration list for PBXNativeTarget "SwiftLibs" */; - buildPhases = ( - D561501C1C3ACE5A009EE343 /* Sources */, - D561501D1C3ACE5A009EE343 /* Frameworks */, - D561501E1C3ACE5A009EE343 /* Headers */, - D561501F1C3ACE5A009EE343 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = SwiftLibs; - productName = SwiftLibs; - productReference = D56150211C3ACE5A009EE343 /* SwiftLibs.framework */; - productType = "com.apple.product-type.framework"; - }; - D561502A1C3ACE5A009EE343 /* SwiftLibsTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = D56150381C3ACE5A009EE343 /* Build configuration list for PBXNativeTarget "SwiftLibsTests" */; - buildPhases = ( - D56150271C3ACE5A009EE343 /* Sources */, - D56150281C3ACE5A009EE343 /* Frameworks */, - D56150291C3ACE5A009EE343 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - D561502E1C3ACE5A009EE343 /* PBXTargetDependency */, - ); - name = SwiftLibsTests; - productName = SwiftLibsTests; - productReference = D561502B1C3ACE5A009EE343 /* SwiftLibsTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - D58F122D1C49409F006F4CA1 /* SwiftLibsFramework */ = { - isa = PBXNativeTarget; - buildConfigurationList = D58F12431C49409F006F4CA1 /* Build configuration list for PBXNativeTarget "SwiftLibsFramework" */; - buildPhases = ( - D58F12291C49409F006F4CA1 /* Sources */, - D58F122A1C49409F006F4CA1 /* Frameworks */, - D58F122B1C49409F006F4CA1 /* Headers */, - D58F122C1C49409F006F4CA1 /* Resources */, - D58F12451C4940B5006F4CA1 /* ShellScript */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = SwiftLibsFramework; - productName = SwiftLibsFramework; - productReference = D58F122E1C49409F006F4CA1 /* SwiftLibsFramework.framework */; - productType = "com.apple.product-type.framework"; - }; - D58F126A1C494AE8006F4CA1 /* SwiftLibsFrameworkProduction */ = { - isa = PBXNativeTarget; - buildConfigurationList = D58F127C1C494AE8006F4CA1 /* Build configuration list for PBXNativeTarget "SwiftLibsFrameworkProduction" */; - buildPhases = ( - D58F12661C494AE8006F4CA1 /* Sources */, - D58F12671C494AE8006F4CA1 /* Frameworks */, - D58F12681C494AE8006F4CA1 /* Headers */, - D58F12691C494AE8006F4CA1 /* Resources */, - D58F12821C494AF0006F4CA1 /* ShellScript */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = SwiftLibsFrameworkProduction; - productName = SwiftLibsFrameworkProduction; - productReference = D58F126B1C494AE8006F4CA1 /* SwiftLibsFrameworkProduction.framework */; - productType = "com.apple.product-type.framework"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - D56150181C3ACE5A009EE343 /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0720; - LastUpgradeCheck = 0720; - ORGANIZATIONNAME = "Pillar Technology"; - TargetAttributes = { - D56150201C3ACE5A009EE343 = { - CreatedOnToolsVersion = 7.2; - }; - D561502A1C3ACE5A009EE343 = { - CreatedOnToolsVersion = 7.2; - }; - D58F122D1C49409F006F4CA1 = { - CreatedOnToolsVersion = 7.2; - }; - D58F126A1C494AE8006F4CA1 = { - CreatedOnToolsVersion = 7.2; - }; - }; - }; - buildConfigurationList = D561501B1C3ACE5A009EE343 /* Build configuration list for PBXProject "SwiftLibs" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = D56150171C3ACE5A009EE343; - productRefGroup = D56150221C3ACE5A009EE343 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - D56150201C3ACE5A009EE343 /* SwiftLibs */, - D561502A1C3ACE5A009EE343 /* SwiftLibsTests */, - D58F122D1C49409F006F4CA1 /* SwiftLibsFramework */, - D58F126A1C494AE8006F4CA1 /* SwiftLibsFrameworkProduction */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - D561501F1C3ACE5A009EE343 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - D56150291C3ACE5A009EE343 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - D58F122C1C49409F006F4CA1 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - D58F12691C494AE8006F4CA1 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - D58F12451C4940B5006F4CA1 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "#!/bin/bash\n\nUNIVERSAL_OUTPUTFOLDER=${BUILD_DIR}/${CONFIGURATION}-universal\n\n# make sure the output directory exists\nmkdir -p \"${UNIVERSAL_OUTPUTFOLDER}\"\nmkdir -p \"${PROJECT_DIR}/bin/development\"\n\n# Step 1. Build Device and Simulator versions\nxcodebuild -target \"${PROJECT_NAME}\" ONLY_ACTIVE_ARCH=NO -configuration ${CONFIGURATION} -sdk iphoneos BUILD_DIR=\"${BUILD_DIR}\" BUILD_ROOT=\"${BUILD_ROOT}\" clean build || exit 1\nxcodebuild -target \"${PROJECT_NAME}\" ONLY_ACTIVE_ARCH=NO -configuration ${CONFIGURATION} -sdk iphonesimulator BUILD_DIR=\"${BUILD_DIR}\" BUILD_ROOT=\"${BUILD_ROOT}\" clean build || exit 1\n\n# Step 2. Copy the framework structure (from iphoneos build) to the universal folder\ncp -R \"${BUILD_DIR}/${CONFIGURATION}-iphoneos/${PROJECT_NAME}.framework\" \"${UNIVERSAL_OUTPUTFOLDER}/\" || exit 1\n\n# Step 3. Copy Swift modules (from iphonesimulator build) to the copied framework directory\ncp -R \"${BUILD_DIR}/${CONFIGURATION}-iphonesimulator/${PROJECT_NAME}.framework/Modules/${PROJECT_NAME}.swiftmodule/.\" \"${UNIVERSAL_OUTPUTFOLDER}/${PROJECT_NAME}.framework/Modules/${PROJECT_NAME}.swiftmodule\" || exit 1\n\n# Step 4. Create universal binary file using lipo and place the combined executable in the copied framework directory\nlipo -create -output \"${UNIVERSAL_OUTPUTFOLDER}/${PROJECT_NAME}.framework/${PROJECT_NAME}\" \"${BUILD_DIR}/${CONFIGURATION}-iphonesimulator/${PROJECT_NAME}.framework/${PROJECT_NAME}\" \"${BUILD_DIR}/${CONFIGURATION}-iphoneos/${PROJECT_NAME}.framework/${PROJECT_NAME}\" || exit 1\n\n# Step 5. Convenience step to copy the framework to the project's directory\ncp -R \"${UNIVERSAL_OUTPUTFOLDER}/${PROJECT_NAME}.framework\" \"${PROJECT_DIR}/bin/development/${PROJECT_NAME}.framework\" || exit 1\n\n# Step 6. Add the README to the output directory.\ncp \"${PROJECT_DIR}/build-assets/development/README\" \"${PROJECT_DIR}/bin/development/.\"\n"; - }; - D58F12821C494AF0006F4CA1 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "UNIVERSAL_OUTPUTFOLDER=${BUILD_DIR}/${CONFIGURATION}-universal\n\n# make sure the output directory exists\nmkdir -p \"${UNIVERSAL_OUTPUTFOLDER}\"\nmkdir -p \"${PROJECT_DIR}/bin/production\"\n\n# Step 1. Build Device and Simulator versions\nxcodebuild -target \"${PROJECT_NAME}\" ONLY_ACTIVE_ARCH=NO -configuration ${CONFIGURATION} -sdk iphoneos BUILD_DIR=\"${BUILD_DIR}\" BUILD_ROOT=\"${BUILD_ROOT}\" clean build || exit 1\n\n# Step 2. Copy the framework structure (from iphoneos build) to the universal folder\ncp -R \"${BUILD_DIR}/${CONFIGURATION}-iphoneos/${PROJECT_NAME}.framework\" \"${UNIVERSAL_OUTPUTFOLDER}/\" || exit 1\n\n# Step 3. Convenience step to copy the framework to the project's directory\ncp -R \"${UNIVERSAL_OUTPUTFOLDER}/${PROJECT_NAME}.framework\" \"${PROJECT_DIR}/bin/production/${PROJECT_NAME}.framework\" || exit 1\n\n# Step 4. Add the README to the output directory.\ncp \"${PROJECT_DIR}/build-assets/production/README\" \"${PROJECT_DIR}/bin/production/.\""; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - D561501C1C3ACE5A009EE343 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - D561504A1C3AD8A1009EE343 /* MockWebRequest.swift in Sources */, - D56150401C3ACF21009EE343 /* WebRequest.swift in Sources */, - D56150481C3AD89D009EE343 /* Mocker.swift in Sources */, - D561503F1C3ACF21009EE343 /* Util.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - D56150271C3ACE5A009EE343 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - D56150311C3ACE5A009EE343 /* WebRequestTests.swift in Sources */, - D56150451C3AD69F009EE343 /* MockSessionDelegate.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - D58F12291C49409F006F4CA1 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - D58F12661C494AE8006F4CA1 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - D561502E1C3ACE5A009EE343 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = D56150201C3ACE5A009EE343 /* SwiftLibs */; - targetProxy = D561502D1C3ACE5A009EE343 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - D56150331C3ACE5A009EE343 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - 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_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "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 = 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 = 8.1; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - D56150341C3ACE5A009EE343 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - 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_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "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 = 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 = 8.1; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - D56150361C3ACE5A009EE343 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = SwiftLibs/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = PillarTechnology.SwiftLibs; - PRODUCT_NAME = "$(TARGET_NAME)"; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - D56150371C3ACE5A009EE343 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = SwiftLibs/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = PillarTechnology.SwiftLibs; - PRODUCT_NAME = "$(TARGET_NAME)"; - SKIP_INSTALL = YES; - }; - name = Release; - }; - D56150391C3ACE5A009EE343 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - INFOPLIST_FILE = SwiftLibsTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = PillarTechnology.SwiftLibsTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - D561503A1C3ACE5A009EE343 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - INFOPLIST_FILE = SwiftLibsTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = PillarTechnology.SwiftLibsTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; - D58F123F1C49409F006F4CA1 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = SwiftLibsFramework/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = PillarTechnology.SwiftLibsFramework; - PRODUCT_NAME = "$(TARGET_NAME)"; - SKIP_INSTALL = YES; - }; - name = Debug; - }; - D58F12401C49409F006F4CA1 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = SwiftLibsFramework/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = PillarTechnology.SwiftLibsFramework; - PRODUCT_NAME = "$(TARGET_NAME)"; - SKIP_INSTALL = YES; - }; - name = Release; - }; - D58F127D1C494AE8006F4CA1 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = SwiftLibsFrameworkProduction/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.2; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = PillarTechnology.SwiftLibsFrameworkProduction; - PRODUCT_NAME = "$(TARGET_NAME)"; - SKIP_INSTALL = YES; - }; - name = Debug; - }; - D58F127E1C494AE8006F4CA1 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = SwiftLibsFrameworkProduction/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.2; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = PillarTechnology.SwiftLibsFrameworkProduction; - PRODUCT_NAME = "$(TARGET_NAME)"; - SKIP_INSTALL = YES; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - D561501B1C3ACE5A009EE343 /* Build configuration list for PBXProject "SwiftLibs" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - D56150331C3ACE5A009EE343 /* Debug */, - D56150341C3ACE5A009EE343 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - D56150351C3ACE5A009EE343 /* Build configuration list for PBXNativeTarget "SwiftLibs" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - D56150361C3ACE5A009EE343 /* Debug */, - D56150371C3ACE5A009EE343 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - D56150381C3ACE5A009EE343 /* Build configuration list for PBXNativeTarget "SwiftLibsTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - D56150391C3ACE5A009EE343 /* Debug */, - D561503A1C3ACE5A009EE343 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - D58F12431C49409F006F4CA1 /* Build configuration list for PBXNativeTarget "SwiftLibsFramework" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - D58F123F1C49409F006F4CA1 /* Debug */, - D58F12401C49409F006F4CA1 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - D58F127C1C494AE8006F4CA1 /* Build configuration list for PBXNativeTarget "SwiftLibsFrameworkProduction" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - D58F127D1C494AE8006F4CA1 /* Debug */, - D58F127E1C494AE8006F4CA1 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = D56150181C3ACE5A009EE343 /* Project object */; -} diff --git a/SwiftLibs/Info.plist b/SwiftLibs/Info.plist deleted file mode 100644 index 5e4e25b..0000000 --- a/SwiftLibs/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0.5 - CFBundleSignature - ???? - CFBundleVersion - $(CURRENT_PROJECT_VERSION) - NSPrincipalClass - - - diff --git a/SwiftLibs/Test/MockWebRequest.swift b/SwiftLibs/Test/MockWebRequest.swift deleted file mode 100644 index 465a8a3..0000000 --- a/SwiftLibs/Test/MockWebRequest.swift +++ /dev/null @@ -1,93 +0,0 @@ -import Foundation - -public class MockWebRequest : WebRequest { - public var mocker : Mocker = Mocker() - - private static var _originalRandomFunction : (() -> Int)? - public static func mockRandomFunction(var randomFunction : (() -> Int)?) { - if (randomFunction == nil) { - var i : Int = 0 - randomFunction = { - () -> Int in - return i++ - } - } - - if (MockWebRequest._originalRandomFunction == nil) { - MockWebRequest._originalRandomFunction = WebRequest._generateRandomNumber - } - - WebRequest._generateRandomNumber = randomFunction - } - public static func restoreRandomFunction() { - if (MockWebRequest._originalRandomFunction != nil) { - WebRequest._generateRandomNumber = MockWebRequest._originalRandomFunction - } - } - - public override init() { - super.init(); - } - - public override func setUrl(url: String) { - self.mocker.recordInvocation("setUrl", paramList: [url]) - } - - public override func setMethod(method: HttpMethod) { - self.mocker.recordInvocation("setMethod", paramList: [method]) - } - - public override func setHeader(header header: String, value: String) { - self.mocker.recordInvocation("setHeader", paramList: [header, value]) - } - - public override func setGetParam(key key: String, value: String) { - self.mocker.recordInvocation("setGetParam", paramList: [key, value]) - } - - public override func setPostParam(key key: String, value: String) { - self.mocker.recordInvocation("setPostParam", paramList: [key, value]) - } - - public override func setFollowRedirects(followRedirects: Bool) { - self.mocker.recordInvocation("setFollowRedirects", paramList: [followRedirects]) - } - - public override func addCookie(key key: String, value: String?) { - if (value != nil) { - self.mocker.recordInvocation("addCookie", paramList: [key, value!]) - } - else { - self.mocker.recordInvocation("addCookie", paramList: [key, value]) - } - } - - public override func addCookie(keyValuePair: String) { - self.mocker.recordInvocation("addCookie", paramList: [keyValuePair]) - } - - public override func addMultiPart(multiPart: WebRequest.MultiPart) { - self.mocker.recordInvocation("addMultiPart", paramList: [multiPart]) - } - - public override func setBody(body: String) { - self.mocker.recordInvocation("setBody", paramList: [body]) - } - - public class _executeResponse { - public var request : WebRequest! - public var response : Response! - } - public var executeMockedResponse : _executeResponse = _executeResponse() - - public override func execute(callback: Callback_t?) { - if (callback != nil) { - self.mocker.recordInvocation("execute", paramList: [callback!]) - - callback!(request: self.executeMockedResponse.request, response: self.executeMockedResponse.response) - } - else { - self.mocker.recordInvocation("execute", paramList: [callback]) - } - } -} diff --git a/SwiftLibs/Test/Mocker.swift b/SwiftLibs/Test/Mocker.swift deleted file mode 100644 index d42e626..0000000 --- a/SwiftLibs/Test/Mocker.swift +++ /dev/null @@ -1,76 +0,0 @@ - -import Foundation -import UIKit - -public protocol iMocker { - typealias MethodName_t = String - typealias ParamList_t = Array - typealias ReturnType_t = Any - func setReturnValueFor(methodName : MethodName_t, returnValue : ReturnType_t?, n : Int) - func getReturnValueFor(methodName : MethodName_t) -> ReturnType_t? - func getParametersFor(methodName : MethodName_t, n : Int) -> ParamList_t? - func getInvocationCountFor(methodName : MethodName_t) -> Int - func recordInvocation(methodName : MethodName_t, paramList : ParamList_t?) - func reset() -} - -public class Mocker : NSObject, iMocker { - public typealias MethodName_t = String - public typealias ParamList_t = Array - public typealias ReturnType_t = Any - - private var _invocationParameterArray = Dictionary>() - private var _definedReturnValues = Dictionary>() - private var _definedReturnValueRequestCount = Dictionary() - - // NOTE: - // If unspecified (or negative), n will append the returnValue to the queue of returnValues - // If specified, n will override the already-specified returnValue - public func setReturnValueFor(methodName : MethodName_t, returnValue : ReturnType_t?, n : Int = -1) { - if (_definedReturnValues[methodName] == nil) { - _definedReturnValues[methodName] = Array() - _definedReturnValueRequestCount[methodName] = 0 - } - if (n < 0) { - _definedReturnValues[methodName]!.append(returnValue) - } - else { - _definedReturnValues[methodName]![n] = returnValue - } - } - - public func getReturnValueFor(methodName : MethodName_t) -> ReturnType_t? { - let requestCount : Int = _definedReturnValueRequestCount[methodName]! - let availableReturnValueCount : Int = _definedReturnValues[methodName]!.count - assert(requestCount < availableReturnValueCount, "Could not return \(requestCount)th value for \(methodName). Only \(availableReturnValueCount) values set.") - _definedReturnValueRequestCount[methodName]! += 1 - return _definedReturnValues[methodName]![requestCount] - } - - public func getParametersFor(methodName : MethodName_t, n : Int = 0) -> ParamList_t? { - let parametersForAllInvocations : Array? = _invocationParameterArray[methodName] - - if (n < parametersForAllInvocations?.count) { - return parametersForAllInvocations?[n] - } - return nil - } - - public func getInvocationCountFor(methodName : MethodName_t) -> Int { - let parametersForAllInvocations : Array? = _invocationParameterArray[methodName] - return ( (parametersForAllInvocations == nil) ? 0 : parametersForAllInvocations!.count ) - } - - public func recordInvocation(methodName : MethodName_t, paramList : ParamList_t?) { - if (_invocationParameterArray[methodName] == nil) { - _invocationParameterArray[methodName] = Array() - } - _invocationParameterArray[methodName]!.append(paramList) - } - - public func reset() { - _invocationParameterArray.removeAll(keepCapacity: false) - _definedReturnValues.removeAll(keepCapacity: false) - _definedReturnValueRequestCount.removeAll(keepCapacity: false) - } -} diff --git a/SwiftLibs/Util.swift b/SwiftLibs/Util.swift deleted file mode 100644 index 1806abd..0000000 --- a/SwiftLibs/Util.swift +++ /dev/null @@ -1,54 +0,0 @@ - -import Foundation - -public class Util { - public static func dataFromHexadecimalString(input : String) -> NSData? { - let trimmedString = input - let regex = try! NSRegularExpression(pattern: "^[0-9a-f]*$", options: .CaseInsensitive) - - let found = regex.firstMatchInString(trimmedString, options: [], range: NSMakeRange(0, trimmedString.characters.count)) - if found == nil || found?.range.location == NSNotFound || trimmedString.characters.count % 2 != 0 { - return nil - } - - let data = NSMutableData(capacity: trimmedString.characters.count / 2) - - for var index = trimmedString.startIndex; index < trimmedString.endIndex; index = index.successor().successor() { - let byteString = trimmedString.substringWithRange(Range(start: index, end: index.successor().successor())) - let num = UInt8(byteString.withCString { strtoul($0, nil, 16) }) - data?.appendBytes([num] as [UInt8], length: 1) - } - - return data - } - - public class func splitString(deliminator deliminator : String, string: String, maxCount : Int?) -> Array { - let elements : Array = NSString(string: string).componentsSeparatedByString(deliminator) - - if (maxCount == nil) { - return elements - } - else { - var returnElements : Array = Array() - var lastElement : String = "" - var i : Int = 0 - for substring : String in elements { - - if (i == maxCount) { - lastElement.appendContentsOf(substring) - } - else if (i >= maxCount) { - lastElement.appendContentsOf("\(deliminator)\(substring)") - } - else { - returnElements.append(substring) - } - - ++i - } - - returnElements.append(lastElement) - return returnElements - } - } -} diff --git a/SwiftLibs/WebRequest.swift b/SwiftLibs/WebRequest.swift deleted file mode 100644 index 4cfee3a..0000000 --- a/SwiftLibs/WebRequest.swift +++ /dev/null @@ -1,492 +0,0 @@ - -import Foundation - -public class WebRequest : NSObject { - - public class Response : NSObject { - var _wasSuccess : Bool - var _responseCode : Int? - var _errorMessage : String? - var _headers : Dictionary = Dictionary() - var _data : String! - - public init(wasSuccess : Bool) { - _wasSuccess = wasSuccess - } - - public func getWasSuccess() -> Bool { return _wasSuccess; } - public func getResponseCode() -> Int? { return _responseCode } - public func getErrorMessage() -> String? { return _errorMessage } - public func getHeaders() -> Dictionary { return _headers } - public func getHeader(key : String) -> String? { return _headers[key] } - public func getData() -> String? { return _data } - - public func setResponseCode(responseCode : Int?) { _responseCode = responseCode } - public func setErrorMessage(errorMessage : String?) { _errorMessage = errorMessage } - public func setHeader(header header : String, value : String) { - _headers[header] = value - } - public func setData(data : String?) { - _data = data - } - } - - public class MultiPart { - public enum ContentDisposition : String { - case INLINE = "inline" - case ATTACHMENT = "attachment" - case FORM_DATA = "form-data" - case SIGNAL = "signal" - case ALERT = "alert" - case ICON = "icon" - case RENDER = "render" - case RECIPIENT_LIST_HISTORY = "recipient-list-history" - case SESSION = "session" - case AUTHENTICATED_IDENTITY_BODY = "aib" - case EARLY_SESSION = "early-session" - case RECIPIENT_LIST = "recipient-list" - case NOTIFICATION = "notification" - case BY_REFERENCE = "by-reference" - case INFO_PACKAGE = "info-package" - case RECORDING_SESSION = "recording-session" - } - - var _contentDisposition : ContentDisposition - var _name : String - var _filename : String? - var _contentType : String? - var _data : NSData! - - var _creationDate : String? - var _modificationDate : String? - var _readDate : String? - var _size : Int? - var _voice : String? - var _handling : String? - - internal init(contentDisposition : ContentDisposition, name : String) { - _contentDisposition = contentDisposition - _name = name - } - - // NOTE: - // Designed to be overridden for injection. - // You probably do not want to use the default constructor. - public static var newInstance : (contentDisposition : ContentDisposition, name : String) -> MultiPart = { - (contentDisposition : ContentDisposition, name : String) -> MultiPart in - return MultiPart(contentDisposition : contentDisposition, name : name) - } - - public func setFilename(filename : String?) { _filename = filename } - public func setContentType(contentType : String?) { _contentType = contentType } - public func setData(data : String) { - _data = data.dataUsingEncoding(NSUTF8StringEncoding) - } - public func setData(data : NSData) { _data = data } - public func setCreationDate(creationDate : String?) { _creationDate = creationDate } - public func setModificationDate(modificationDate : String?) { _modificationDate = modificationDate } - public func setReadDate(creationDate : String?) { _readDate = creationDate } - public func setSize(size : Int?) { _size = size } - public func setVoice(voice : String?) { _voice = voice } - public func setHandling(handling : String?) { _handling = handling } - - public func getContentDisposition() -> ContentDisposition { return _contentDisposition } - public func getName() -> String { return _name } - public func getFilename() -> String? { return _filename } - public func getContentType() -> String? { return _contentType } - public func getData() -> NSData { return _data } - public func getCreationDate() -> String? { return _creationDate } - public func getModificationDate() -> String? { return _modificationDate } - public func getReadDate() -> String? { return _readDate } - public func getSize() -> Int? { return _size } - public func getVoice() -> String? { return _voice } - public func getHandling() -> String? { return _handling } - - public func isValid() -> Bool { - if (_filename != nil && _contentType == nil) { - return false - } - - return (_data != nil && _name.characters.count > 0) - } - } - - public typealias Callback_t = (request : WebRequest, response : Response) -> Void - - public enum HttpMethod : String { - case GET = "GET" - case HEAD = "HEAD" - case POST = "POST" - case PUT = "PUT" - case DELETE = "DELETE" - case TRACE = "TRACE" - case CONNECT = "CONNECT" - } - - // NOTE: - // Designed to be overridden for injection. - // You probably do not want to use the default constructor. - public static var newInstance : () -> WebRequest = { - () -> WebRequest in - return WebRequest() - } - - // NOTE: - // Use the static constructor for production code. - internal override init() { - super.init() - } - - internal static var _generateRandomNumber : (() -> Int)! = { - () -> Int in - return random() - } - - internal class _SessionDelegate : NSObject, NSURLSessionDelegate, NSURLSessionTaskDelegate { - static var newInstance : (() -> _SessionDelegate)! = { - () -> _SessionDelegate in - return _SessionDelegate() - } - - internal var _followRedirects : Bool = true - - // NOTE: - // Use the static constructor. - internal override init() { - super.init() - } - - internal func setFollowRedirects(followRedirects : Bool) { - _followRedirects = followRedirects - } - - // Not Implemented Signatures: - // func URLSession(session: NSURLSession, didBecomeInvalidWithError error: NSError?) - // func URLSession(session: NSURLSession, dataTask: NSURLSessionDataTask, didReceiveResponse response: NSURLResponse, completionHandler: (NSURLSessionResponseDisposition) -> Void) - // func URLSession(session: NSURLSession, didReceiveChallenge challenge: NSURLAuthenticationChallenge, completionHandler: (NSURLSessionAuthChallengeDisposition, NSURLCredential?) -> Void) - // func URLSessionDidFinishEventsForBackgroundURLSession(session: NSURLSession) - - @objc internal func URLSession(session: NSURLSession, task: NSURLSessionTask, willPerformHTTPRedirection response: NSHTTPURLResponse, newRequest request: NSURLRequest, completionHandler: (NSURLRequest?) -> Void) { - if (_followRedirects) { - completionHandler(request) - } - else { - completionHandler(nil) - } - } - } - - internal class func _encodeUrlString(string : String) -> String { - let characterSet = NSMutableCharacterSet.alphanumericCharacterSet() - characterSet.addCharactersInString("-._*()!~") - return string.stringByAddingPercentEncodingWithAllowedCharacters(characterSet)! - } - - internal static func _generateRandomBoundary() -> String { - let boundaryStartLength : Int = 4 - let boundaryIdentifierLength : Int = 32 - let candidateCharacters : Array = ["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","0","1","2","3","4","5","6","7","8","9"] - - var boundary : String = "" - - for (var i = 0; i < boundaryStartLength; ++i) { - boundary.append("-" as Character) - } - - for (var i = 0; i < boundaryIdentifierLength; ++i) { - boundary.append(candidateCharacters[WebRequest._generateRandomNumber() % candidateCharacters.count]) - } - - return boundary - } - - internal var _url : String! - internal var _method : HttpMethod = .GET - internal var _getParams : Dictionary = Dictionary() - internal var _postParams : Dictionary = Dictionary() - internal var _headers : Dictionary = Dictionary() - internal var _cookies : Dictionary = Dictionary() - internal var _sessionDelegate : _SessionDelegate = _SessionDelegate.newInstance() - internal var _multiparts : Array = Array() - internal var _rawBody: NSData! - - internal static func _doesDataContainData(needle needle: NSData, haystack: NSData) -> Bool { - return (haystack.rangeOfData(needle, options: NSDataSearchOptions.Backwards, range: NSMakeRange(0, haystack.length)).location != NSNotFound) - } - - internal static func _stringToBytes(string : String) -> NSData { - return NSString(string: string).dataUsingEncoding(NSUTF8StringEncoding)! - } - - // Description: - // If the paramValue is not nil, the key/value pair will be appended to multiPartBody, prepended with a "; " - internal func _appendOptionalParam(multiPartBody : NSMutableData, paramKey : String, paramValue : String?) { - if (paramValue != nil) { - multiPartBody.appendData(WebRequest._stringToBytes("; \(paramKey)=\"\(paramValue!)\"")) - } - } - - public func setUrl(url : String) { - let allowedCharacters = NSMutableCharacterSet.URLHostAllowedCharacterSet().mutableCopy() - allowedCharacters.formUnionWithCharacterSet(NSCharacterSet.URLPathAllowedCharacterSet()) - _url = url.stringByAddingPercentEncodingWithAllowedCharacters(allowedCharacters as! NSCharacterSet) - } - - public func setMethod(method : HttpMethod) { _method = method } - - public func setHeader(header header : String, value : String) { _headers[header] = value } - - public func setFollowRedirects(followRedirects : Bool) { _sessionDelegate.setFollowRedirects(followRedirects) } - - public func setGetParam(key key : String, value : String) { _getParams[key] = value } - - public func setPostParam(key key : String, value : String) { - _multiparts.removeAll() - _rawBody = nil - - _postParams[key] = value - } - - public func addCookie(key key : String, value : String?) { - if (value == nil) { - _cookies.removeValueForKey(key) - } - else { - _cookies[key] = value - } - } - - public func addCookie(keyValuePair : String) { - if (keyValuePair.containsString("=")) { - var keyValues : Array = Util.splitString(deliminator: "=", string: keyValuePair, maxCount: 1) - _cookies[keyValues[0]] = keyValues[1] - } - } - - public func addMultiPart(multiPart : MultiPart) { - _postParams.removeAll() - _rawBody = nil - - if (multiPart.isValid()) { - _multiparts.append(multiPart) - } - else { - print("NOTICE: Invalid multipart.") - } - } - - public func setBody(body: String) { - _multiparts.removeAll() - _postParams.removeAll() - - _rawBody = body.dataUsingEncoding(NSUTF8StringEncoding)! - } - - internal func _generatePostBody() -> String { - var postBody : String = "" - for key : String in _postParams.keys { - let value : String = _postParams[key]! - postBody.appendContentsOf("\(WebRequest._encodeUrlString(key))=\(WebRequest._encodeUrlString(value))&") - } - postBody.removeAtIndex(postBody.endIndex.predecessor()) // Remove the last ampersand... - return postBody - } - - internal func _appendGetParams(var url : String) -> String { - if (!url.containsString("?")) { - url.appendContentsOf("?") - } - - for key : String in _getParams.keys { - let value : String = _getParams[key]! - url.appendContentsOf("\(WebRequest._encodeUrlString(key))=\(WebRequest._encodeUrlString(value))&") - } - url.removeAtIndex(url.endIndex.predecessor()) // Remove the last ampersand... - - return url - } - - // NOTE: - // Generates a MultiPart boundary that is gauranteed to not exist within any current multiPart data. - internal func _generateMultiPartSafeBoundary() -> String { - var boundary = WebRequest._generateRandomBoundary() - var boundaryIsValid : Bool = false - while (!boundaryIsValid) { - boundaryIsValid = true - - for multiPart in _multiparts { - let needle : NSData = boundary.dataUsingEncoding(NSUTF8StringEncoding)! - if (WebRequest._doesDataContainData(needle: needle, haystack: multiPart.getData())) { - boundaryIsValid = false - } - } - - if (!boundaryIsValid) { - boundary = WebRequest._generateRandomBoundary() - } - } - - return boundary - } - - internal func _generateMultiPartBody(boundary : String) -> NSData { - let multiPartBody : NSMutableData = NSMutableData() - let preBoundaryBytes : NSData = ("--" as String).dataUsingEncoding(NSUTF8StringEncoding)! - let newlineDeliminator : NSData = NSString(string: "\r\n").dataUsingEncoding(NSUTF8StringEncoding)! - let boundaryBytes : NSData = boundary.dataUsingEncoding(NSUTF8StringEncoding)! - for multiPart in _multiparts { - multiPartBody.appendData(preBoundaryBytes) - multiPartBody.appendData(boundaryBytes) - multiPartBody.appendData(newlineDeliminator) - - // Set Content-Disposition and Optional-Params - multiPartBody.appendData(WebRequest._stringToBytes("Content-Disposition: \(multiPart.getContentDisposition().rawValue)")) - multiPartBody.appendData(WebRequest._stringToBytes("; name=\"\(multiPart.getName())\"")) - - let size : Int? = multiPart.getSize() - _appendOptionalParam(multiPartBody, paramKey: "size", paramValue: (size != nil ? String(size!) : nil)) - _appendOptionalParam(multiPartBody, paramKey: "filename", paramValue: multiPart.getFilename()) - _appendOptionalParam(multiPartBody, paramKey: "creation-date", paramValue: multiPart.getCreationDate()) - _appendOptionalParam(multiPartBody, paramKey: "modification-date", paramValue: multiPart.getModificationDate()) - _appendOptionalParam(multiPartBody, paramKey: "read-date", paramValue: multiPart.getReadDate()) - _appendOptionalParam(multiPartBody, paramKey: "voice", paramValue: multiPart.getVoice()) - _appendOptionalParam(multiPartBody, paramKey: "handling", paramValue: multiPart.getHandling()) - - multiPartBody.appendData(newlineDeliminator) - - // Set Content-Type - let contentType : String? = multiPart.getContentType() - if (contentType != nil) { - multiPartBody.appendData(WebRequest._stringToBytes("Content-Type: \(contentType!)")) - multiPartBody.appendData(newlineDeliminator) - } - - multiPartBody.appendData(newlineDeliminator) - - multiPartBody.appendData(multiPart.getData()) - - multiPartBody.appendData(newlineDeliminator) - } - - // Closing Boundary... - multiPartBody.appendData(preBoundaryBytes) - multiPartBody.appendData(boundaryBytes) - multiPartBody.appendData(preBoundaryBytes) - multiPartBody.appendData(newlineDeliminator) - - return multiPartBody - } - - // TODO: This should escape semicolons, and possible the following additional characters: ()<>@,;:\"/[]?={} ( src: http://goo.gl/EMOh9d ) - internal func _generateCookieHeader() -> String { - var cookieHeader : String = "" - for cookieKey : String in _cookies.keys { - let cookieValue : String = _cookies[cookieKey]! - cookieHeader.appendContentsOf("\(cookieKey)=\(cookieValue); ") - } - cookieHeader.removeAtIndex(cookieHeader.endIndex.predecessor()) // Remove the last space... - cookieHeader.removeAtIndex(cookieHeader.endIndex.predecessor()) // Remove the last semicolon... - return cookieHeader - } - - // NOTE: - // Many of the components used in this function aren't able to be mocked. - // Therefore, this function is left untested. - public func execute(callback : Callback_t?) { - var url : String = _url - - // Handle Get-Params - if (_getParams.count > 0) { - url = _appendGetParams(url) - } - - // Handle Post-Params - var postBody : String? = nil - if (_method == .POST && _postParams.count > 0) { - postBody = _generatePostBody() - } - - // Handle Attachments (MultiParts) - var multiPartBody : NSData? = nil - if (_multiparts.count > 0) { - let boundary : String = _generateMultiPartSafeBoundary() - multiPartBody = _generateMultiPartBody(boundary) - - _headers["Content-Type"] = "multipart/form-data; boundary=\(boundary)" - _headers["Content-Length"] = "\(multiPartBody!.length)" - } - - let request : NSMutableURLRequest = NSMutableURLRequest(URL: NSURL(string: url)!) - request.HTTPMethod = _method.rawValue - - // NOTE: - // Be sure this block executes before the headers are added to the request. - if (_cookies.count > 0) { - _headers["Cookie"] = _generateCookieHeader() - } - - // Handle Headers - if (_headers.count > 0) { - for headerKey : String in _headers.keys { - let headerValue : String = _headers[headerKey]! - request.setValue(headerValue, forHTTPHeaderField: headerKey) - } - } - - // Create Body - if (_rawBody != nil) { - request.HTTPBody = _rawBody! - } else if (postBody != nil) { - request.HTTPBody = postBody!.dataUsingEncoding(NSUTF8StringEncoding) - } else if (multiPartBody != nil) { - request.HTTPBody = multiPartBody! - } - - // Set the SessionDelegate (for FollowsRedirect) - let session : NSURLSession! = NSURLSession( - configuration: NSURLSessionConfiguration.defaultSessionConfiguration(), - delegate: _sessionDelegate, - delegateQueue: NSOperationQueue() - ) - - // Create the DataTask from the Request - let dataTask : NSURLSessionDataTask = session.dataTaskWithRequest( - request, - completionHandler: { - (data : NSData?, response : NSURLResponse?, error : NSError?) -> Void in - let wasSuccess : Bool = (error == nil && data != nil && response != nil) - let webRequestResponse : Response = Response(wasSuccess: wasSuccess) - - let httpUrlResponse : NSHTTPURLResponse? = response as? NSHTTPURLResponse - - if (wasSuccess && httpUrlResponse != nil) { - let headers : Dictionary = httpUrlResponse!.allHeaderFields - for headerTuple in headers { - let header : String! = headerTuple.0 as? String - let value : String! = headerTuple.1 as? String - - if (header != nil && value != nil) { - webRequestResponse.setHeader(header: header, value: value) - } - } - - if (data != nil) { - webRequestResponse.setData(NSString(data: data!, encoding: NSUTF8StringEncoding) as? String) - } - } - else { - webRequestResponse.setErrorMessage(error!.localizedDescription) - } - - if (httpUrlResponse != nil) { - webRequestResponse.setResponseCode(httpUrlResponse!.statusCode) - } - - callback?(request: self, response: webRequestResponse) - } - ) - - // Execute the Request - dataTask.resume() - } -} diff --git a/SwiftLibsFramework/SwiftLibsFramework.h b/SwiftLibsFramework/SwiftLibsFramework.h deleted file mode 100644 index 2eb42d5..0000000 --- a/SwiftLibsFramework/SwiftLibsFramework.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// SwiftLibsFramework.h -// SwiftLibsFramework -// -// Created by Josh Green on 1/15/16. -// Copyright © 2016 Pillar Technology. All rights reserved. -// - -#import - -//! Project version number for SwiftLibsFramework. -FOUNDATION_EXPORT double SwiftLibsFrameworkVersionNumber; - -//! Project version string for SwiftLibsFramework. -FOUNDATION_EXPORT const unsigned char SwiftLibsFrameworkVersionString[]; - -// In this header, you should import all the public headers of your framework using statements like #import - - diff --git a/SwiftLibsFrameworkProduction/Info.plist b/SwiftLibsFrameworkProduction/Info.plist deleted file mode 100644 index 5e4e25b..0000000 --- a/SwiftLibsFrameworkProduction/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0.5 - CFBundleSignature - ???? - CFBundleVersion - $(CURRENT_PROJECT_VERSION) - NSPrincipalClass - - - diff --git a/SwiftLibsFrameworkProduction/SwiftLibsFrameworkProduction.h b/SwiftLibsFrameworkProduction/SwiftLibsFrameworkProduction.h deleted file mode 100644 index 22450ef..0000000 --- a/SwiftLibsFrameworkProduction/SwiftLibsFrameworkProduction.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// SwiftLibsFrameworkProduction.h -// SwiftLibsFrameworkProduction -// -// Created by Josh Green on 1/15/16. -// Copyright © 2016 Pillar Technology. All rights reserved. -// - -#import - -//! Project version number for SwiftLibsFrameworkProduction. -FOUNDATION_EXPORT double SwiftLibsFrameworkProductionVersionNumber; - -//! Project version string for SwiftLibsFrameworkProduction. -FOUNDATION_EXPORT const unsigned char SwiftLibsFrameworkProductionVersionString[]; - -// In this header, you should import all the public headers of your framework using statements like #import - - diff --git a/SwiftLibsTests/Info.plist b/SwiftLibsTests/Info.plist deleted file mode 100644 index ba72822..0000000 --- a/SwiftLibsTests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/SwiftLibsTests/MockSessionDelegate.swift b/SwiftLibsTests/MockSessionDelegate.swift deleted file mode 100644 index 07998e0..0000000 --- a/SwiftLibsTests/MockSessionDelegate.swift +++ /dev/null @@ -1,39 +0,0 @@ - -import Foundation -@testable import SwiftLibs - -class MockWebRequestSessionDelegate : WebRequest._SessionDelegate { - private static var _originalStaticConstructor : (() -> WebRequest._SessionDelegate)? - private static var _mockedSessionDelegate : MockWebRequestSessionDelegate! - - let mocker : Mocker = Mocker() - - static func mockConstructor() -> MockWebRequestSessionDelegate { - if (MockWebRequestSessionDelegate._originalStaticConstructor != nil) { - MockWebRequestSessionDelegate._originalStaticConstructor = WebRequest._SessionDelegate.newInstance - } - - _mockedSessionDelegate = MockWebRequestSessionDelegate() - - WebRequest._SessionDelegate.newInstance = { - () -> WebRequest._SessionDelegate in - return _mockedSessionDelegate - } - - return _mockedSessionDelegate - } - - static func restoreConstructor() { - if (MockWebRequestSessionDelegate._originalStaticConstructor != nil) { - WebRequest._SessionDelegate.newInstance = MockWebRequestSessionDelegate._originalStaticConstructor - } - } - - override func URLSession(session: NSURLSession, task: NSURLSessionTask, willPerformHTTPRedirection response: NSHTTPURLResponse, newRequest request: NSURLRequest, completionHandler: (NSURLRequest?) -> Void) { - mocker.recordInvocation("URLSession", paramList: [session, task, response, request, completionHandler ]) - } - - override init() { - super.init() - } -} diff --git a/SwiftLibsTests/WebRequestTests.swift b/SwiftLibsTests/WebRequestTests.swift deleted file mode 100644 index 3236c6d..0000000 --- a/SwiftLibsTests/WebRequestTests.swift +++ /dev/null @@ -1,497 +0,0 @@ - -import XCTest -@testable import SwiftLibs - -class WebRequestTests: XCTestCase { - var _subject : WebRequest! - var _mockedSessionDelegate : MockWebRequestSessionDelegate! - - override func setUp() { - super.setUp() - - _mockedSessionDelegate = MockWebRequestSessionDelegate.mockConstructor() - MockWebRequest.mockRandomFunction(nil) - - _subject = SwiftLibs.WebRequest.newInstance() - } - - override func tearDown() { - MockWebRequest.restoreRandomFunction() - MockWebRequestSessionDelegate.restoreConstructor() - - super.tearDown() - } - - func testStaticConstructor() { - // Setup - - // Action - - // Assert - XCTAssertNotNil(_subject) - } - - func testSessionDelegateIgnoresRedirectsWhenRedirectsDisabled() { - // Setup - let shouldFollowRedirects : Bool = false - let subject : WebRequest._SessionDelegate = WebRequest._SessionDelegate() - let urlSession : NSURLSession = NSURLSession() - let sessionTask : NSURLSessionTask = NSURLSessionTask() - let urlRequest : NSURLRequest = NSURLRequest() - let urlResponse : NSHTTPURLResponse = NSHTTPURLResponse() - - var completionHandlerParameter : NSURLRequest? - let completionHandler : ((request : NSURLRequest?) -> Void)! = { - (request : NSURLRequest?) -> Void in - completionHandlerParameter = request - } - - subject.setFollowRedirects(shouldFollowRedirects) - - // Action - subject.URLSession(urlSession, task: sessionTask, willPerformHTTPRedirection: urlResponse, newRequest: urlRequest, completionHandler: completionHandler) - - // Assert - XCTAssertNil(completionHandlerParameter, "Completion handler must be invoked with nil when not following redirects.") - } - - func testSessionDelegateFollowsRedirectsWhenRedirectsEnabled() { - // Setup - let shouldFollowRedirects : Bool = true - let subject : WebRequest._SessionDelegate = WebRequest._SessionDelegate() - let urlSession : NSURLSession = NSURLSession() - let sessionTask : NSURLSessionTask = NSURLSessionTask() - let urlRequest : NSURLRequest = NSURLRequest() - let urlResponse : NSHTTPURLResponse = NSHTTPURLResponse() - - var completionHandlerParameter : NSURLRequest? - let completionHandler : ((request : NSURLRequest?) -> Void)! = { - (request : NSURLRequest?) -> Void in - completionHandlerParameter = request - } - - subject.setFollowRedirects(shouldFollowRedirects) - - // Action - subject.URLSession(urlSession, task: sessionTask, willPerformHTTPRedirection: urlResponse, newRequest: urlRequest, completionHandler: completionHandler) - - // Assert - XCTAssertEqual(completionHandlerParameter, urlRequest, "Completion handler must be invoked with the original request when following redirects.") - } - - func testSetPostParamClearsMultiParts() { - // Setup - _subject._multiparts.append(WebRequest.MultiPart(contentDisposition: .INLINE, name: "multipart")) - - // Action - _subject.setPostParam(key: "key", value: "value") - - // Assert - XCTAssertEqual(_subject._multiparts.count, 0, "Setting a post param must clear out multiparts.") - } - - func testSetPostParamClearsRawBody() { - // Setup - _subject._rawBody = "This is data I do not wish to see anymore!".dataUsingEncoding(NSUTF8StringEncoding) - - // Action - _subject.setPostParam(key: "key", value: "value") - - // Assert - XCTAssertNil(_subject._rawBody, "Setting a post param must clear out the raw body.") - } - - func testAddMultipartClearsPostParams() { - // Setup - _subject._postParams["key"] = "value" - - // Action - _subject.addMultiPart(WebRequest.MultiPart(contentDisposition: .INLINE, name: "multipart")) - - // Assert - XCTAssertEqual(_subject._postParams.count, 0, "Adding a multipart object must clear out post params.") - } - - func testAddMultipartClearsRawBody() { - // Setup - _subject._rawBody = "This is data I do not wish to see anymore!".dataUsingEncoding(NSUTF8StringEncoding) - - // Action - _subject.addMultiPart(WebRequest.MultiPart(contentDisposition: .INLINE, name: "multipart")) - - // Assert - XCTAssertNil(_subject._rawBody, "Adding a multipart object must clear out the raw body.") - } - - func testSetBodyClearsMultiParts() { - // Setup - _subject._multiparts.append(WebRequest.MultiPart(contentDisposition: .INLINE, name: "multipart")) - - // Action - _subject.setBody("This is a value that I am setting") - - // Assert - XCTAssertEqual(_subject._multiparts.count, 0, "Setting the body directly must clear out multiparts.") - } - - func testSetBodyClearsPostParams() { - // Setup - _subject._postParams["key"] = "value" - - // Action - _subject.setBody("This is a value that I am setting") - - // Assert - XCTAssertEqual(_subject._postParams.count, 0, "Setting the body directly must clear out post params.") - } - - func testAddInvalidMultipartDoesNotAppendMultiPart() { - // Setup - let multiPart : WebRequest.MultiPart = WebRequest.MultiPart(contentDisposition: .INLINE, name: "multipart") - - // Action - _subject.addMultiPart(multiPart) - - // Assert - XCTAssertEqual(_subject._multiparts.count, 0, "Adding an invalid multipart object does not append to multipart list.") - } - - func testAddValidMultipartAppendsMultiPart() { - // Setup - let multiPart : WebRequest.MultiPart = WebRequest.MultiPart(contentDisposition: .INLINE, name: "multipart") - multiPart.setData("0123456789ABCDEFFEDCBA9876543210".dataUsingEncoding(NSUTF8StringEncoding)!) - - // Action - _subject.addMultiPart(multiPart) - - // Assert - XCTAssertEqual(_subject._multiparts.count, 1, "Adding a valid multipart object appends it to the multipart list.") - } - - func testGenerateBoundary() { - // Setup - let minLength : Int = 36 - let maxLength : Int = 36 - let validCharacters : NSCharacterSet = NSCharacterSet(charactersInString: "ABCDEFGHIJKLKMNOPQRSTUVWXYZ0123456789") - let boundaryPrefix : String = "----" - let randomBoundary : String! - - // Action - randomBoundary = WebRequest._generateRandomBoundary() - - // Assert - XCTAssertLessThanOrEqual(randomBoundary.characters.count, maxLength, "Random boundary is larger than its max length.") - XCTAssertGreaterThanOrEqual(randomBoundary.characters.count, minLength, "Random boundary is smaller than its min length.") - XCTAssertEqual(NSString(string: randomBoundary).substringToIndex(boundaryPrefix.characters.count), boundaryPrefix, "Random boundary does not start with an expected prefix.") - XCTAssertNil(NSString(string: randomBoundary).substringFromIndex(boundaryPrefix.characters.count).rangeOfCharacterFromSet(validCharacters.invertedSet), "Random boundary (after the prefix) contains invalid characters.") - } - - func testGenerateBoundaryWithLargerRandomSeed() { - // Setup - var i : Int = 1024 // 1024 % 36 = 8 (make sure the seed wraps around the boundary character-set) - MockWebRequest.mockRandomFunction({ - () -> Int in - return i++ - }) - - let minLength : Int = 36 - let maxLength : Int = 36 - let validCharacters : NSCharacterSet = NSCharacterSet(charactersInString: "ABCDEFGHIJKLKMNOPQRSTUVWXYZ0123456789") - let boundaryPrefix : String = "----" - let randomBoundary : String! - - // Action - randomBoundary = WebRequest._generateRandomBoundary() - - // Assert - XCTAssertLessThanOrEqual(randomBoundary.characters.count, maxLength, "Random boundary is larger than its max length.") - XCTAssertGreaterThanOrEqual(randomBoundary.characters.count, minLength, "Random boundary is smaller than its min length.") - XCTAssertEqual(NSString(string: randomBoundary).substringToIndex(boundaryPrefix.characters.count), boundaryPrefix, "Random boundary does not start with an expected prefix.") - XCTAssertNil(NSString(string: randomBoundary).substringFromIndex(boundaryPrefix.characters.count).rangeOfCharacterFromSet(validCharacters.invertedSet), "Random boundary (after the prefix) contains invalid characters.") - } - - func testMultiPartIsValidWhenFilenameIsNilAndDataIsSet() { - // Setup - let subject : WebRequest.MultiPart = WebRequest.MultiPart(contentDisposition: .INLINE, name: "name") - subject.setData("0123456789ABCDEFFEDCBA9876543210".dataUsingEncoding(NSUTF8StringEncoding)!) - let isValid : Bool! - - // Action - isValid = subject.isValid() - - // Assert - XCTAssertTrue(isValid!, "isValid must be true if data is set.") - } - - func testMultiPartIsInvalidWhenNameLengthIsZero() { - // Setup - let subject : WebRequest.MultiPart = WebRequest.MultiPart(contentDisposition: .INLINE, name: "") - subject.setData("0123456789ABCDEFFEDCBA9876543210".dataUsingEncoding(NSUTF8StringEncoding)!) - let isValid : Bool! - - // Action - isValid = subject.isValid() - - // Assert - XCTAssertFalse(isValid!, "isValid must be false if name is empty.") - } - - func testMultiPartIsInvalidWhenDataIsNotSet() { - // Setup - let subject : WebRequest.MultiPart = WebRequest.MultiPart(contentDisposition: .INLINE, name: "name") - let isValid : Bool! - - // Action - isValid = subject.isValid() - - // Assert - XCTAssertFalse(isValid!, "isValid must be false if a data has not been set.") - } - - func testMultiPartIsInvalidWhenFilenameIsSetButContentTypeIsNotSet() { - // Setup - let subject : WebRequest.MultiPart = WebRequest.MultiPart(contentDisposition: .INLINE, name: "name") - subject.setData("0123456789ABCDEFFEDCBA9876543210".dataUsingEncoding(NSUTF8StringEncoding)!) - subject.setFilename("filename") - let isValid : Bool! - - // Action - isValid = subject.isValid() - - // Assert - XCTAssertFalse(isValid!, "isValid must be false if filename is set but content type is not.") - } - - func testMultiPartIsValidWhenFilenameAndContentTypeIsSet() { - // Setup - let subject : WebRequest.MultiPart = WebRequest.MultiPart(contentDisposition: .INLINE, name: "name") - subject.setData("0123456789ABCDEFFEDCBA9876543210".dataUsingEncoding(NSUTF8StringEncoding)!) - subject.setFilename("filename") - subject.setContentType("application/json") - let isValid : Bool! - - // Action - isValid = subject.isValid() - - // Assert - XCTAssertTrue(isValid!, "isValid must be true if filename and content type is set.") - } - - func testEncodeUrlString() { - // Setup - let string : String = "~!@#$%^&*()`1234567890_+-=?><;'\":|}{[]ABCDEFfedc bazzs,.\r\n\t" - let expectedEncodedString : String = "~!%40%23%24%25%5E%26*()%601234567890_%2B-%3D%3F%3E%3C%3B%27%22%3A%7C%7D%7B%5B%5DABCDEFfedc%20bazzs%2C.%0D%0A%09" - let encodedString : String! - - // Action - encodedString = WebRequest._encodeUrlString(string) - - // Assert - XCTAssertEqual(encodedString, expectedEncodedString, "encodeUrlString failed to encode a character.") - } - - func testGeneratePostBody() { - // Setup - _subject.setPostParam(key: "key", value: "value one!") - _subject.setPostParam(key: "key2", value: "value&two") - let expectedPostBody : String = "key=value%20one!&key2=value%26two" - - var postBody : String! - - // Action - postBody = _subject._generatePostBody() - - // Assert - XCTAssertEqual(postBody, expectedPostBody) - } - - func testAppendGetParamsWithNoQuestionMarkInUrl() { - // Setup - let url : String = "https://www.google.com" - _subject.setGetParam(key: "key", value: "value one!") - _subject.setGetParam(key: "key2", value: "value&two") - let expectedGetBody : String = "\(url)?key=value%20one!&key2=value%26two" - - var getBody : String! - - // Action - getBody = _subject._appendGetParams(url) - - // Assert - XCTAssertEqual(getBody, expectedGetBody) - } - - func testAppendGetParamsWithAnExistingQuestionMarkInUrl() { - // Setup - let url : String = "https://www.google.com?" - _subject.setGetParam(key: "key", value: "value one!") - _subject.setGetParam(key: "key2", value: "value&two") - let expectedGetBody : String = "\(url)key=value%20one!&key2=value%26two" - - var getBody : String! - - // Action - getBody = _subject._appendGetParams(url) - - // Assert - XCTAssertEqual(getBody, expectedGetBody) - } - - func testGenerateMultiPartBoundaryWithBoundaryNotExistingInMultiparts() { - // Setup - var i : Int = 0 - MockWebRequest.mockRandomFunction({ - () -> Int in - if (i < 32) { - i += 1 - return 0 - } - - return i++ - 32 - }) - let expectedBoundary : String = "----AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" // Determined by our mockRandomFunction - let multiPart : WebRequest.MultiPart = WebRequest.MultiPart(contentDisposition: .INLINE, name: "name") - multiPart.setData("0123456789ABCDEFFEDCBA9876543210".dataUsingEncoding(NSUTF8StringEncoding)!) - _subject.addMultiPart(multiPart) - - var boundary : String! - - // Action - boundary = _subject._generateMultiPartSafeBoundary() - - // Assert - XCTAssertEqual(boundary, expectedBoundary) - } - - func testGenerateMultiPartBoundaryWithBoundaryExistingInMultiparts() { - // Setup - var i : Int = 0 - MockWebRequest.mockRandomFunction({ - () -> Int in - if (i < 32) { - i += 1 - return 0 - } - - return i++ - 32 - }) - let invalidBoundary : String = "----AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" // Determined by our mockRandomFunction - let multiPart : WebRequest.MultiPart = WebRequest.MultiPart(contentDisposition: .INLINE, name: "name") - multiPart.setData(invalidBoundary.dataUsingEncoding(NSUTF8StringEncoding)!) - _subject.addMultiPart(multiPart) - - var boundary : String! - - // Action - boundary = _subject._generateMultiPartSafeBoundary() - print(boundary) - - // Assert - XCTAssertNotEqual(boundary, invalidBoundary) - } - - func testGenerateMultiPartBodyWithOnePart() { - // Setup - let boundary : String = "----ABCDEFGHIJKLMNOPQRSTUVWXYZ012345" - - var multiPart : WebRequest.MultiPart! - - multiPart = WebRequest.MultiPart(contentDisposition: .INLINE, name: "wizard01") - multiPart.setData("Harry Potter".dataUsingEncoding(NSUTF8StringEncoding)!) - multiPart.setSize(12) - multiPart.setCreationDate("2015-01-01") - multiPart.setModificationDate("2015-01-01") - multiPart.setReadDate("2015-01-01") - multiPart.setVoice("voice") - multiPart.setHandling("handling") - _subject.addMultiPart(multiPart) - - let expectedBody : String = "------ABCDEFGHIJKLMNOPQRSTUVWXYZ012345\r\nContent-Disposition: inline; name=\"wizard01\"; size=\"12\"; creation-date=\"2015-01-01\"; modification-date=\"2015-01-01\"; read-date=\"2015-01-01\"; voice=\"voice\"; handling=\"handling\"\r\n\r\nHarry Potter\r\n------ABCDEFGHIJKLMNOPQRSTUVWXYZ012345--\r\n" - - var multiPartBody : NSData! - - // Action - multiPartBody = _subject._generateMultiPartBody(boundary) - - // Assert - XCTAssertEqual(multiPartBody, expectedBody.dataUsingEncoding(NSUTF8StringEncoding)) - } - - func testGenerateMultiPartBodyWithMultipleParts() { - // Setup - let boundary : String = "----ABCDEFGHIJKLMNOPQRSTUVWXYZ012345" - - var multiPart : WebRequest.MultiPart! - - multiPart = WebRequest.MultiPart(contentDisposition: .INLINE, name: "wizard01") - multiPart.setData("Harry Potter".dataUsingEncoding(NSUTF8StringEncoding)!) - _subject.addMultiPart(multiPart) - - multiPart = WebRequest.MultiPart(contentDisposition: .ATTACHMENT, name: "wizard02") - multiPart.setFilename("attachment.txt") - multiPart.setContentType("text/plain") - multiPart.setData("Ronald Weasley".dataUsingEncoding(NSUTF8StringEncoding)!) - _subject.addMultiPart(multiPart) - - let expectedBody : String = "------ABCDEFGHIJKLMNOPQRSTUVWXYZ012345\r\nContent-Disposition: inline; name=\"wizard01\"\r\n\r\nHarry Potter\r\n------ABCDEFGHIJKLMNOPQRSTUVWXYZ012345\r\nContent-Disposition: attachment; name=\"wizard02\"; filename=\"attachment.txt\"\r\nContent-Type: text/plain\r\n\r\nRonald Weasley\r\n------ABCDEFGHIJKLMNOPQRSTUVWXYZ012345--\r\n" - - var multiPartBody : NSData! - - // Action - multiPartBody = _subject._generateMultiPartBody(boundary) - - // Assert - XCTAssertEqual(multiPartBody, expectedBody.dataUsingEncoding(NSUTF8StringEncoding)) - } - - func testGenerateCookieHeader() { - // Setup - _subject.addCookie(key: "key", value: "value one") - _subject.addCookie("key2=value two") - let expectedHeader : String = "key=value one; key2=value two" - - var header : String! - - // Action - header = _subject._generateCookieHeader() - print(header) - - // Assert - XCTAssertEqual(header, expectedHeader) - } - - func testSetBodyStoresTheDataToBeSent() { - // Setup - let expectedBodyText : String = "This is very important data - whatever you do, don't lose..." - let expectedBodyData : NSData = expectedBodyText.dataUsingEncoding(NSUTF8StringEncoding)! - _subject.setBody(expectedBodyText) - - // Action - let actualBody = _subject._rawBody - - // Assert - XCTAssertEqual(actualBody, expectedBodyData) - } - - func testSetUrlDoesNotEscapeCharactersRequiredInRootOfUrl() { - // Setup - let expectedUrl = "https://www.potter.com:1234/index.badphp" - - // Action - _subject.setUrl(expectedUrl) - - // Assert - XCTAssertEqual(_subject._url, expectedUrl) - } - - func testSetUrlEscapesSpacesInRootOfUrl() { - // Setup - let expectedUrl = "spaced%20out" - - // Action - _subject.setUrl("spaced out") - - // Assert - XCTAssertEqual(_subject._url, expectedUrl) - } -} diff --git a/Tests/WiseMockTests/MatchersTests/DateMatchersTests.swift b/Tests/WiseMockTests/MatchersTests/DateMatchersTests.swift new file mode 100644 index 0000000..7550355 --- /dev/null +++ b/Tests/WiseMockTests/MatchersTests/DateMatchersTests.swift @@ -0,0 +1,53 @@ +// +// DateMatchersTests.swift +// +// +// Created by Daniel Oancea on 5/17/22. +// + +import Foundation +import Quick +import Nimble + +@testable import WiseMock + +class DateMatchersTests: QuickSpec { + override func spec() { + describe("DateMatchers") { + + describe("checking if two dates are the same day") { + + it("matches the same date") { + expect(Date()).to(beTheSameDayAs(Date())) + expect(Date().addingTimeInterval(1000)).to(beTheSameDayAs(Date().addingTimeInterval(-2000))) + expect(Date().addingTimeInterval(-1000)).to(beTheSameDayAs(Date().addingTimeInterval(2000))) + expect(Date.from(year: 2022, month: 5, day: 23) ).to(beTheSameDayAs(Date.from(year: 2022, month: 5, day: 23))) + } + + it("does not match different dates") { + let date1 = Date.from(year: 2022, month: 5, day: 23) + let date2 = Date.from(year: 2022, month: 5, day: 24) + let date3 = Date.from(year: 2022, month: 4, day: 23) + let date4 = Date.from(year: 2021, month: 5, day: 23) + + expect(date1).notTo(beTheSameDayAs(date2)) + expect(date1).notTo(beTheSameDayAs(date3)) + expect(date1).notTo(beTheSameDayAs(date4)) + expect(date3).notTo(beTheSameDayAs(date2)) + expect(date2).notTo(beTheSameDayAs(date4)) + } + } + } + } +} + +fileprivate extension Date { + static func from(year: Int, month: Int, day: Int) -> Date { + var comps = DateComponents() // <1> + comps.day = day + comps.month = month + comps.year = year + + return Calendar.current.date(from: comps)! // <2> + } +} diff --git a/WiseMock.xcodeproj/project.pbxproj b/WiseMock.xcodeproj/project.pbxproj new file mode 100644 index 0000000..3ba5325 --- /dev/null +++ b/WiseMock.xcodeproj/project.pbxproj @@ -0,0 +1,489 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 55; + objects = { + +/* Begin PBXBuildFile section */ + BB162BD427B5884600C56CAF /* MockerMethods.swift in Sources */ = {isa = PBXBuildFile; fileRef = BB162BD327B5884600C56CAF /* MockerMethods.swift */; }; + BB5021EA27A434A10076C2BE /* Mockable.swift in Sources */ = {isa = PBXBuildFile; fileRef = BB5021E827A434A10076C2BE /* Mockable.swift */; }; + BB5021EB27A434A10076C2BE /* NimbleMatchers.swift in Sources */ = {isa = PBXBuildFile; fileRef = BB5021E927A434A10076C2BE /* NimbleMatchers.swift */; }; + BB5021EE27A435020076C2BE /* Nimble in Frameworks */ = {isa = PBXBuildFile; productRef = BB5021ED27A435020076C2BE /* Nimble */; }; + BB5021F827A481EB0076C2BE /* Tests in Resources */ = {isa = PBXBuildFile; fileRef = BB5021F527A481EB0076C2BE /* Tests */; }; + BB5021F927A481EB0076C2BE /* Package.swift in Sources */ = {isa = PBXBuildFile; fileRef = BB5021F627A481EB0076C2BE /* Package.swift */; }; + BB5021FA27A481EB0076C2BE /* README.md in Resources */ = {isa = PBXBuildFile; fileRef = BB5021F727A481EB0076C2BE /* README.md */; }; + D56150251C3ACE5A009EE343 /* WiseMock.h in Headers */ = {isa = PBXBuildFile; fileRef = D56150241C3ACE5A009EE343 /* WiseMock.h */; settings = {ATTRIBUTES = (Public, ); }; }; + D561502C1C3ACE5A009EE343 /* WiseMock.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D56150211C3ACE5A009EE343 /* WiseMock.framework */; }; + D56150481C3AD89D009EE343 /* Mocker.swift in Sources */ = {isa = PBXBuildFile; fileRef = D56150471C3AD89D009EE343 /* Mocker.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + D561502D1C3ACE5A009EE343 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D56150181C3ACE5A009EE343 /* Project object */; + proxyType = 1; + remoteGlobalIDString = D56150201C3ACE5A009EE343; + remoteInfo = SwiftLibs; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + BB162BD327B5884600C56CAF /* MockerMethods.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MockerMethods.swift; sourceTree = ""; }; + BB5021E827A434A10076C2BE /* Mockable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Mockable.swift; sourceTree = ""; }; + BB5021E927A434A10076C2BE /* NimbleMatchers.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NimbleMatchers.swift; sourceTree = ""; }; + BB5021F527A481EB0076C2BE /* Tests */ = {isa = PBXFileReference; lastKnownFileType = folder; path = Tests; sourceTree = ""; }; + BB5021F627A481EB0076C2BE /* Package.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Package.swift; sourceTree = ""; }; + BB5021F727A481EB0076C2BE /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; + D56150211C3ACE5A009EE343 /* WiseMock.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = WiseMock.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + D56150241C3ACE5A009EE343 /* WiseMock.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WiseMock.h; sourceTree = ""; }; + D56150261C3ACE5A009EE343 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + D561502B1C3ACE5A009EE343 /* WiseMockTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = WiseMockTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + D56150471C3AD89D009EE343 /* Mocker.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Mocker.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + D561501D1C3ACE5A009EE343 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BB5021EE27A435020076C2BE /* Nimble in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D56150281C3ACE5A009EE343 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + D561502C1C3ACE5A009EE343 /* WiseMock.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + BB5021FB27A482140076C2BE /* Sources */ = { + isa = PBXGroup; + children = ( + D56150231C3ACE5A009EE343 /* WiseMock */, + ); + path = Sources; + sourceTree = ""; + }; + D56150171C3ACE5A009EE343 = { + isa = PBXGroup; + children = ( + BB5021F627A481EB0076C2BE /* Package.swift */, + BB5021FB27A482140076C2BE /* Sources */, + BB5021F527A481EB0076C2BE /* Tests */, + D56150221C3ACE5A009EE343 /* Products */, + ); + sourceTree = ""; + }; + D56150221C3ACE5A009EE343 /* Products */ = { + isa = PBXGroup; + children = ( + D56150211C3ACE5A009EE343 /* WiseMock.framework */, + D561502B1C3ACE5A009EE343 /* WiseMockTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + D56150231C3ACE5A009EE343 /* WiseMock */ = { + isa = PBXGroup; + children = ( + BB5021E827A434A10076C2BE /* Mockable.swift */, + BB5021E927A434A10076C2BE /* NimbleMatchers.swift */, + D56150471C3AD89D009EE343 /* Mocker.swift */, + BB5021F727A481EB0076C2BE /* README.md */, + D56150241C3ACE5A009EE343 /* WiseMock.h */, + D56150261C3ACE5A009EE343 /* Info.plist */, + BB162BD327B5884600C56CAF /* MockerMethods.swift */, + ); + path = WiseMock; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + D561501E1C3ACE5A009EE343 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + D56150251C3ACE5A009EE343 /* WiseMock.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + D56150201C3ACE5A009EE343 /* WiseMock */ = { + isa = PBXNativeTarget; + buildConfigurationList = D56150351C3ACE5A009EE343 /* Build configuration list for PBXNativeTarget "WiseMock" */; + buildPhases = ( + D561501C1C3ACE5A009EE343 /* Sources */, + D561501D1C3ACE5A009EE343 /* Frameworks */, + D561501E1C3ACE5A009EE343 /* Headers */, + D561501F1C3ACE5A009EE343 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = WiseMock; + packageProductDependencies = ( + BB5021ED27A435020076C2BE /* Nimble */, + ); + productName = SwiftLibs; + productReference = D56150211C3ACE5A009EE343 /* WiseMock.framework */; + productType = "com.apple.product-type.framework"; + }; + D561502A1C3ACE5A009EE343 /* WiseMockTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = D56150381C3ACE5A009EE343 /* Build configuration list for PBXNativeTarget "WiseMockTests" */; + buildPhases = ( + D56150271C3ACE5A009EE343 /* Sources */, + D56150281C3ACE5A009EE343 /* Frameworks */, + D56150291C3ACE5A009EE343 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + D561502E1C3ACE5A009EE343 /* PBXTargetDependency */, + ); + name = WiseMockTests; + productName = SwiftLibsTests; + productReference = D561502B1C3ACE5A009EE343 /* WiseMockTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + D56150181C3ACE5A009EE343 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0720; + LastUpgradeCheck = 1320; + ORGANIZATIONNAME = "Wiser Solutions"; + TargetAttributes = { + D56150201C3ACE5A009EE343 = { + CreatedOnToolsVersion = 7.2; + }; + D561502A1C3ACE5A009EE343 = { + CreatedOnToolsVersion = 7.2; + }; + }; + }; + buildConfigurationList = D561501B1C3ACE5A009EE343 /* Build configuration list for PBXProject "WiseMock" */; + compatibilityVersion = "Xcode 13.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = D56150171C3ACE5A009EE343; + packageReferences = ( + BB5021EC27A435020076C2BE /* XCRemoteSwiftPackageReference "Nimble" */, + ); + productRefGroup = D56150221C3ACE5A009EE343 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + D56150201C3ACE5A009EE343 /* WiseMock */, + D561502A1C3ACE5A009EE343 /* WiseMockTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + D561501F1C3ACE5A009EE343 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BB5021FA27A481EB0076C2BE /* README.md in Resources */, + BB5021F827A481EB0076C2BE /* Tests in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D56150291C3ACE5A009EE343 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + D561501C1C3ACE5A009EE343 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BB162BD427B5884600C56CAF /* MockerMethods.swift in Sources */, + BB5021F927A481EB0076C2BE /* Package.swift in Sources */, + BB5021EA27A434A10076C2BE /* Mockable.swift in Sources */, + D56150481C3AD89D009EE343 /* Mocker.swift in Sources */, + BB5021EB27A434A10076C2BE /* NimbleMatchers.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D56150271C3ACE5A009EE343 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + D561502E1C3ACE5A009EE343 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = D56150201C3ACE5A009EE343 /* WiseMock */; + targetProxy = D561502D1C3ACE5A009EE343 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + D56150331C3ACE5A009EE343 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + 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_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + 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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "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 = 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 = 12.0; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + D56150341C3ACE5A009EE343 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + 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_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + 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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "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 = 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 = 12.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + D56150361C3ACE5A009EE343 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = SwiftLibs/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MARKETING_VERSION = 0.1; + PRODUCT_BUNDLE_IDENTIFIER = com.wisersolutions.wisemock; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + D56150371C3ACE5A009EE343 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = SwiftLibs/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MARKETING_VERSION = 0.1; + PRODUCT_BUNDLE_IDENTIFIER = com.wisersolutions.wisemock; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + }; + name = Release; + }; + D56150391C3ACE5A009EE343 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = SwiftLibsTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.wisersolutions.wisemock; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + D561503A1C3ACE5A009EE343 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = SwiftLibsTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.wisersolutions.wisemock; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + D561501B1C3ACE5A009EE343 /* Build configuration list for PBXProject "WiseMock" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + D56150331C3ACE5A009EE343 /* Debug */, + D56150341C3ACE5A009EE343 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + D56150351C3ACE5A009EE343 /* Build configuration list for PBXNativeTarget "WiseMock" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + D56150361C3ACE5A009EE343 /* Debug */, + D56150371C3ACE5A009EE343 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + D56150381C3ACE5A009EE343 /* Build configuration list for PBXNativeTarget "WiseMockTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + D56150391C3ACE5A009EE343 /* Debug */, + D561503A1C3ACE5A009EE343 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + +/* Begin XCRemoteSwiftPackageReference section */ + BB5021EC27A435020076C2BE /* XCRemoteSwiftPackageReference "Nimble" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/Quick/Nimble.git"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 9.2.1; + }; + }; +/* End XCRemoteSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + BB5021ED27A435020076C2BE /* Nimble */ = { + isa = XCSwiftPackageProductDependency; + package = BB5021EC27A435020076C2BE /* XCRemoteSwiftPackageReference "Nimble" */; + productName = Nimble; + }; +/* End XCSwiftPackageProductDependency section */ + }; + rootObject = D56150181C3ACE5A009EE343 /* Project object */; +} diff --git a/WiseMock.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/WiseMock.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/WiseMock.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/WiseMock.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/WiseMock.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/WiseMock.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/WiseMock.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/WiseMock.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved new file mode 100644 index 0000000..3f2289e --- /dev/null +++ b/WiseMock.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -0,0 +1,34 @@ +{ + "object": { + "pins": [ + { + "package": "CwlCatchException", + "repositoryURL": "https://github.com/mattgallagher/CwlCatchException.git", + "state": { + "branch": null, + "revision": "35f9e770f54ce62dd8526470f14c6e137cef3eea", + "version": "2.1.1" + } + }, + { + "package": "CwlPreconditionTesting", + "repositoryURL": "https://github.com/mattgallagher/CwlPreconditionTesting.git", + "state": { + "branch": null, + "revision": "c21f7bab5ca8eee0a9998bbd17ca1d0eb45d4688", + "version": "2.1.0" + } + }, + { + "package": "Nimble", + "repositoryURL": "https://github.com/Quick/Nimble.git", + "state": { + "branch": null, + "revision": "c93f16c25af5770f0d3e6af27c9634640946b068", + "version": "9.2.1" + } + } + ] + }, + "version": 1 +} diff --git a/build-assets/development/README b/build-assets/development/README deleted file mode 100644 index 6530f4d..0000000 --- a/build-assets/development/README +++ /dev/null @@ -1,8 +0,0 @@ -USAGE: - 1. Copy the SwiftLibs.framework into the destination project directory. - 2. Add the SwiftLibs.framework to the "Embedded Binaries" section within the destination Project settings. - -NOTE: - This framework is built for the the ios-simulator and ios-devices only; it will NOT work within the Apple App Store. - ** When releasing the app to the app store, be sure to link the framework's production binary, not this one. - diff --git a/build-assets/production/README b/build-assets/production/README deleted file mode 100644 index 6a93803..0000000 --- a/build-assets/production/README +++ /dev/null @@ -1,7 +0,0 @@ -USAGE: - 1. Copy the SwiftLibs.framework into the destination project directory. - 2. Add the SwiftLibs.framework to the "Embedded Binaries" section within the destination Project settings. - -NOTE: - This framework is built for the Apple App Store and ios-devices only; it will NOT work within simulators. - diff --git a/release/v1.0.0/development/README b/release/v1.0.0/development/README deleted file mode 100644 index 6530f4d..0000000 --- a/release/v1.0.0/development/README +++ /dev/null @@ -1,8 +0,0 @@ -USAGE: - 1. Copy the SwiftLibs.framework into the destination project directory. - 2. Add the SwiftLibs.framework to the "Embedded Binaries" section within the destination Project settings. - -NOTE: - This framework is built for the the ios-simulator and ios-devices only; it will NOT work within the Apple App Store. - ** When releasing the app to the app store, be sure to link the framework's production binary, not this one. - diff --git a/release/v1.0.0/development/SwiftLibs.framework/Headers/SwiftLibs-Swift.h b/release/v1.0.0/development/SwiftLibs.framework/Headers/SwiftLibs-Swift.h deleted file mode 100644 index c59ec6b..0000000 --- a/release/v1.0.0/development/SwiftLibs.framework/Headers/SwiftLibs-Swift.h +++ /dev/null @@ -1,134 +0,0 @@ -// Generated by Apple Swift version 2.1.1 (swiftlang-700.1.101.15 clang-700.1.81) -#pragma clang diagnostic push - -#if defined(__has_include) && __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if defined(__has_include) && __has_include() -# include -#elif !defined(__cplusplus) || __cplusplus < 201103L -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -#endif - -typedef struct _NSZone NSZone; - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif - -#if defined(__has_attribute) && __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if defined(__has_attribute) && __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if defined(__has_attribute) && __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if defined(__has_attribute) && __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_EXTRA _name : _type -#endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -#if defined(__has_feature) && __has_feature(modules) -@import ObjectiveC; -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -@class Response; - -SWIFT_CLASS("_TtC9SwiftLibs10WebRequest") -@interface WebRequest : NSObject -+ (WebRequest * __nonnull (^ __nonnull)(void))newInstance; -+ (void)setNewInstance:(WebRequest * __nonnull (^ __nonnull)(void))value; -- (void)setUrl:(NSString * __nonnull)url; -- (void)setHeaderWithHeader:(NSString * __nonnull)header value:(NSString * __nonnull)value; -- (void)setFollowRedirects:(BOOL)followRedirects; -- (void)setGetParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setPostParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)addCookieWithKey:(NSString * __nonnull)key value:(NSString * __nullable)value; -- (void)addCookie:(NSString * __nonnull)keyValuePair; -- (void)execute:(void (^ __nullable)(WebRequest * __nonnull, Response * __nonnull))callback; -@end - - -SWIFT_CLASS("_TtC9SwiftLibs14MockWebRequest") -@interface MockWebRequest : WebRequest -+ (void)mockRandomFunction:(NSInteger (^ __nullable)(void))randomFunction; -+ (void)restoreRandomFunction; -- (void)setUrl:(NSString * __nonnull)url; -- (void)setHeaderWithHeader:(NSString * __nonnull)header value:(NSString * __nonnull)value; -- (void)setGetParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setPostParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setFollowRedirects:(BOOL)followRedirects; -- (void)addCookieWithKey:(NSString * __nonnull)key value:(NSString * __nullable)value; -- (void)addCookie:(NSString * __nonnull)keyValuePair; -- (void)execute:(void (^ __nullable)(WebRequest * __nonnull, Response * __nonnull))callback; -@end - - -SWIFT_CLASS("_TtC9SwiftLibs6Mocker") -@interface Mocker : NSObject -- (NSInteger)getInvocationCountFor:(NSString * __nonnull)methodName; -- (void)reset; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -@end - - -#pragma clang diagnostic pop diff --git a/release/v1.0.0/development/SwiftLibs.framework/Headers/SwiftLibs.h b/release/v1.0.0/development/SwiftLibs.framework/Headers/SwiftLibs.h deleted file mode 100644 index 60c890f..0000000 --- a/release/v1.0.0/development/SwiftLibs.framework/Headers/SwiftLibs.h +++ /dev/null @@ -1,12 +0,0 @@ - -#import - -//! Project version number for SwiftLibs. -FOUNDATION_EXPORT double SwiftLibsVersionNumber; - -//! Project version string for SwiftLibs. -FOUNDATION_EXPORT const unsigned char SwiftLibsVersionString[]; - -// In this header, you should import all the public headers of your framework using statements like #import - - diff --git a/release/v1.0.0/development/SwiftLibs.framework/Info.plist b/release/v1.0.0/development/SwiftLibs.framework/Info.plist deleted file mode 100644 index 0df47f1..0000000 Binary files a/release/v1.0.0/development/SwiftLibs.framework/Info.plist and /dev/null differ diff --git a/release/v1.0.0/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc b/release/v1.0.0/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc deleted file mode 100644 index 5004339..0000000 Binary files a/release/v1.0.0/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc and /dev/null differ diff --git a/release/v1.0.0/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule b/release/v1.0.0/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule deleted file mode 100644 index 194d5f4..0000000 Binary files a/release/v1.0.0/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule and /dev/null differ diff --git a/release/v1.0.0/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc b/release/v1.0.0/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc deleted file mode 100644 index 8f6bdf2..0000000 Binary files a/release/v1.0.0/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc and /dev/null differ diff --git a/release/v1.0.0/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule b/release/v1.0.0/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule deleted file mode 100644 index 25519c7..0000000 Binary files a/release/v1.0.0/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule and /dev/null differ diff --git a/release/v1.0.0/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc b/release/v1.0.0/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc deleted file mode 100644 index 9227fd1..0000000 Binary files a/release/v1.0.0/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc and /dev/null differ diff --git a/release/v1.0.0/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule b/release/v1.0.0/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule deleted file mode 100644 index 6c9698e..0000000 Binary files a/release/v1.0.0/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule and /dev/null differ diff --git a/release/v1.0.0/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc b/release/v1.0.0/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc deleted file mode 100644 index cdac429..0000000 Binary files a/release/v1.0.0/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc and /dev/null differ diff --git a/release/v1.0.0/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule b/release/v1.0.0/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule deleted file mode 100644 index ec4e82f..0000000 Binary files a/release/v1.0.0/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule and /dev/null differ diff --git a/release/v1.0.0/development/SwiftLibs.framework/Modules/module.modulemap b/release/v1.0.0/development/SwiftLibs.framework/Modules/module.modulemap deleted file mode 100644 index 65a94d8..0000000 --- a/release/v1.0.0/development/SwiftLibs.framework/Modules/module.modulemap +++ /dev/null @@ -1,10 +0,0 @@ -framework module SwiftLibs { - umbrella header "SwiftLibs.h" - - export * - module * { export * } -} - -module SwiftLibs.Swift { - header "SwiftLibs-Swift.h" -} diff --git a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs b/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs deleted file mode 100755 index ac3f9b1..0000000 Binary files a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs and /dev/null differ diff --git a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Headers/SwiftLibs-Swift.h b/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Headers/SwiftLibs-Swift.h deleted file mode 100644 index c59ec6b..0000000 --- a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Headers/SwiftLibs-Swift.h +++ /dev/null @@ -1,134 +0,0 @@ -// Generated by Apple Swift version 2.1.1 (swiftlang-700.1.101.15 clang-700.1.81) -#pragma clang diagnostic push - -#if defined(__has_include) && __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if defined(__has_include) && __has_include() -# include -#elif !defined(__cplusplus) || __cplusplus < 201103L -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -#endif - -typedef struct _NSZone NSZone; - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif - -#if defined(__has_attribute) && __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if defined(__has_attribute) && __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if defined(__has_attribute) && __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if defined(__has_attribute) && __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_EXTRA _name : _type -#endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -#if defined(__has_feature) && __has_feature(modules) -@import ObjectiveC; -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -@class Response; - -SWIFT_CLASS("_TtC9SwiftLibs10WebRequest") -@interface WebRequest : NSObject -+ (WebRequest * __nonnull (^ __nonnull)(void))newInstance; -+ (void)setNewInstance:(WebRequest * __nonnull (^ __nonnull)(void))value; -- (void)setUrl:(NSString * __nonnull)url; -- (void)setHeaderWithHeader:(NSString * __nonnull)header value:(NSString * __nonnull)value; -- (void)setFollowRedirects:(BOOL)followRedirects; -- (void)setGetParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setPostParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)addCookieWithKey:(NSString * __nonnull)key value:(NSString * __nullable)value; -- (void)addCookie:(NSString * __nonnull)keyValuePair; -- (void)execute:(void (^ __nullable)(WebRequest * __nonnull, Response * __nonnull))callback; -@end - - -SWIFT_CLASS("_TtC9SwiftLibs14MockWebRequest") -@interface MockWebRequest : WebRequest -+ (void)mockRandomFunction:(NSInteger (^ __nullable)(void))randomFunction; -+ (void)restoreRandomFunction; -- (void)setUrl:(NSString * __nonnull)url; -- (void)setHeaderWithHeader:(NSString * __nonnull)header value:(NSString * __nonnull)value; -- (void)setGetParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setPostParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setFollowRedirects:(BOOL)followRedirects; -- (void)addCookieWithKey:(NSString * __nonnull)key value:(NSString * __nullable)value; -- (void)addCookie:(NSString * __nonnull)keyValuePair; -- (void)execute:(void (^ __nullable)(WebRequest * __nonnull, Response * __nonnull))callback; -@end - - -SWIFT_CLASS("_TtC9SwiftLibs6Mocker") -@interface Mocker : NSObject -- (NSInteger)getInvocationCountFor:(NSString * __nonnull)methodName; -- (void)reset; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -@end - - -#pragma clang diagnostic pop diff --git a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Headers/SwiftLibs.h b/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Headers/SwiftLibs.h deleted file mode 100644 index 60c890f..0000000 --- a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Headers/SwiftLibs.h +++ /dev/null @@ -1,12 +0,0 @@ - -#import - -//! Project version number for SwiftLibs. -FOUNDATION_EXPORT double SwiftLibsVersionNumber; - -//! Project version string for SwiftLibs. -FOUNDATION_EXPORT const unsigned char SwiftLibsVersionString[]; - -// In this header, you should import all the public headers of your framework using statements like #import - - diff --git a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Info.plist b/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Info.plist deleted file mode 100644 index 0df47f1..0000000 Binary files a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Info.plist and /dev/null differ diff --git a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc b/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc deleted file mode 100644 index 5004339..0000000 Binary files a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc and /dev/null differ diff --git a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule b/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule deleted file mode 100644 index 194d5f4..0000000 Binary files a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule and /dev/null differ diff --git a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc b/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc deleted file mode 100644 index 8f6bdf2..0000000 Binary files a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc and /dev/null differ diff --git a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule b/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule deleted file mode 100644 index 25519c7..0000000 Binary files a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule and /dev/null differ diff --git a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc b/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc deleted file mode 100644 index 9227fd1..0000000 Binary files a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc and /dev/null differ diff --git a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule b/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule deleted file mode 100644 index 6c9698e..0000000 Binary files a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule and /dev/null differ diff --git a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc b/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc deleted file mode 100644 index cdac429..0000000 Binary files a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc and /dev/null differ diff --git a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule b/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule deleted file mode 100644 index ec4e82f..0000000 Binary files a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule and /dev/null differ diff --git a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Modules/module.modulemap b/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Modules/module.modulemap deleted file mode 100644 index 65a94d8..0000000 --- a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/Modules/module.modulemap +++ /dev/null @@ -1,10 +0,0 @@ -framework module SwiftLibs { - umbrella header "SwiftLibs.h" - - export * - module * { export * } -} - -module SwiftLibs.Swift { - header "SwiftLibs-Swift.h" -} diff --git a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/SwiftLibs b/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/SwiftLibs deleted file mode 100755 index 55b51f4..0000000 Binary files a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/SwiftLibs and /dev/null differ diff --git a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/_CodeSignature/CodeResources b/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/_CodeSignature/CodeResources deleted file mode 100644 index 17923e2..0000000 --- a/release/v1.0.0/development/SwiftLibs.framework/SwiftLibs.framework/_CodeSignature/CodeResources +++ /dev/null @@ -1,167 +0,0 @@ - - - - - files - - Headers/SwiftLibs-Swift.h - - CSCq4MWTcgWT/gGKmJJ7dmcpx7U= - - Headers/SwiftLibs.h - - FiNtdx8cI+McuAUpdJl5tSoYgdE= - - Info.plist - - i1joipjNZoIE3msJJMj6w2rZGRw= - - Modules/SwiftLibs.swiftmodule/arm.swiftdoc - - ddSu8w5sV2hS/Pj5/5QRPOpHbHk= - - Modules/SwiftLibs.swiftmodule/arm.swiftmodule - - j2R6GqeEcoby6jVmq8fYY88p2J4= - - Modules/SwiftLibs.swiftmodule/arm64.swiftdoc - - LYz0XrXdhytuvStIqzCsMjixIy8= - - Modules/SwiftLibs.swiftmodule/arm64.swiftmodule - - Z8X86dZg6LFR7E74I7lXodOAxVU= - - Modules/module.modulemap - - z+bSrZCKN2rk+VoW/b/8bst4eiQ= - - - files2 - - Headers/SwiftLibs-Swift.h - - CSCq4MWTcgWT/gGKmJJ7dmcpx7U= - - Headers/SwiftLibs.h - - FiNtdx8cI+McuAUpdJl5tSoYgdE= - - Modules/SwiftLibs.swiftmodule/arm.swiftdoc - - ddSu8w5sV2hS/Pj5/5QRPOpHbHk= - - Modules/SwiftLibs.swiftmodule/arm.swiftmodule - - j2R6GqeEcoby6jVmq8fYY88p2J4= - - Modules/SwiftLibs.swiftmodule/arm64.swiftdoc - - LYz0XrXdhytuvStIqzCsMjixIy8= - - Modules/SwiftLibs.swiftmodule/arm64.swiftmodule - - Z8X86dZg6LFR7E74I7lXodOAxVU= - - Modules/module.modulemap - - z+bSrZCKN2rk+VoW/b/8bst4eiQ= - - - rules - - ^ - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^version.plist$ - - - rules2 - - .*\.dSYM($|/) - - weight - 11 - - ^ - - weight - 20 - - ^(.*/)?\.DS_Store$ - - omit - - weight - 2000 - - ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ - - nested - - weight - 10 - - ^.* - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Info\.plist$ - - omit - - weight - 20 - - ^PkgInfo$ - - omit - - weight - 20 - - ^[^/]+$ - - nested - - weight - 10 - - ^embedded\.provisionprofile$ - - weight - 20 - - ^version\.plist$ - - weight - 20 - - - - diff --git a/release/v1.0.0/development/SwiftLibs.framework/_CodeSignature/CodeResources b/release/v1.0.0/development/SwiftLibs.framework/_CodeSignature/CodeResources deleted file mode 100644 index 17923e2..0000000 --- a/release/v1.0.0/development/SwiftLibs.framework/_CodeSignature/CodeResources +++ /dev/null @@ -1,167 +0,0 @@ - - - - - files - - Headers/SwiftLibs-Swift.h - - CSCq4MWTcgWT/gGKmJJ7dmcpx7U= - - Headers/SwiftLibs.h - - FiNtdx8cI+McuAUpdJl5tSoYgdE= - - Info.plist - - i1joipjNZoIE3msJJMj6w2rZGRw= - - Modules/SwiftLibs.swiftmodule/arm.swiftdoc - - ddSu8w5sV2hS/Pj5/5QRPOpHbHk= - - Modules/SwiftLibs.swiftmodule/arm.swiftmodule - - j2R6GqeEcoby6jVmq8fYY88p2J4= - - Modules/SwiftLibs.swiftmodule/arm64.swiftdoc - - LYz0XrXdhytuvStIqzCsMjixIy8= - - Modules/SwiftLibs.swiftmodule/arm64.swiftmodule - - Z8X86dZg6LFR7E74I7lXodOAxVU= - - Modules/module.modulemap - - z+bSrZCKN2rk+VoW/b/8bst4eiQ= - - - files2 - - Headers/SwiftLibs-Swift.h - - CSCq4MWTcgWT/gGKmJJ7dmcpx7U= - - Headers/SwiftLibs.h - - FiNtdx8cI+McuAUpdJl5tSoYgdE= - - Modules/SwiftLibs.swiftmodule/arm.swiftdoc - - ddSu8w5sV2hS/Pj5/5QRPOpHbHk= - - Modules/SwiftLibs.swiftmodule/arm.swiftmodule - - j2R6GqeEcoby6jVmq8fYY88p2J4= - - Modules/SwiftLibs.swiftmodule/arm64.swiftdoc - - LYz0XrXdhytuvStIqzCsMjixIy8= - - Modules/SwiftLibs.swiftmodule/arm64.swiftmodule - - Z8X86dZg6LFR7E74I7lXodOAxVU= - - Modules/module.modulemap - - z+bSrZCKN2rk+VoW/b/8bst4eiQ= - - - rules - - ^ - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^version.plist$ - - - rules2 - - .*\.dSYM($|/) - - weight - 11 - - ^ - - weight - 20 - - ^(.*/)?\.DS_Store$ - - omit - - weight - 2000 - - ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ - - nested - - weight - 10 - - ^.* - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Info\.plist$ - - omit - - weight - 20 - - ^PkgInfo$ - - omit - - weight - 20 - - ^[^/]+$ - - nested - - weight - 10 - - ^embedded\.provisionprofile$ - - weight - 20 - - ^version\.plist$ - - weight - 20 - - - - diff --git a/release/v1.0.0/production/README b/release/v1.0.0/production/README deleted file mode 100644 index 6a93803..0000000 --- a/release/v1.0.0/production/README +++ /dev/null @@ -1,7 +0,0 @@ -USAGE: - 1. Copy the SwiftLibs.framework into the destination project directory. - 2. Add the SwiftLibs.framework to the "Embedded Binaries" section within the destination Project settings. - -NOTE: - This framework is built for the Apple App Store and ios-devices only; it will NOT work within simulators. - diff --git a/release/v1.0.0/production/SwiftLibs.framework/Headers/SwiftLibs-Swift.h b/release/v1.0.0/production/SwiftLibs.framework/Headers/SwiftLibs-Swift.h deleted file mode 100644 index c59ec6b..0000000 --- a/release/v1.0.0/production/SwiftLibs.framework/Headers/SwiftLibs-Swift.h +++ /dev/null @@ -1,134 +0,0 @@ -// Generated by Apple Swift version 2.1.1 (swiftlang-700.1.101.15 clang-700.1.81) -#pragma clang diagnostic push - -#if defined(__has_include) && __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if defined(__has_include) && __has_include() -# include -#elif !defined(__cplusplus) || __cplusplus < 201103L -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -#endif - -typedef struct _NSZone NSZone; - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif - -#if defined(__has_attribute) && __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if defined(__has_attribute) && __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if defined(__has_attribute) && __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if defined(__has_attribute) && __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_EXTRA _name : _type -#endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -#if defined(__has_feature) && __has_feature(modules) -@import ObjectiveC; -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -@class Response; - -SWIFT_CLASS("_TtC9SwiftLibs10WebRequest") -@interface WebRequest : NSObject -+ (WebRequest * __nonnull (^ __nonnull)(void))newInstance; -+ (void)setNewInstance:(WebRequest * __nonnull (^ __nonnull)(void))value; -- (void)setUrl:(NSString * __nonnull)url; -- (void)setHeaderWithHeader:(NSString * __nonnull)header value:(NSString * __nonnull)value; -- (void)setFollowRedirects:(BOOL)followRedirects; -- (void)setGetParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setPostParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)addCookieWithKey:(NSString * __nonnull)key value:(NSString * __nullable)value; -- (void)addCookie:(NSString * __nonnull)keyValuePair; -- (void)execute:(void (^ __nullable)(WebRequest * __nonnull, Response * __nonnull))callback; -@end - - -SWIFT_CLASS("_TtC9SwiftLibs14MockWebRequest") -@interface MockWebRequest : WebRequest -+ (void)mockRandomFunction:(NSInteger (^ __nullable)(void))randomFunction; -+ (void)restoreRandomFunction; -- (void)setUrl:(NSString * __nonnull)url; -- (void)setHeaderWithHeader:(NSString * __nonnull)header value:(NSString * __nonnull)value; -- (void)setGetParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setPostParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setFollowRedirects:(BOOL)followRedirects; -- (void)addCookieWithKey:(NSString * __nonnull)key value:(NSString * __nullable)value; -- (void)addCookie:(NSString * __nonnull)keyValuePair; -- (void)execute:(void (^ __nullable)(WebRequest * __nonnull, Response * __nonnull))callback; -@end - - -SWIFT_CLASS("_TtC9SwiftLibs6Mocker") -@interface Mocker : NSObject -- (NSInteger)getInvocationCountFor:(NSString * __nonnull)methodName; -- (void)reset; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -@end - - -#pragma clang diagnostic pop diff --git a/release/v1.0.0/production/SwiftLibs.framework/Headers/SwiftLibs.h b/release/v1.0.0/production/SwiftLibs.framework/Headers/SwiftLibs.h deleted file mode 100644 index 60c890f..0000000 --- a/release/v1.0.0/production/SwiftLibs.framework/Headers/SwiftLibs.h +++ /dev/null @@ -1,12 +0,0 @@ - -#import - -//! Project version number for SwiftLibs. -FOUNDATION_EXPORT double SwiftLibsVersionNumber; - -//! Project version string for SwiftLibs. -FOUNDATION_EXPORT const unsigned char SwiftLibsVersionString[]; - -// In this header, you should import all the public headers of your framework using statements like #import - - diff --git a/release/v1.0.0/production/SwiftLibs.framework/Info.plist b/release/v1.0.0/production/SwiftLibs.framework/Info.plist deleted file mode 100644 index 0df47f1..0000000 Binary files a/release/v1.0.0/production/SwiftLibs.framework/Info.plist and /dev/null differ diff --git a/release/v1.0.0/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc b/release/v1.0.0/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc deleted file mode 100644 index 5004339..0000000 Binary files a/release/v1.0.0/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc and /dev/null differ diff --git a/release/v1.0.0/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule b/release/v1.0.0/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule deleted file mode 100644 index 194d5f4..0000000 Binary files a/release/v1.0.0/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule and /dev/null differ diff --git a/release/v1.0.0/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc b/release/v1.0.0/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc deleted file mode 100644 index 8f6bdf2..0000000 Binary files a/release/v1.0.0/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc and /dev/null differ diff --git a/release/v1.0.0/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule b/release/v1.0.0/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule deleted file mode 100644 index 25519c7..0000000 Binary files a/release/v1.0.0/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule and /dev/null differ diff --git a/release/v1.0.0/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc b/release/v1.0.0/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc deleted file mode 100644 index 9227fd1..0000000 Binary files a/release/v1.0.0/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc and /dev/null differ diff --git a/release/v1.0.0/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule b/release/v1.0.0/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule deleted file mode 100644 index 6c9698e..0000000 Binary files a/release/v1.0.0/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule and /dev/null differ diff --git a/release/v1.0.0/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc b/release/v1.0.0/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc deleted file mode 100644 index cdac429..0000000 Binary files a/release/v1.0.0/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc and /dev/null differ diff --git a/release/v1.0.0/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule b/release/v1.0.0/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule deleted file mode 100644 index ec4e82f..0000000 Binary files a/release/v1.0.0/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule and /dev/null differ diff --git a/release/v1.0.0/production/SwiftLibs.framework/Modules/module.modulemap b/release/v1.0.0/production/SwiftLibs.framework/Modules/module.modulemap deleted file mode 100644 index 65a94d8..0000000 --- a/release/v1.0.0/production/SwiftLibs.framework/Modules/module.modulemap +++ /dev/null @@ -1,10 +0,0 @@ -framework module SwiftLibs { - umbrella header "SwiftLibs.h" - - export * - module * { export * } -} - -module SwiftLibs.Swift { - header "SwiftLibs-Swift.h" -} diff --git a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs b/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs deleted file mode 100755 index 9f47d1b..0000000 Binary files a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs and /dev/null differ diff --git a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Headers/SwiftLibs-Swift.h b/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Headers/SwiftLibs-Swift.h deleted file mode 100644 index c59ec6b..0000000 --- a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Headers/SwiftLibs-Swift.h +++ /dev/null @@ -1,134 +0,0 @@ -// Generated by Apple Swift version 2.1.1 (swiftlang-700.1.101.15 clang-700.1.81) -#pragma clang diagnostic push - -#if defined(__has_include) && __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if defined(__has_include) && __has_include() -# include -#elif !defined(__cplusplus) || __cplusplus < 201103L -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -#endif - -typedef struct _NSZone NSZone; - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif - -#if defined(__has_attribute) && __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if defined(__has_attribute) && __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if defined(__has_attribute) && __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if defined(__has_attribute) && __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_EXTRA _name : _type -#endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -#if defined(__has_feature) && __has_feature(modules) -@import ObjectiveC; -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -@class Response; - -SWIFT_CLASS("_TtC9SwiftLibs10WebRequest") -@interface WebRequest : NSObject -+ (WebRequest * __nonnull (^ __nonnull)(void))newInstance; -+ (void)setNewInstance:(WebRequest * __nonnull (^ __nonnull)(void))value; -- (void)setUrl:(NSString * __nonnull)url; -- (void)setHeaderWithHeader:(NSString * __nonnull)header value:(NSString * __nonnull)value; -- (void)setFollowRedirects:(BOOL)followRedirects; -- (void)setGetParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setPostParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)addCookieWithKey:(NSString * __nonnull)key value:(NSString * __nullable)value; -- (void)addCookie:(NSString * __nonnull)keyValuePair; -- (void)execute:(void (^ __nullable)(WebRequest * __nonnull, Response * __nonnull))callback; -@end - - -SWIFT_CLASS("_TtC9SwiftLibs14MockWebRequest") -@interface MockWebRequest : WebRequest -+ (void)mockRandomFunction:(NSInteger (^ __nullable)(void))randomFunction; -+ (void)restoreRandomFunction; -- (void)setUrl:(NSString * __nonnull)url; -- (void)setHeaderWithHeader:(NSString * __nonnull)header value:(NSString * __nonnull)value; -- (void)setGetParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setPostParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setFollowRedirects:(BOOL)followRedirects; -- (void)addCookieWithKey:(NSString * __nonnull)key value:(NSString * __nullable)value; -- (void)addCookie:(NSString * __nonnull)keyValuePair; -- (void)execute:(void (^ __nullable)(WebRequest * __nonnull, Response * __nonnull))callback; -@end - - -SWIFT_CLASS("_TtC9SwiftLibs6Mocker") -@interface Mocker : NSObject -- (NSInteger)getInvocationCountFor:(NSString * __nonnull)methodName; -- (void)reset; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -@end - - -#pragma clang diagnostic pop diff --git a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Headers/SwiftLibs.h b/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Headers/SwiftLibs.h deleted file mode 100644 index 60c890f..0000000 --- a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Headers/SwiftLibs.h +++ /dev/null @@ -1,12 +0,0 @@ - -#import - -//! Project version number for SwiftLibs. -FOUNDATION_EXPORT double SwiftLibsVersionNumber; - -//! Project version string for SwiftLibs. -FOUNDATION_EXPORT const unsigned char SwiftLibsVersionString[]; - -// In this header, you should import all the public headers of your framework using statements like #import - - diff --git a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Info.plist b/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Info.plist deleted file mode 100644 index 0df47f1..0000000 Binary files a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Info.plist and /dev/null differ diff --git a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc b/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc deleted file mode 100644 index 5004339..0000000 Binary files a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc and /dev/null differ diff --git a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule b/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule deleted file mode 100644 index 194d5f4..0000000 Binary files a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule and /dev/null differ diff --git a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc b/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc deleted file mode 100644 index 8f6bdf2..0000000 Binary files a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc and /dev/null differ diff --git a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule b/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule deleted file mode 100644 index 25519c7..0000000 Binary files a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule and /dev/null differ diff --git a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc b/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc deleted file mode 100644 index 9227fd1..0000000 Binary files a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc and /dev/null differ diff --git a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule b/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule deleted file mode 100644 index 6c9698e..0000000 Binary files a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule and /dev/null differ diff --git a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc b/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc deleted file mode 100644 index cdac429..0000000 Binary files a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc and /dev/null differ diff --git a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule b/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule deleted file mode 100644 index ec4e82f..0000000 Binary files a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule and /dev/null differ diff --git a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Modules/module.modulemap b/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Modules/module.modulemap deleted file mode 100644 index 65a94d8..0000000 --- a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/Modules/module.modulemap +++ /dev/null @@ -1,10 +0,0 @@ -framework module SwiftLibs { - umbrella header "SwiftLibs.h" - - export * - module * { export * } -} - -module SwiftLibs.Swift { - header "SwiftLibs-Swift.h" -} diff --git a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/SwiftLibs b/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/SwiftLibs deleted file mode 100755 index ca13a34..0000000 Binary files a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/SwiftLibs and /dev/null differ diff --git a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/_CodeSignature/CodeResources b/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/_CodeSignature/CodeResources deleted file mode 100644 index 17923e2..0000000 --- a/release/v1.0.0/production/SwiftLibs.framework/SwiftLibs.framework/_CodeSignature/CodeResources +++ /dev/null @@ -1,167 +0,0 @@ - - - - - files - - Headers/SwiftLibs-Swift.h - - CSCq4MWTcgWT/gGKmJJ7dmcpx7U= - - Headers/SwiftLibs.h - - FiNtdx8cI+McuAUpdJl5tSoYgdE= - - Info.plist - - i1joipjNZoIE3msJJMj6w2rZGRw= - - Modules/SwiftLibs.swiftmodule/arm.swiftdoc - - ddSu8w5sV2hS/Pj5/5QRPOpHbHk= - - Modules/SwiftLibs.swiftmodule/arm.swiftmodule - - j2R6GqeEcoby6jVmq8fYY88p2J4= - - Modules/SwiftLibs.swiftmodule/arm64.swiftdoc - - LYz0XrXdhytuvStIqzCsMjixIy8= - - Modules/SwiftLibs.swiftmodule/arm64.swiftmodule - - Z8X86dZg6LFR7E74I7lXodOAxVU= - - Modules/module.modulemap - - z+bSrZCKN2rk+VoW/b/8bst4eiQ= - - - files2 - - Headers/SwiftLibs-Swift.h - - CSCq4MWTcgWT/gGKmJJ7dmcpx7U= - - Headers/SwiftLibs.h - - FiNtdx8cI+McuAUpdJl5tSoYgdE= - - Modules/SwiftLibs.swiftmodule/arm.swiftdoc - - ddSu8w5sV2hS/Pj5/5QRPOpHbHk= - - Modules/SwiftLibs.swiftmodule/arm.swiftmodule - - j2R6GqeEcoby6jVmq8fYY88p2J4= - - Modules/SwiftLibs.swiftmodule/arm64.swiftdoc - - LYz0XrXdhytuvStIqzCsMjixIy8= - - Modules/SwiftLibs.swiftmodule/arm64.swiftmodule - - Z8X86dZg6LFR7E74I7lXodOAxVU= - - Modules/module.modulemap - - z+bSrZCKN2rk+VoW/b/8bst4eiQ= - - - rules - - ^ - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^version.plist$ - - - rules2 - - .*\.dSYM($|/) - - weight - 11 - - ^ - - weight - 20 - - ^(.*/)?\.DS_Store$ - - omit - - weight - 2000 - - ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ - - nested - - weight - 10 - - ^.* - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Info\.plist$ - - omit - - weight - 20 - - ^PkgInfo$ - - omit - - weight - 20 - - ^[^/]+$ - - nested - - weight - 10 - - ^embedded\.provisionprofile$ - - weight - 20 - - ^version\.plist$ - - weight - 20 - - - - diff --git a/release/v1.0.0/production/SwiftLibs.framework/_CodeSignature/CodeResources b/release/v1.0.0/production/SwiftLibs.framework/_CodeSignature/CodeResources deleted file mode 100644 index 17923e2..0000000 --- a/release/v1.0.0/production/SwiftLibs.framework/_CodeSignature/CodeResources +++ /dev/null @@ -1,167 +0,0 @@ - - - - - files - - Headers/SwiftLibs-Swift.h - - CSCq4MWTcgWT/gGKmJJ7dmcpx7U= - - Headers/SwiftLibs.h - - FiNtdx8cI+McuAUpdJl5tSoYgdE= - - Info.plist - - i1joipjNZoIE3msJJMj6w2rZGRw= - - Modules/SwiftLibs.swiftmodule/arm.swiftdoc - - ddSu8w5sV2hS/Pj5/5QRPOpHbHk= - - Modules/SwiftLibs.swiftmodule/arm.swiftmodule - - j2R6GqeEcoby6jVmq8fYY88p2J4= - - Modules/SwiftLibs.swiftmodule/arm64.swiftdoc - - LYz0XrXdhytuvStIqzCsMjixIy8= - - Modules/SwiftLibs.swiftmodule/arm64.swiftmodule - - Z8X86dZg6LFR7E74I7lXodOAxVU= - - Modules/module.modulemap - - z+bSrZCKN2rk+VoW/b/8bst4eiQ= - - - files2 - - Headers/SwiftLibs-Swift.h - - CSCq4MWTcgWT/gGKmJJ7dmcpx7U= - - Headers/SwiftLibs.h - - FiNtdx8cI+McuAUpdJl5tSoYgdE= - - Modules/SwiftLibs.swiftmodule/arm.swiftdoc - - ddSu8w5sV2hS/Pj5/5QRPOpHbHk= - - Modules/SwiftLibs.swiftmodule/arm.swiftmodule - - j2R6GqeEcoby6jVmq8fYY88p2J4= - - Modules/SwiftLibs.swiftmodule/arm64.swiftdoc - - LYz0XrXdhytuvStIqzCsMjixIy8= - - Modules/SwiftLibs.swiftmodule/arm64.swiftmodule - - Z8X86dZg6LFR7E74I7lXodOAxVU= - - Modules/module.modulemap - - z+bSrZCKN2rk+VoW/b/8bst4eiQ= - - - rules - - ^ - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^version.plist$ - - - rules2 - - .*\.dSYM($|/) - - weight - 11 - - ^ - - weight - 20 - - ^(.*/)?\.DS_Store$ - - omit - - weight - 2000 - - ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ - - nested - - weight - 10 - - ^.* - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Info\.plist$ - - omit - - weight - 20 - - ^PkgInfo$ - - omit - - weight - 20 - - ^[^/]+$ - - nested - - weight - 10 - - ^embedded\.provisionprofile$ - - weight - 20 - - ^version\.plist$ - - weight - 20 - - - - diff --git a/release/v1.0.2/development/README b/release/v1.0.2/development/README deleted file mode 100644 index 6530f4d..0000000 --- a/release/v1.0.2/development/README +++ /dev/null @@ -1,8 +0,0 @@ -USAGE: - 1. Copy the SwiftLibs.framework into the destination project directory. - 2. Add the SwiftLibs.framework to the "Embedded Binaries" section within the destination Project settings. - -NOTE: - This framework is built for the the ios-simulator and ios-devices only; it will NOT work within the Apple App Store. - ** When releasing the app to the app store, be sure to link the framework's production binary, not this one. - diff --git a/release/v1.0.2/development/SwiftLibs.framework/Headers/SwiftLibs-Swift.h b/release/v1.0.2/development/SwiftLibs.framework/Headers/SwiftLibs-Swift.h deleted file mode 100644 index ccaa561..0000000 --- a/release/v1.0.2/development/SwiftLibs.framework/Headers/SwiftLibs-Swift.h +++ /dev/null @@ -1,135 +0,0 @@ -// Generated by Apple Swift version 2.1.1 (swiftlang-700.1.101.15 clang-700.1.81) -#pragma clang diagnostic push - -#if defined(__has_include) && __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if defined(__has_include) && __has_include() -# include -#elif !defined(__cplusplus) || __cplusplus < 201103L -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -#endif - -typedef struct _NSZone NSZone; - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif - -#if defined(__has_attribute) && __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if defined(__has_attribute) && __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if defined(__has_attribute) && __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if defined(__has_attribute) && __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_EXTRA _name : _type -#endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -#if defined(__has_feature) && __has_feature(modules) -@import ObjectiveC; -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -@class Response; - -SWIFT_CLASS("_TtC9SwiftLibs10WebRequest") -@interface WebRequest : NSObject -+ (WebRequest * __nonnull (^ __nonnull)(void))newInstance; -+ (void)setNewInstance:(WebRequest * __nonnull (^ __nonnull)(void))value; -- (void)setUrl:(NSString * __nonnull)url; -- (void)setHeaderWithHeader:(NSString * __nonnull)header value:(NSString * __nonnull)value; -- (void)setFollowRedirects:(BOOL)followRedirects; -- (void)setGetParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setPostParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)addCookieWithKey:(NSString * __nonnull)key value:(NSString * __nullable)value; -- (void)addCookie:(NSString * __nonnull)keyValuePair; -- (void)execute:(void (^ __nullable)(WebRequest * __nonnull, Response * __nonnull))callback; -@end - - -SWIFT_CLASS("_TtC9SwiftLibs14MockWebRequest") -@interface MockWebRequest : WebRequest -+ (void)mockRandomFunction:(NSInteger (^ __nullable)(void))randomFunction; -+ (void)restoreRandomFunction; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -- (void)setUrl:(NSString * __nonnull)url; -- (void)setHeaderWithHeader:(NSString * __nonnull)header value:(NSString * __nonnull)value; -- (void)setGetParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setPostParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setFollowRedirects:(BOOL)followRedirects; -- (void)addCookieWithKey:(NSString * __nonnull)key value:(NSString * __nullable)value; -- (void)addCookie:(NSString * __nonnull)keyValuePair; -- (void)execute:(void (^ __nullable)(WebRequest * __nonnull, Response * __nonnull))callback; -@end - - -SWIFT_CLASS("_TtC9SwiftLibs6Mocker") -@interface Mocker : NSObject -- (NSInteger)getInvocationCountFor:(NSString * __nonnull)methodName; -- (void)reset; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -@end - - -#pragma clang diagnostic pop diff --git a/release/v1.0.2/development/SwiftLibs.framework/Headers/SwiftLibs.h b/release/v1.0.2/development/SwiftLibs.framework/Headers/SwiftLibs.h deleted file mode 100644 index 60c890f..0000000 --- a/release/v1.0.2/development/SwiftLibs.framework/Headers/SwiftLibs.h +++ /dev/null @@ -1,12 +0,0 @@ - -#import - -//! Project version number for SwiftLibs. -FOUNDATION_EXPORT double SwiftLibsVersionNumber; - -//! Project version string for SwiftLibs. -FOUNDATION_EXPORT const unsigned char SwiftLibsVersionString[]; - -// In this header, you should import all the public headers of your framework using statements like #import - - diff --git a/release/v1.0.2/development/SwiftLibs.framework/Info.plist b/release/v1.0.2/development/SwiftLibs.framework/Info.plist deleted file mode 100644 index d8de24a..0000000 Binary files a/release/v1.0.2/development/SwiftLibs.framework/Info.plist and /dev/null differ diff --git a/release/v1.0.2/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc b/release/v1.0.2/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc deleted file mode 100644 index 5004339..0000000 Binary files a/release/v1.0.2/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc and /dev/null differ diff --git a/release/v1.0.2/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule b/release/v1.0.2/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule deleted file mode 100644 index c2e0ae7..0000000 Binary files a/release/v1.0.2/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule and /dev/null differ diff --git a/release/v1.0.2/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc b/release/v1.0.2/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc deleted file mode 100644 index 8f6bdf2..0000000 Binary files a/release/v1.0.2/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc and /dev/null differ diff --git a/release/v1.0.2/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule b/release/v1.0.2/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule deleted file mode 100644 index 7ce1a43..0000000 Binary files a/release/v1.0.2/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule and /dev/null differ diff --git a/release/v1.0.2/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc b/release/v1.0.2/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc deleted file mode 100644 index 9227fd1..0000000 Binary files a/release/v1.0.2/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc and /dev/null differ diff --git a/release/v1.0.2/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule b/release/v1.0.2/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule deleted file mode 100644 index 25a64bf..0000000 Binary files a/release/v1.0.2/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule and /dev/null differ diff --git a/release/v1.0.2/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc b/release/v1.0.2/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc deleted file mode 100644 index cdac429..0000000 Binary files a/release/v1.0.2/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc and /dev/null differ diff --git a/release/v1.0.2/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule b/release/v1.0.2/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule deleted file mode 100644 index 94ade9d..0000000 Binary files a/release/v1.0.2/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule and /dev/null differ diff --git a/release/v1.0.2/development/SwiftLibs.framework/Modules/module.modulemap b/release/v1.0.2/development/SwiftLibs.framework/Modules/module.modulemap deleted file mode 100644 index 65a94d8..0000000 --- a/release/v1.0.2/development/SwiftLibs.framework/Modules/module.modulemap +++ /dev/null @@ -1,10 +0,0 @@ -framework module SwiftLibs { - umbrella header "SwiftLibs.h" - - export * - module * { export * } -} - -module SwiftLibs.Swift { - header "SwiftLibs-Swift.h" -} diff --git a/release/v1.0.2/development/SwiftLibs.framework/SwiftLibs b/release/v1.0.2/development/SwiftLibs.framework/SwiftLibs deleted file mode 100755 index 1ce50cf..0000000 Binary files a/release/v1.0.2/development/SwiftLibs.framework/SwiftLibs and /dev/null differ diff --git a/release/v1.0.2/development/SwiftLibs.framework/_CodeSignature/CodeResources b/release/v1.0.2/development/SwiftLibs.framework/_CodeSignature/CodeResources deleted file mode 100644 index df86abf..0000000 --- a/release/v1.0.2/development/SwiftLibs.framework/_CodeSignature/CodeResources +++ /dev/null @@ -1,167 +0,0 @@ - - - - - files - - Headers/SwiftLibs-Swift.h - - Q6Hi2xAkMT9UG9UvpLg+EUpr/JQ= - - Headers/SwiftLibs.h - - FiNtdx8cI+McuAUpdJl5tSoYgdE= - - Info.plist - - UP52L7zlGf+k7ad/dfSI4giTHOM= - - Modules/SwiftLibs.swiftmodule/arm.swiftdoc - - ddSu8w5sV2hS/Pj5/5QRPOpHbHk= - - Modules/SwiftLibs.swiftmodule/arm.swiftmodule - - c0wj++zZr8R2LmoBgnnaJRpqRN0= - - Modules/SwiftLibs.swiftmodule/arm64.swiftdoc - - LYz0XrXdhytuvStIqzCsMjixIy8= - - Modules/SwiftLibs.swiftmodule/arm64.swiftmodule - - hs/D3U4CKE1FGxuEItLbUFAw3j8= - - Modules/module.modulemap - - z+bSrZCKN2rk+VoW/b/8bst4eiQ= - - - files2 - - Headers/SwiftLibs-Swift.h - - Q6Hi2xAkMT9UG9UvpLg+EUpr/JQ= - - Headers/SwiftLibs.h - - FiNtdx8cI+McuAUpdJl5tSoYgdE= - - Modules/SwiftLibs.swiftmodule/arm.swiftdoc - - ddSu8w5sV2hS/Pj5/5QRPOpHbHk= - - Modules/SwiftLibs.swiftmodule/arm.swiftmodule - - c0wj++zZr8R2LmoBgnnaJRpqRN0= - - Modules/SwiftLibs.swiftmodule/arm64.swiftdoc - - LYz0XrXdhytuvStIqzCsMjixIy8= - - Modules/SwiftLibs.swiftmodule/arm64.swiftmodule - - hs/D3U4CKE1FGxuEItLbUFAw3j8= - - Modules/module.modulemap - - z+bSrZCKN2rk+VoW/b/8bst4eiQ= - - - rules - - ^ - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^version.plist$ - - - rules2 - - .*\.dSYM($|/) - - weight - 11 - - ^ - - weight - 20 - - ^(.*/)?\.DS_Store$ - - omit - - weight - 2000 - - ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ - - nested - - weight - 10 - - ^.* - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Info\.plist$ - - omit - - weight - 20 - - ^PkgInfo$ - - omit - - weight - 20 - - ^[^/]+$ - - nested - - weight - 10 - - ^embedded\.provisionprofile$ - - weight - 20 - - ^version\.plist$ - - weight - 20 - - - - diff --git a/release/v1.0.2/production/README b/release/v1.0.2/production/README deleted file mode 100644 index 6a93803..0000000 --- a/release/v1.0.2/production/README +++ /dev/null @@ -1,7 +0,0 @@ -USAGE: - 1. Copy the SwiftLibs.framework into the destination project directory. - 2. Add the SwiftLibs.framework to the "Embedded Binaries" section within the destination Project settings. - -NOTE: - This framework is built for the Apple App Store and ios-devices only; it will NOT work within simulators. - diff --git a/release/v1.0.2/production/SwiftLibs.framework/Headers/SwiftLibs-Swift.h b/release/v1.0.2/production/SwiftLibs.framework/Headers/SwiftLibs-Swift.h deleted file mode 100644 index ccaa561..0000000 --- a/release/v1.0.2/production/SwiftLibs.framework/Headers/SwiftLibs-Swift.h +++ /dev/null @@ -1,135 +0,0 @@ -// Generated by Apple Swift version 2.1.1 (swiftlang-700.1.101.15 clang-700.1.81) -#pragma clang diagnostic push - -#if defined(__has_include) && __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if defined(__has_include) && __has_include() -# include -#elif !defined(__cplusplus) || __cplusplus < 201103L -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -#endif - -typedef struct _NSZone NSZone; - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif - -#if defined(__has_attribute) && __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if defined(__has_attribute) && __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if defined(__has_attribute) && __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if defined(__has_attribute) && __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_EXTRA _name : _type -#endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -#if defined(__has_feature) && __has_feature(modules) -@import ObjectiveC; -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -@class Response; - -SWIFT_CLASS("_TtC9SwiftLibs10WebRequest") -@interface WebRequest : NSObject -+ (WebRequest * __nonnull (^ __nonnull)(void))newInstance; -+ (void)setNewInstance:(WebRequest * __nonnull (^ __nonnull)(void))value; -- (void)setUrl:(NSString * __nonnull)url; -- (void)setHeaderWithHeader:(NSString * __nonnull)header value:(NSString * __nonnull)value; -- (void)setFollowRedirects:(BOOL)followRedirects; -- (void)setGetParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setPostParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)addCookieWithKey:(NSString * __nonnull)key value:(NSString * __nullable)value; -- (void)addCookie:(NSString * __nonnull)keyValuePair; -- (void)execute:(void (^ __nullable)(WebRequest * __nonnull, Response * __nonnull))callback; -@end - - -SWIFT_CLASS("_TtC9SwiftLibs14MockWebRequest") -@interface MockWebRequest : WebRequest -+ (void)mockRandomFunction:(NSInteger (^ __nullable)(void))randomFunction; -+ (void)restoreRandomFunction; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -- (void)setUrl:(NSString * __nonnull)url; -- (void)setHeaderWithHeader:(NSString * __nonnull)header value:(NSString * __nonnull)value; -- (void)setGetParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setPostParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setFollowRedirects:(BOOL)followRedirects; -- (void)addCookieWithKey:(NSString * __nonnull)key value:(NSString * __nullable)value; -- (void)addCookie:(NSString * __nonnull)keyValuePair; -- (void)execute:(void (^ __nullable)(WebRequest * __nonnull, Response * __nonnull))callback; -@end - - -SWIFT_CLASS("_TtC9SwiftLibs6Mocker") -@interface Mocker : NSObject -- (NSInteger)getInvocationCountFor:(NSString * __nonnull)methodName; -- (void)reset; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -@end - - -#pragma clang diagnostic pop diff --git a/release/v1.0.2/production/SwiftLibs.framework/Headers/SwiftLibs.h b/release/v1.0.2/production/SwiftLibs.framework/Headers/SwiftLibs.h deleted file mode 100644 index 60c890f..0000000 --- a/release/v1.0.2/production/SwiftLibs.framework/Headers/SwiftLibs.h +++ /dev/null @@ -1,12 +0,0 @@ - -#import - -//! Project version number for SwiftLibs. -FOUNDATION_EXPORT double SwiftLibsVersionNumber; - -//! Project version string for SwiftLibs. -FOUNDATION_EXPORT const unsigned char SwiftLibsVersionString[]; - -// In this header, you should import all the public headers of your framework using statements like #import - - diff --git a/release/v1.0.2/production/SwiftLibs.framework/Info.plist b/release/v1.0.2/production/SwiftLibs.framework/Info.plist deleted file mode 100644 index d8de24a..0000000 Binary files a/release/v1.0.2/production/SwiftLibs.framework/Info.plist and /dev/null differ diff --git a/release/v1.0.2/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc b/release/v1.0.2/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc deleted file mode 100644 index 5004339..0000000 Binary files a/release/v1.0.2/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc and /dev/null differ diff --git a/release/v1.0.2/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule b/release/v1.0.2/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule deleted file mode 100644 index c2e0ae7..0000000 Binary files a/release/v1.0.2/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule and /dev/null differ diff --git a/release/v1.0.2/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc b/release/v1.0.2/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc deleted file mode 100644 index 8f6bdf2..0000000 Binary files a/release/v1.0.2/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc and /dev/null differ diff --git a/release/v1.0.2/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule b/release/v1.0.2/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule deleted file mode 100644 index 7ce1a43..0000000 Binary files a/release/v1.0.2/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule and /dev/null differ diff --git a/release/v1.0.2/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc b/release/v1.0.2/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc deleted file mode 100644 index 9227fd1..0000000 Binary files a/release/v1.0.2/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc and /dev/null differ diff --git a/release/v1.0.2/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule b/release/v1.0.2/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule deleted file mode 100644 index 25a64bf..0000000 Binary files a/release/v1.0.2/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule and /dev/null differ diff --git a/release/v1.0.2/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc b/release/v1.0.2/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc deleted file mode 100644 index cdac429..0000000 Binary files a/release/v1.0.2/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc and /dev/null differ diff --git a/release/v1.0.2/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule b/release/v1.0.2/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule deleted file mode 100644 index 94ade9d..0000000 Binary files a/release/v1.0.2/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule and /dev/null differ diff --git a/release/v1.0.2/production/SwiftLibs.framework/Modules/module.modulemap b/release/v1.0.2/production/SwiftLibs.framework/Modules/module.modulemap deleted file mode 100644 index 65a94d8..0000000 --- a/release/v1.0.2/production/SwiftLibs.framework/Modules/module.modulemap +++ /dev/null @@ -1,10 +0,0 @@ -framework module SwiftLibs { - umbrella header "SwiftLibs.h" - - export * - module * { export * } -} - -module SwiftLibs.Swift { - header "SwiftLibs-Swift.h" -} diff --git a/release/v1.0.2/production/SwiftLibs.framework/SwiftLibs b/release/v1.0.2/production/SwiftLibs.framework/SwiftLibs deleted file mode 100755 index 0d2b19f..0000000 Binary files a/release/v1.0.2/production/SwiftLibs.framework/SwiftLibs and /dev/null differ diff --git a/release/v1.0.2/production/SwiftLibs.framework/_CodeSignature/CodeResources b/release/v1.0.2/production/SwiftLibs.framework/_CodeSignature/CodeResources deleted file mode 100644 index df86abf..0000000 --- a/release/v1.0.2/production/SwiftLibs.framework/_CodeSignature/CodeResources +++ /dev/null @@ -1,167 +0,0 @@ - - - - - files - - Headers/SwiftLibs-Swift.h - - Q6Hi2xAkMT9UG9UvpLg+EUpr/JQ= - - Headers/SwiftLibs.h - - FiNtdx8cI+McuAUpdJl5tSoYgdE= - - Info.plist - - UP52L7zlGf+k7ad/dfSI4giTHOM= - - Modules/SwiftLibs.swiftmodule/arm.swiftdoc - - ddSu8w5sV2hS/Pj5/5QRPOpHbHk= - - Modules/SwiftLibs.swiftmodule/arm.swiftmodule - - c0wj++zZr8R2LmoBgnnaJRpqRN0= - - Modules/SwiftLibs.swiftmodule/arm64.swiftdoc - - LYz0XrXdhytuvStIqzCsMjixIy8= - - Modules/SwiftLibs.swiftmodule/arm64.swiftmodule - - hs/D3U4CKE1FGxuEItLbUFAw3j8= - - Modules/module.modulemap - - z+bSrZCKN2rk+VoW/b/8bst4eiQ= - - - files2 - - Headers/SwiftLibs-Swift.h - - Q6Hi2xAkMT9UG9UvpLg+EUpr/JQ= - - Headers/SwiftLibs.h - - FiNtdx8cI+McuAUpdJl5tSoYgdE= - - Modules/SwiftLibs.swiftmodule/arm.swiftdoc - - ddSu8w5sV2hS/Pj5/5QRPOpHbHk= - - Modules/SwiftLibs.swiftmodule/arm.swiftmodule - - c0wj++zZr8R2LmoBgnnaJRpqRN0= - - Modules/SwiftLibs.swiftmodule/arm64.swiftdoc - - LYz0XrXdhytuvStIqzCsMjixIy8= - - Modules/SwiftLibs.swiftmodule/arm64.swiftmodule - - hs/D3U4CKE1FGxuEItLbUFAw3j8= - - Modules/module.modulemap - - z+bSrZCKN2rk+VoW/b/8bst4eiQ= - - - rules - - ^ - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^version.plist$ - - - rules2 - - .*\.dSYM($|/) - - weight - 11 - - ^ - - weight - 20 - - ^(.*/)?\.DS_Store$ - - omit - - weight - 2000 - - ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ - - nested - - weight - 10 - - ^.* - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Info\.plist$ - - omit - - weight - 20 - - ^PkgInfo$ - - omit - - weight - 20 - - ^[^/]+$ - - nested - - weight - 10 - - ^embedded\.provisionprofile$ - - weight - 20 - - ^version\.plist$ - - weight - 20 - - - - diff --git a/release/v1.0.3/development/README b/release/v1.0.3/development/README deleted file mode 100644 index 6530f4d..0000000 --- a/release/v1.0.3/development/README +++ /dev/null @@ -1,8 +0,0 @@ -USAGE: - 1. Copy the SwiftLibs.framework into the destination project directory. - 2. Add the SwiftLibs.framework to the "Embedded Binaries" section within the destination Project settings. - -NOTE: - This framework is built for the the ios-simulator and ios-devices only; it will NOT work within the Apple App Store. - ** When releasing the app to the app store, be sure to link the framework's production binary, not this one. - diff --git a/release/v1.0.3/development/SwiftLibs.framework/Headers/SwiftLibs-Swift.h b/release/v1.0.3/development/SwiftLibs.framework/Headers/SwiftLibs-Swift.h deleted file mode 100644 index bf47da8..0000000 --- a/release/v1.0.3/development/SwiftLibs.framework/Headers/SwiftLibs-Swift.h +++ /dev/null @@ -1,137 +0,0 @@ -// Generated by Apple Swift version 2.1.1 (swiftlang-700.1.101.15 clang-700.1.81) -#pragma clang diagnostic push - -#if defined(__has_include) && __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if defined(__has_include) && __has_include() -# include -#elif !defined(__cplusplus) || __cplusplus < 201103L -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -#endif - -typedef struct _NSZone NSZone; - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif - -#if defined(__has_attribute) && __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if defined(__has_attribute) && __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if defined(__has_attribute) && __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if defined(__has_attribute) && __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_EXTRA _name : _type -#endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -#if defined(__has_feature) && __has_feature(modules) -@import ObjectiveC; -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -@class Response; - -SWIFT_CLASS("_TtC9SwiftLibs10WebRequest") -@interface WebRequest : NSObject -+ (WebRequest * __nonnull (^ __nonnull)(void))newInstance; -+ (void)setNewInstance:(WebRequest * __nonnull (^ __nonnull)(void))value; -- (void)setUrl:(NSString * __nonnull)url; -- (void)setHeaderWithHeader:(NSString * __nonnull)header value:(NSString * __nonnull)value; -- (void)setFollowRedirects:(BOOL)followRedirects; -- (void)setGetParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setPostParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)addCookieWithKey:(NSString * __nonnull)key value:(NSString * __nullable)value; -- (void)addCookie:(NSString * __nonnull)keyValuePair; -- (void)execute:(void (^ __nullable)(WebRequest * __nonnull, Response * __nonnull))callback; -@end - -@class Mocker; - -SWIFT_CLASS("_TtC9SwiftLibs14MockWebRequest") -@interface MockWebRequest : WebRequest -@property (nonatomic, strong) Mocker * __nonnull mocker; -+ (void)mockRandomFunction:(NSInteger (^ __nullable)(void))randomFunction; -+ (void)restoreRandomFunction; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -- (void)setUrl:(NSString * __nonnull)url; -- (void)setHeaderWithHeader:(NSString * __nonnull)header value:(NSString * __nonnull)value; -- (void)setGetParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setPostParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setFollowRedirects:(BOOL)followRedirects; -- (void)addCookieWithKey:(NSString * __nonnull)key value:(NSString * __nullable)value; -- (void)addCookie:(NSString * __nonnull)keyValuePair; -- (void)execute:(void (^ __nullable)(WebRequest * __nonnull, Response * __nonnull))callback; -@end - - -SWIFT_CLASS("_TtC9SwiftLibs6Mocker") -@interface Mocker : NSObject -- (NSInteger)getInvocationCountFor:(NSString * __nonnull)methodName; -- (void)reset; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -@end - - -#pragma clang diagnostic pop diff --git a/release/v1.0.3/development/SwiftLibs.framework/Headers/SwiftLibs.h b/release/v1.0.3/development/SwiftLibs.framework/Headers/SwiftLibs.h deleted file mode 100644 index 60c890f..0000000 --- a/release/v1.0.3/development/SwiftLibs.framework/Headers/SwiftLibs.h +++ /dev/null @@ -1,12 +0,0 @@ - -#import - -//! Project version number for SwiftLibs. -FOUNDATION_EXPORT double SwiftLibsVersionNumber; - -//! Project version string for SwiftLibs. -FOUNDATION_EXPORT const unsigned char SwiftLibsVersionString[]; - -// In this header, you should import all the public headers of your framework using statements like #import - - diff --git a/release/v1.0.3/development/SwiftLibs.framework/Info.plist b/release/v1.0.3/development/SwiftLibs.framework/Info.plist deleted file mode 100644 index e803977..0000000 Binary files a/release/v1.0.3/development/SwiftLibs.framework/Info.plist and /dev/null differ diff --git a/release/v1.0.3/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc b/release/v1.0.3/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc deleted file mode 100644 index 5004339..0000000 Binary files a/release/v1.0.3/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc and /dev/null differ diff --git a/release/v1.0.3/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule b/release/v1.0.3/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule deleted file mode 100644 index 8e26ae5..0000000 Binary files a/release/v1.0.3/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule and /dev/null differ diff --git a/release/v1.0.3/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc b/release/v1.0.3/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc deleted file mode 100644 index 8f6bdf2..0000000 Binary files a/release/v1.0.3/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc and /dev/null differ diff --git a/release/v1.0.3/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule b/release/v1.0.3/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule deleted file mode 100644 index 752b069..0000000 Binary files a/release/v1.0.3/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule and /dev/null differ diff --git a/release/v1.0.3/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc b/release/v1.0.3/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc deleted file mode 100644 index 9227fd1..0000000 Binary files a/release/v1.0.3/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc and /dev/null differ diff --git a/release/v1.0.3/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule b/release/v1.0.3/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule deleted file mode 100644 index 7c14a74..0000000 Binary files a/release/v1.0.3/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule and /dev/null differ diff --git a/release/v1.0.3/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc b/release/v1.0.3/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc deleted file mode 100644 index cdac429..0000000 Binary files a/release/v1.0.3/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc and /dev/null differ diff --git a/release/v1.0.3/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule b/release/v1.0.3/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule deleted file mode 100644 index 17df3f1..0000000 Binary files a/release/v1.0.3/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule and /dev/null differ diff --git a/release/v1.0.3/development/SwiftLibs.framework/Modules/module.modulemap b/release/v1.0.3/development/SwiftLibs.framework/Modules/module.modulemap deleted file mode 100644 index 65a94d8..0000000 --- a/release/v1.0.3/development/SwiftLibs.framework/Modules/module.modulemap +++ /dev/null @@ -1,10 +0,0 @@ -framework module SwiftLibs { - umbrella header "SwiftLibs.h" - - export * - module * { export * } -} - -module SwiftLibs.Swift { - header "SwiftLibs-Swift.h" -} diff --git a/release/v1.0.3/development/SwiftLibs.framework/SwiftLibs b/release/v1.0.3/development/SwiftLibs.framework/SwiftLibs deleted file mode 100755 index 60b105f..0000000 Binary files a/release/v1.0.3/development/SwiftLibs.framework/SwiftLibs and /dev/null differ diff --git a/release/v1.0.3/development/SwiftLibs.framework/_CodeSignature/CodeResources b/release/v1.0.3/development/SwiftLibs.framework/_CodeSignature/CodeResources deleted file mode 100644 index 88161e8..0000000 --- a/release/v1.0.3/development/SwiftLibs.framework/_CodeSignature/CodeResources +++ /dev/null @@ -1,167 +0,0 @@ - - - - - files - - Headers/SwiftLibs-Swift.h - - KfkjSu614wS9KBVZFnXLgujYEhs= - - Headers/SwiftLibs.h - - FiNtdx8cI+McuAUpdJl5tSoYgdE= - - Info.plist - - XdoYQ814NKYakz1eIHXHUsS1nos= - - Modules/SwiftLibs.swiftmodule/arm.swiftdoc - - ddSu8w5sV2hS/Pj5/5QRPOpHbHk= - - Modules/SwiftLibs.swiftmodule/arm.swiftmodule - - ttXezVpunYJoMnFTREc2GUiQKvg= - - Modules/SwiftLibs.swiftmodule/arm64.swiftdoc - - LYz0XrXdhytuvStIqzCsMjixIy8= - - Modules/SwiftLibs.swiftmodule/arm64.swiftmodule - - vWW4w8rXXtsln8iDk78TsptFYBY= - - Modules/module.modulemap - - z+bSrZCKN2rk+VoW/b/8bst4eiQ= - - - files2 - - Headers/SwiftLibs-Swift.h - - KfkjSu614wS9KBVZFnXLgujYEhs= - - Headers/SwiftLibs.h - - FiNtdx8cI+McuAUpdJl5tSoYgdE= - - Modules/SwiftLibs.swiftmodule/arm.swiftdoc - - ddSu8w5sV2hS/Pj5/5QRPOpHbHk= - - Modules/SwiftLibs.swiftmodule/arm.swiftmodule - - ttXezVpunYJoMnFTREc2GUiQKvg= - - Modules/SwiftLibs.swiftmodule/arm64.swiftdoc - - LYz0XrXdhytuvStIqzCsMjixIy8= - - Modules/SwiftLibs.swiftmodule/arm64.swiftmodule - - vWW4w8rXXtsln8iDk78TsptFYBY= - - Modules/module.modulemap - - z+bSrZCKN2rk+VoW/b/8bst4eiQ= - - - rules - - ^ - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^version.plist$ - - - rules2 - - .*\.dSYM($|/) - - weight - 11 - - ^ - - weight - 20 - - ^(.*/)?\.DS_Store$ - - omit - - weight - 2000 - - ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ - - nested - - weight - 10 - - ^.* - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Info\.plist$ - - omit - - weight - 20 - - ^PkgInfo$ - - omit - - weight - 20 - - ^[^/]+$ - - nested - - weight - 10 - - ^embedded\.provisionprofile$ - - weight - 20 - - ^version\.plist$ - - weight - 20 - - - - diff --git a/release/v1.0.3/production/README b/release/v1.0.3/production/README deleted file mode 100644 index 6a93803..0000000 --- a/release/v1.0.3/production/README +++ /dev/null @@ -1,7 +0,0 @@ -USAGE: - 1. Copy the SwiftLibs.framework into the destination project directory. - 2. Add the SwiftLibs.framework to the "Embedded Binaries" section within the destination Project settings. - -NOTE: - This framework is built for the Apple App Store and ios-devices only; it will NOT work within simulators. - diff --git a/release/v1.0.3/production/SwiftLibs.framework/Headers/SwiftLibs-Swift.h b/release/v1.0.3/production/SwiftLibs.framework/Headers/SwiftLibs-Swift.h deleted file mode 100644 index bf47da8..0000000 --- a/release/v1.0.3/production/SwiftLibs.framework/Headers/SwiftLibs-Swift.h +++ /dev/null @@ -1,137 +0,0 @@ -// Generated by Apple Swift version 2.1.1 (swiftlang-700.1.101.15 clang-700.1.81) -#pragma clang diagnostic push - -#if defined(__has_include) && __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if defined(__has_include) && __has_include() -# include -#elif !defined(__cplusplus) || __cplusplus < 201103L -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -#endif - -typedef struct _NSZone NSZone; - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif - -#if defined(__has_attribute) && __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if defined(__has_attribute) && __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if defined(__has_attribute) && __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if defined(__has_attribute) && __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_EXTRA _name : _type -#endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -#if defined(__has_feature) && __has_feature(modules) -@import ObjectiveC; -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -@class Response; - -SWIFT_CLASS("_TtC9SwiftLibs10WebRequest") -@interface WebRequest : NSObject -+ (WebRequest * __nonnull (^ __nonnull)(void))newInstance; -+ (void)setNewInstance:(WebRequest * __nonnull (^ __nonnull)(void))value; -- (void)setUrl:(NSString * __nonnull)url; -- (void)setHeaderWithHeader:(NSString * __nonnull)header value:(NSString * __nonnull)value; -- (void)setFollowRedirects:(BOOL)followRedirects; -- (void)setGetParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setPostParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)addCookieWithKey:(NSString * __nonnull)key value:(NSString * __nullable)value; -- (void)addCookie:(NSString * __nonnull)keyValuePair; -- (void)execute:(void (^ __nullable)(WebRequest * __nonnull, Response * __nonnull))callback; -@end - -@class Mocker; - -SWIFT_CLASS("_TtC9SwiftLibs14MockWebRequest") -@interface MockWebRequest : WebRequest -@property (nonatomic, strong) Mocker * __nonnull mocker; -+ (void)mockRandomFunction:(NSInteger (^ __nullable)(void))randomFunction; -+ (void)restoreRandomFunction; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -- (void)setUrl:(NSString * __nonnull)url; -- (void)setHeaderWithHeader:(NSString * __nonnull)header value:(NSString * __nonnull)value; -- (void)setGetParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setPostParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setFollowRedirects:(BOOL)followRedirects; -- (void)addCookieWithKey:(NSString * __nonnull)key value:(NSString * __nullable)value; -- (void)addCookie:(NSString * __nonnull)keyValuePair; -- (void)execute:(void (^ __nullable)(WebRequest * __nonnull, Response * __nonnull))callback; -@end - - -SWIFT_CLASS("_TtC9SwiftLibs6Mocker") -@interface Mocker : NSObject -- (NSInteger)getInvocationCountFor:(NSString * __nonnull)methodName; -- (void)reset; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -@end - - -#pragma clang diagnostic pop diff --git a/release/v1.0.3/production/SwiftLibs.framework/Headers/SwiftLibs.h b/release/v1.0.3/production/SwiftLibs.framework/Headers/SwiftLibs.h deleted file mode 100644 index 60c890f..0000000 --- a/release/v1.0.3/production/SwiftLibs.framework/Headers/SwiftLibs.h +++ /dev/null @@ -1,12 +0,0 @@ - -#import - -//! Project version number for SwiftLibs. -FOUNDATION_EXPORT double SwiftLibsVersionNumber; - -//! Project version string for SwiftLibs. -FOUNDATION_EXPORT const unsigned char SwiftLibsVersionString[]; - -// In this header, you should import all the public headers of your framework using statements like #import - - diff --git a/release/v1.0.3/production/SwiftLibs.framework/Info.plist b/release/v1.0.3/production/SwiftLibs.framework/Info.plist deleted file mode 100644 index e803977..0000000 Binary files a/release/v1.0.3/production/SwiftLibs.framework/Info.plist and /dev/null differ diff --git a/release/v1.0.3/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc b/release/v1.0.3/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc deleted file mode 100644 index 5004339..0000000 Binary files a/release/v1.0.3/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc and /dev/null differ diff --git a/release/v1.0.3/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule b/release/v1.0.3/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule deleted file mode 100644 index 8e26ae5..0000000 Binary files a/release/v1.0.3/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule and /dev/null differ diff --git a/release/v1.0.3/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc b/release/v1.0.3/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc deleted file mode 100644 index 8f6bdf2..0000000 Binary files a/release/v1.0.3/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc and /dev/null differ diff --git a/release/v1.0.3/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule b/release/v1.0.3/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule deleted file mode 100644 index 752b069..0000000 Binary files a/release/v1.0.3/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule and /dev/null differ diff --git a/release/v1.0.3/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc b/release/v1.0.3/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc deleted file mode 100644 index 9227fd1..0000000 Binary files a/release/v1.0.3/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc and /dev/null differ diff --git a/release/v1.0.3/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule b/release/v1.0.3/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule deleted file mode 100644 index 7c14a74..0000000 Binary files a/release/v1.0.3/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule and /dev/null differ diff --git a/release/v1.0.3/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc b/release/v1.0.3/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc deleted file mode 100644 index cdac429..0000000 Binary files a/release/v1.0.3/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc and /dev/null differ diff --git a/release/v1.0.3/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule b/release/v1.0.3/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule deleted file mode 100644 index 17df3f1..0000000 Binary files a/release/v1.0.3/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule and /dev/null differ diff --git a/release/v1.0.3/production/SwiftLibs.framework/Modules/module.modulemap b/release/v1.0.3/production/SwiftLibs.framework/Modules/module.modulemap deleted file mode 100644 index 65a94d8..0000000 --- a/release/v1.0.3/production/SwiftLibs.framework/Modules/module.modulemap +++ /dev/null @@ -1,10 +0,0 @@ -framework module SwiftLibs { - umbrella header "SwiftLibs.h" - - export * - module * { export * } -} - -module SwiftLibs.Swift { - header "SwiftLibs-Swift.h" -} diff --git a/release/v1.0.3/production/SwiftLibs.framework/SwiftLibs b/release/v1.0.3/production/SwiftLibs.framework/SwiftLibs deleted file mode 100755 index f179ff1..0000000 Binary files a/release/v1.0.3/production/SwiftLibs.framework/SwiftLibs and /dev/null differ diff --git a/release/v1.0.3/production/SwiftLibs.framework/_CodeSignature/CodeResources b/release/v1.0.3/production/SwiftLibs.framework/_CodeSignature/CodeResources deleted file mode 100644 index 88161e8..0000000 --- a/release/v1.0.3/production/SwiftLibs.framework/_CodeSignature/CodeResources +++ /dev/null @@ -1,167 +0,0 @@ - - - - - files - - Headers/SwiftLibs-Swift.h - - KfkjSu614wS9KBVZFnXLgujYEhs= - - Headers/SwiftLibs.h - - FiNtdx8cI+McuAUpdJl5tSoYgdE= - - Info.plist - - XdoYQ814NKYakz1eIHXHUsS1nos= - - Modules/SwiftLibs.swiftmodule/arm.swiftdoc - - ddSu8w5sV2hS/Pj5/5QRPOpHbHk= - - Modules/SwiftLibs.swiftmodule/arm.swiftmodule - - ttXezVpunYJoMnFTREc2GUiQKvg= - - Modules/SwiftLibs.swiftmodule/arm64.swiftdoc - - LYz0XrXdhytuvStIqzCsMjixIy8= - - Modules/SwiftLibs.swiftmodule/arm64.swiftmodule - - vWW4w8rXXtsln8iDk78TsptFYBY= - - Modules/module.modulemap - - z+bSrZCKN2rk+VoW/b/8bst4eiQ= - - - files2 - - Headers/SwiftLibs-Swift.h - - KfkjSu614wS9KBVZFnXLgujYEhs= - - Headers/SwiftLibs.h - - FiNtdx8cI+McuAUpdJl5tSoYgdE= - - Modules/SwiftLibs.swiftmodule/arm.swiftdoc - - ddSu8w5sV2hS/Pj5/5QRPOpHbHk= - - Modules/SwiftLibs.swiftmodule/arm.swiftmodule - - ttXezVpunYJoMnFTREc2GUiQKvg= - - Modules/SwiftLibs.swiftmodule/arm64.swiftdoc - - LYz0XrXdhytuvStIqzCsMjixIy8= - - Modules/SwiftLibs.swiftmodule/arm64.swiftmodule - - vWW4w8rXXtsln8iDk78TsptFYBY= - - Modules/module.modulemap - - z+bSrZCKN2rk+VoW/b/8bst4eiQ= - - - rules - - ^ - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^version.plist$ - - - rules2 - - .*\.dSYM($|/) - - weight - 11 - - ^ - - weight - 20 - - ^(.*/)?\.DS_Store$ - - omit - - weight - 2000 - - ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ - - nested - - weight - 10 - - ^.* - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Info\.plist$ - - omit - - weight - 20 - - ^PkgInfo$ - - omit - - weight - 20 - - ^[^/]+$ - - nested - - weight - 10 - - ^embedded\.provisionprofile$ - - weight - 20 - - ^version\.plist$ - - weight - 20 - - - - diff --git a/release/v1.0.4/development/README b/release/v1.0.4/development/README deleted file mode 100644 index 6530f4d..0000000 --- a/release/v1.0.4/development/README +++ /dev/null @@ -1,8 +0,0 @@ -USAGE: - 1. Copy the SwiftLibs.framework into the destination project directory. - 2. Add the SwiftLibs.framework to the "Embedded Binaries" section within the destination Project settings. - -NOTE: - This framework is built for the the ios-simulator and ios-devices only; it will NOT work within the Apple App Store. - ** When releasing the app to the app store, be sure to link the framework's production binary, not this one. - diff --git a/release/v1.0.4/development/SwiftLibs.framework/Headers/SwiftLibs-Swift.h b/release/v1.0.4/development/SwiftLibs.framework/Headers/SwiftLibs-Swift.h deleted file mode 100644 index bf47da8..0000000 --- a/release/v1.0.4/development/SwiftLibs.framework/Headers/SwiftLibs-Swift.h +++ /dev/null @@ -1,137 +0,0 @@ -// Generated by Apple Swift version 2.1.1 (swiftlang-700.1.101.15 clang-700.1.81) -#pragma clang diagnostic push - -#if defined(__has_include) && __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if defined(__has_include) && __has_include() -# include -#elif !defined(__cplusplus) || __cplusplus < 201103L -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -#endif - -typedef struct _NSZone NSZone; - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif - -#if defined(__has_attribute) && __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if defined(__has_attribute) && __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if defined(__has_attribute) && __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if defined(__has_attribute) && __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_EXTRA _name : _type -#endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -#if defined(__has_feature) && __has_feature(modules) -@import ObjectiveC; -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -@class Response; - -SWIFT_CLASS("_TtC9SwiftLibs10WebRequest") -@interface WebRequest : NSObject -+ (WebRequest * __nonnull (^ __nonnull)(void))newInstance; -+ (void)setNewInstance:(WebRequest * __nonnull (^ __nonnull)(void))value; -- (void)setUrl:(NSString * __nonnull)url; -- (void)setHeaderWithHeader:(NSString * __nonnull)header value:(NSString * __nonnull)value; -- (void)setFollowRedirects:(BOOL)followRedirects; -- (void)setGetParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setPostParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)addCookieWithKey:(NSString * __nonnull)key value:(NSString * __nullable)value; -- (void)addCookie:(NSString * __nonnull)keyValuePair; -- (void)execute:(void (^ __nullable)(WebRequest * __nonnull, Response * __nonnull))callback; -@end - -@class Mocker; - -SWIFT_CLASS("_TtC9SwiftLibs14MockWebRequest") -@interface MockWebRequest : WebRequest -@property (nonatomic, strong) Mocker * __nonnull mocker; -+ (void)mockRandomFunction:(NSInteger (^ __nullable)(void))randomFunction; -+ (void)restoreRandomFunction; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -- (void)setUrl:(NSString * __nonnull)url; -- (void)setHeaderWithHeader:(NSString * __nonnull)header value:(NSString * __nonnull)value; -- (void)setGetParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setPostParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setFollowRedirects:(BOOL)followRedirects; -- (void)addCookieWithKey:(NSString * __nonnull)key value:(NSString * __nullable)value; -- (void)addCookie:(NSString * __nonnull)keyValuePair; -- (void)execute:(void (^ __nullable)(WebRequest * __nonnull, Response * __nonnull))callback; -@end - - -SWIFT_CLASS("_TtC9SwiftLibs6Mocker") -@interface Mocker : NSObject -- (NSInteger)getInvocationCountFor:(NSString * __nonnull)methodName; -- (void)reset; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -@end - - -#pragma clang diagnostic pop diff --git a/release/v1.0.4/development/SwiftLibs.framework/Headers/SwiftLibs.h b/release/v1.0.4/development/SwiftLibs.framework/Headers/SwiftLibs.h deleted file mode 100644 index 60c890f..0000000 --- a/release/v1.0.4/development/SwiftLibs.framework/Headers/SwiftLibs.h +++ /dev/null @@ -1,12 +0,0 @@ - -#import - -//! Project version number for SwiftLibs. -FOUNDATION_EXPORT double SwiftLibsVersionNumber; - -//! Project version string for SwiftLibs. -FOUNDATION_EXPORT const unsigned char SwiftLibsVersionString[]; - -// In this header, you should import all the public headers of your framework using statements like #import - - diff --git a/release/v1.0.4/development/SwiftLibs.framework/Info.plist b/release/v1.0.4/development/SwiftLibs.framework/Info.plist deleted file mode 100644 index b86922b..0000000 Binary files a/release/v1.0.4/development/SwiftLibs.framework/Info.plist and /dev/null differ diff --git a/release/v1.0.4/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc b/release/v1.0.4/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc deleted file mode 100644 index 5004339..0000000 Binary files a/release/v1.0.4/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc and /dev/null differ diff --git a/release/v1.0.4/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule b/release/v1.0.4/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule deleted file mode 100644 index 76d47db..0000000 Binary files a/release/v1.0.4/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule and /dev/null differ diff --git a/release/v1.0.4/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc b/release/v1.0.4/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc deleted file mode 100644 index 8f6bdf2..0000000 Binary files a/release/v1.0.4/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc and /dev/null differ diff --git a/release/v1.0.4/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule b/release/v1.0.4/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule deleted file mode 100644 index 3581e39..0000000 Binary files a/release/v1.0.4/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule and /dev/null differ diff --git a/release/v1.0.4/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc b/release/v1.0.4/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc deleted file mode 100644 index 9227fd1..0000000 Binary files a/release/v1.0.4/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc and /dev/null differ diff --git a/release/v1.0.4/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule b/release/v1.0.4/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule deleted file mode 100644 index c80cb44..0000000 Binary files a/release/v1.0.4/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule and /dev/null differ diff --git a/release/v1.0.4/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc b/release/v1.0.4/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc deleted file mode 100644 index cdac429..0000000 Binary files a/release/v1.0.4/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc and /dev/null differ diff --git a/release/v1.0.4/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule b/release/v1.0.4/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule deleted file mode 100644 index 504fff7..0000000 Binary files a/release/v1.0.4/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule and /dev/null differ diff --git a/release/v1.0.4/development/SwiftLibs.framework/Modules/module.modulemap b/release/v1.0.4/development/SwiftLibs.framework/Modules/module.modulemap deleted file mode 100644 index 65a94d8..0000000 --- a/release/v1.0.4/development/SwiftLibs.framework/Modules/module.modulemap +++ /dev/null @@ -1,10 +0,0 @@ -framework module SwiftLibs { - umbrella header "SwiftLibs.h" - - export * - module * { export * } -} - -module SwiftLibs.Swift { - header "SwiftLibs-Swift.h" -} diff --git a/release/v1.0.4/development/SwiftLibs.framework/SwiftLibs b/release/v1.0.4/development/SwiftLibs.framework/SwiftLibs deleted file mode 100755 index 9eb684e..0000000 Binary files a/release/v1.0.4/development/SwiftLibs.framework/SwiftLibs and /dev/null differ diff --git a/release/v1.0.4/development/SwiftLibs.framework/_CodeSignature/CodeResources b/release/v1.0.4/development/SwiftLibs.framework/_CodeSignature/CodeResources deleted file mode 100644 index 0a94a13..0000000 --- a/release/v1.0.4/development/SwiftLibs.framework/_CodeSignature/CodeResources +++ /dev/null @@ -1,167 +0,0 @@ - - - - - files - - Headers/SwiftLibs-Swift.h - - KfkjSu614wS9KBVZFnXLgujYEhs= - - Headers/SwiftLibs.h - - FiNtdx8cI+McuAUpdJl5tSoYgdE= - - Info.plist - - dmNnflAY6JzFcsikeVldyCexksQ= - - Modules/SwiftLibs.swiftmodule/arm.swiftdoc - - ddSu8w5sV2hS/Pj5/5QRPOpHbHk= - - Modules/SwiftLibs.swiftmodule/arm.swiftmodule - - Fns+oG/UsWu9r7VOsFhnd9G/vHs= - - Modules/SwiftLibs.swiftmodule/arm64.swiftdoc - - LYz0XrXdhytuvStIqzCsMjixIy8= - - Modules/SwiftLibs.swiftmodule/arm64.swiftmodule - - KgL4NRgpf1Gp3GyPrThMal1pynM= - - Modules/module.modulemap - - z+bSrZCKN2rk+VoW/b/8bst4eiQ= - - - files2 - - Headers/SwiftLibs-Swift.h - - KfkjSu614wS9KBVZFnXLgujYEhs= - - Headers/SwiftLibs.h - - FiNtdx8cI+McuAUpdJl5tSoYgdE= - - Modules/SwiftLibs.swiftmodule/arm.swiftdoc - - ddSu8w5sV2hS/Pj5/5QRPOpHbHk= - - Modules/SwiftLibs.swiftmodule/arm.swiftmodule - - Fns+oG/UsWu9r7VOsFhnd9G/vHs= - - Modules/SwiftLibs.swiftmodule/arm64.swiftdoc - - LYz0XrXdhytuvStIqzCsMjixIy8= - - Modules/SwiftLibs.swiftmodule/arm64.swiftmodule - - KgL4NRgpf1Gp3GyPrThMal1pynM= - - Modules/module.modulemap - - z+bSrZCKN2rk+VoW/b/8bst4eiQ= - - - rules - - ^ - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^version.plist$ - - - rules2 - - .*\.dSYM($|/) - - weight - 11 - - ^ - - weight - 20 - - ^(.*/)?\.DS_Store$ - - omit - - weight - 2000 - - ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ - - nested - - weight - 10 - - ^.* - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Info\.plist$ - - omit - - weight - 20 - - ^PkgInfo$ - - omit - - weight - 20 - - ^[^/]+$ - - nested - - weight - 10 - - ^embedded\.provisionprofile$ - - weight - 20 - - ^version\.plist$ - - weight - 20 - - - - diff --git a/release/v1.0.4/production/README b/release/v1.0.4/production/README deleted file mode 100644 index 6a93803..0000000 --- a/release/v1.0.4/production/README +++ /dev/null @@ -1,7 +0,0 @@ -USAGE: - 1. Copy the SwiftLibs.framework into the destination project directory. - 2. Add the SwiftLibs.framework to the "Embedded Binaries" section within the destination Project settings. - -NOTE: - This framework is built for the Apple App Store and ios-devices only; it will NOT work within simulators. - diff --git a/release/v1.0.4/production/SwiftLibs.framework/Headers/SwiftLibs-Swift.h b/release/v1.0.4/production/SwiftLibs.framework/Headers/SwiftLibs-Swift.h deleted file mode 100644 index bf47da8..0000000 --- a/release/v1.0.4/production/SwiftLibs.framework/Headers/SwiftLibs-Swift.h +++ /dev/null @@ -1,137 +0,0 @@ -// Generated by Apple Swift version 2.1.1 (swiftlang-700.1.101.15 clang-700.1.81) -#pragma clang diagnostic push - -#if defined(__has_include) && __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if defined(__has_include) && __has_include() -# include -#elif !defined(__cplusplus) || __cplusplus < 201103L -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -#endif - -typedef struct _NSZone NSZone; - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif - -#if defined(__has_attribute) && __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if defined(__has_attribute) && __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if defined(__has_attribute) && __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if defined(__has_attribute) && __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_EXTRA _name : _type -#endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -#if defined(__has_feature) && __has_feature(modules) -@import ObjectiveC; -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -@class Response; - -SWIFT_CLASS("_TtC9SwiftLibs10WebRequest") -@interface WebRequest : NSObject -+ (WebRequest * __nonnull (^ __nonnull)(void))newInstance; -+ (void)setNewInstance:(WebRequest * __nonnull (^ __nonnull)(void))value; -- (void)setUrl:(NSString * __nonnull)url; -- (void)setHeaderWithHeader:(NSString * __nonnull)header value:(NSString * __nonnull)value; -- (void)setFollowRedirects:(BOOL)followRedirects; -- (void)setGetParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setPostParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)addCookieWithKey:(NSString * __nonnull)key value:(NSString * __nullable)value; -- (void)addCookie:(NSString * __nonnull)keyValuePair; -- (void)execute:(void (^ __nullable)(WebRequest * __nonnull, Response * __nonnull))callback; -@end - -@class Mocker; - -SWIFT_CLASS("_TtC9SwiftLibs14MockWebRequest") -@interface MockWebRequest : WebRequest -@property (nonatomic, strong) Mocker * __nonnull mocker; -+ (void)mockRandomFunction:(NSInteger (^ __nullable)(void))randomFunction; -+ (void)restoreRandomFunction; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -- (void)setUrl:(NSString * __nonnull)url; -- (void)setHeaderWithHeader:(NSString * __nonnull)header value:(NSString * __nonnull)value; -- (void)setGetParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setPostParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setFollowRedirects:(BOOL)followRedirects; -- (void)addCookieWithKey:(NSString * __nonnull)key value:(NSString * __nullable)value; -- (void)addCookie:(NSString * __nonnull)keyValuePair; -- (void)execute:(void (^ __nullable)(WebRequest * __nonnull, Response * __nonnull))callback; -@end - - -SWIFT_CLASS("_TtC9SwiftLibs6Mocker") -@interface Mocker : NSObject -- (NSInteger)getInvocationCountFor:(NSString * __nonnull)methodName; -- (void)reset; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -@end - - -#pragma clang diagnostic pop diff --git a/release/v1.0.4/production/SwiftLibs.framework/Headers/SwiftLibs.h b/release/v1.0.4/production/SwiftLibs.framework/Headers/SwiftLibs.h deleted file mode 100644 index 60c890f..0000000 --- a/release/v1.0.4/production/SwiftLibs.framework/Headers/SwiftLibs.h +++ /dev/null @@ -1,12 +0,0 @@ - -#import - -//! Project version number for SwiftLibs. -FOUNDATION_EXPORT double SwiftLibsVersionNumber; - -//! Project version string for SwiftLibs. -FOUNDATION_EXPORT const unsigned char SwiftLibsVersionString[]; - -// In this header, you should import all the public headers of your framework using statements like #import - - diff --git a/release/v1.0.4/production/SwiftLibs.framework/Info.plist b/release/v1.0.4/production/SwiftLibs.framework/Info.plist deleted file mode 100644 index b86922b..0000000 Binary files a/release/v1.0.4/production/SwiftLibs.framework/Info.plist and /dev/null differ diff --git a/release/v1.0.4/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc b/release/v1.0.4/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc deleted file mode 100644 index 5004339..0000000 Binary files a/release/v1.0.4/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc and /dev/null differ diff --git a/release/v1.0.4/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule b/release/v1.0.4/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule deleted file mode 100644 index 76d47db..0000000 Binary files a/release/v1.0.4/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule and /dev/null differ diff --git a/release/v1.0.4/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc b/release/v1.0.4/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc deleted file mode 100644 index 8f6bdf2..0000000 Binary files a/release/v1.0.4/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc and /dev/null differ diff --git a/release/v1.0.4/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule b/release/v1.0.4/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule deleted file mode 100644 index 3581e39..0000000 Binary files a/release/v1.0.4/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule and /dev/null differ diff --git a/release/v1.0.4/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc b/release/v1.0.4/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc deleted file mode 100644 index 9227fd1..0000000 Binary files a/release/v1.0.4/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc and /dev/null differ diff --git a/release/v1.0.4/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule b/release/v1.0.4/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule deleted file mode 100644 index 7c14a74..0000000 Binary files a/release/v1.0.4/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule and /dev/null differ diff --git a/release/v1.0.4/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc b/release/v1.0.4/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc deleted file mode 100644 index cdac429..0000000 Binary files a/release/v1.0.4/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc and /dev/null differ diff --git a/release/v1.0.4/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule b/release/v1.0.4/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule deleted file mode 100644 index 17df3f1..0000000 Binary files a/release/v1.0.4/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule and /dev/null differ diff --git a/release/v1.0.4/production/SwiftLibs.framework/Modules/module.modulemap b/release/v1.0.4/production/SwiftLibs.framework/Modules/module.modulemap deleted file mode 100644 index 65a94d8..0000000 --- a/release/v1.0.4/production/SwiftLibs.framework/Modules/module.modulemap +++ /dev/null @@ -1,10 +0,0 @@ -framework module SwiftLibs { - umbrella header "SwiftLibs.h" - - export * - module * { export * } -} - -module SwiftLibs.Swift { - header "SwiftLibs-Swift.h" -} diff --git a/release/v1.0.4/production/SwiftLibs.framework/SwiftLibs b/release/v1.0.4/production/SwiftLibs.framework/SwiftLibs deleted file mode 100755 index a199945..0000000 Binary files a/release/v1.0.4/production/SwiftLibs.framework/SwiftLibs and /dev/null differ diff --git a/release/v1.0.4/production/SwiftLibs.framework/_CodeSignature/CodeResources b/release/v1.0.4/production/SwiftLibs.framework/_CodeSignature/CodeResources deleted file mode 100644 index 0a94a13..0000000 --- a/release/v1.0.4/production/SwiftLibs.framework/_CodeSignature/CodeResources +++ /dev/null @@ -1,167 +0,0 @@ - - - - - files - - Headers/SwiftLibs-Swift.h - - KfkjSu614wS9KBVZFnXLgujYEhs= - - Headers/SwiftLibs.h - - FiNtdx8cI+McuAUpdJl5tSoYgdE= - - Info.plist - - dmNnflAY6JzFcsikeVldyCexksQ= - - Modules/SwiftLibs.swiftmodule/arm.swiftdoc - - ddSu8w5sV2hS/Pj5/5QRPOpHbHk= - - Modules/SwiftLibs.swiftmodule/arm.swiftmodule - - Fns+oG/UsWu9r7VOsFhnd9G/vHs= - - Modules/SwiftLibs.swiftmodule/arm64.swiftdoc - - LYz0XrXdhytuvStIqzCsMjixIy8= - - Modules/SwiftLibs.swiftmodule/arm64.swiftmodule - - KgL4NRgpf1Gp3GyPrThMal1pynM= - - Modules/module.modulemap - - z+bSrZCKN2rk+VoW/b/8bst4eiQ= - - - files2 - - Headers/SwiftLibs-Swift.h - - KfkjSu614wS9KBVZFnXLgujYEhs= - - Headers/SwiftLibs.h - - FiNtdx8cI+McuAUpdJl5tSoYgdE= - - Modules/SwiftLibs.swiftmodule/arm.swiftdoc - - ddSu8w5sV2hS/Pj5/5QRPOpHbHk= - - Modules/SwiftLibs.swiftmodule/arm.swiftmodule - - Fns+oG/UsWu9r7VOsFhnd9G/vHs= - - Modules/SwiftLibs.swiftmodule/arm64.swiftdoc - - LYz0XrXdhytuvStIqzCsMjixIy8= - - Modules/SwiftLibs.swiftmodule/arm64.swiftmodule - - KgL4NRgpf1Gp3GyPrThMal1pynM= - - Modules/module.modulemap - - z+bSrZCKN2rk+VoW/b/8bst4eiQ= - - - rules - - ^ - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^version.plist$ - - - rules2 - - .*\.dSYM($|/) - - weight - 11 - - ^ - - weight - 20 - - ^(.*/)?\.DS_Store$ - - omit - - weight - 2000 - - ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ - - nested - - weight - 10 - - ^.* - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Info\.plist$ - - omit - - weight - 20 - - ^PkgInfo$ - - omit - - weight - 20 - - ^[^/]+$ - - nested - - weight - 10 - - ^embedded\.provisionprofile$ - - weight - 20 - - ^version\.plist$ - - weight - 20 - - - - diff --git a/release/v1.0.5/development/README b/release/v1.0.5/development/README deleted file mode 100644 index 6530f4d..0000000 --- a/release/v1.0.5/development/README +++ /dev/null @@ -1,8 +0,0 @@ -USAGE: - 1. Copy the SwiftLibs.framework into the destination project directory. - 2. Add the SwiftLibs.framework to the "Embedded Binaries" section within the destination Project settings. - -NOTE: - This framework is built for the the ios-simulator and ios-devices only; it will NOT work within the Apple App Store. - ** When releasing the app to the app store, be sure to link the framework's production binary, not this one. - diff --git a/release/v1.0.5/development/SwiftLibs.framework/Headers/SwiftLibs-Swift.h b/release/v1.0.5/development/SwiftLibs.framework/Headers/SwiftLibs-Swift.h deleted file mode 100644 index bf47da8..0000000 --- a/release/v1.0.5/development/SwiftLibs.framework/Headers/SwiftLibs-Swift.h +++ /dev/null @@ -1,137 +0,0 @@ -// Generated by Apple Swift version 2.1.1 (swiftlang-700.1.101.15 clang-700.1.81) -#pragma clang diagnostic push - -#if defined(__has_include) && __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if defined(__has_include) && __has_include() -# include -#elif !defined(__cplusplus) || __cplusplus < 201103L -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -#endif - -typedef struct _NSZone NSZone; - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif - -#if defined(__has_attribute) && __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if defined(__has_attribute) && __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if defined(__has_attribute) && __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if defined(__has_attribute) && __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_EXTRA _name : _type -#endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -#if defined(__has_feature) && __has_feature(modules) -@import ObjectiveC; -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -@class Response; - -SWIFT_CLASS("_TtC9SwiftLibs10WebRequest") -@interface WebRequest : NSObject -+ (WebRequest * __nonnull (^ __nonnull)(void))newInstance; -+ (void)setNewInstance:(WebRequest * __nonnull (^ __nonnull)(void))value; -- (void)setUrl:(NSString * __nonnull)url; -- (void)setHeaderWithHeader:(NSString * __nonnull)header value:(NSString * __nonnull)value; -- (void)setFollowRedirects:(BOOL)followRedirects; -- (void)setGetParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setPostParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)addCookieWithKey:(NSString * __nonnull)key value:(NSString * __nullable)value; -- (void)addCookie:(NSString * __nonnull)keyValuePair; -- (void)execute:(void (^ __nullable)(WebRequest * __nonnull, Response * __nonnull))callback; -@end - -@class Mocker; - -SWIFT_CLASS("_TtC9SwiftLibs14MockWebRequest") -@interface MockWebRequest : WebRequest -@property (nonatomic, strong) Mocker * __nonnull mocker; -+ (void)mockRandomFunction:(NSInteger (^ __nullable)(void))randomFunction; -+ (void)restoreRandomFunction; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -- (void)setUrl:(NSString * __nonnull)url; -- (void)setHeaderWithHeader:(NSString * __nonnull)header value:(NSString * __nonnull)value; -- (void)setGetParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setPostParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setFollowRedirects:(BOOL)followRedirects; -- (void)addCookieWithKey:(NSString * __nonnull)key value:(NSString * __nullable)value; -- (void)addCookie:(NSString * __nonnull)keyValuePair; -- (void)execute:(void (^ __nullable)(WebRequest * __nonnull, Response * __nonnull))callback; -@end - - -SWIFT_CLASS("_TtC9SwiftLibs6Mocker") -@interface Mocker : NSObject -- (NSInteger)getInvocationCountFor:(NSString * __nonnull)methodName; -- (void)reset; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -@end - - -#pragma clang diagnostic pop diff --git a/release/v1.0.5/development/SwiftLibs.framework/Headers/SwiftLibs.h b/release/v1.0.5/development/SwiftLibs.framework/Headers/SwiftLibs.h deleted file mode 100644 index 60c890f..0000000 --- a/release/v1.0.5/development/SwiftLibs.framework/Headers/SwiftLibs.h +++ /dev/null @@ -1,12 +0,0 @@ - -#import - -//! Project version number for SwiftLibs. -FOUNDATION_EXPORT double SwiftLibsVersionNumber; - -//! Project version string for SwiftLibs. -FOUNDATION_EXPORT const unsigned char SwiftLibsVersionString[]; - -// In this header, you should import all the public headers of your framework using statements like #import - - diff --git a/release/v1.0.5/development/SwiftLibs.framework/Info.plist b/release/v1.0.5/development/SwiftLibs.framework/Info.plist deleted file mode 100644 index b86922b..0000000 Binary files a/release/v1.0.5/development/SwiftLibs.framework/Info.plist and /dev/null differ diff --git a/release/v1.0.5/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc b/release/v1.0.5/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc deleted file mode 100644 index 5004339..0000000 Binary files a/release/v1.0.5/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc and /dev/null differ diff --git a/release/v1.0.5/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule b/release/v1.0.5/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule deleted file mode 100644 index 76d47db..0000000 Binary files a/release/v1.0.5/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule and /dev/null differ diff --git a/release/v1.0.5/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc b/release/v1.0.5/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc deleted file mode 100644 index 8f6bdf2..0000000 Binary files a/release/v1.0.5/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc and /dev/null differ diff --git a/release/v1.0.5/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule b/release/v1.0.5/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule deleted file mode 100644 index 3581e39..0000000 Binary files a/release/v1.0.5/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule and /dev/null differ diff --git a/release/v1.0.5/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc b/release/v1.0.5/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc deleted file mode 100644 index 9227fd1..0000000 Binary files a/release/v1.0.5/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc and /dev/null differ diff --git a/release/v1.0.5/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule b/release/v1.0.5/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule deleted file mode 100644 index c80cb44..0000000 Binary files a/release/v1.0.5/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule and /dev/null differ diff --git a/release/v1.0.5/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc b/release/v1.0.5/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc deleted file mode 100644 index cdac429..0000000 Binary files a/release/v1.0.5/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc and /dev/null differ diff --git a/release/v1.0.5/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule b/release/v1.0.5/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule deleted file mode 100644 index 504fff7..0000000 Binary files a/release/v1.0.5/development/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule and /dev/null differ diff --git a/release/v1.0.5/development/SwiftLibs.framework/Modules/module.modulemap b/release/v1.0.5/development/SwiftLibs.framework/Modules/module.modulemap deleted file mode 100644 index 65a94d8..0000000 --- a/release/v1.0.5/development/SwiftLibs.framework/Modules/module.modulemap +++ /dev/null @@ -1,10 +0,0 @@ -framework module SwiftLibs { - umbrella header "SwiftLibs.h" - - export * - module * { export * } -} - -module SwiftLibs.Swift { - header "SwiftLibs-Swift.h" -} diff --git a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs b/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs deleted file mode 100755 index c53db09..0000000 Binary files a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs and /dev/null differ diff --git a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Headers/SwiftLibs-Swift.h b/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Headers/SwiftLibs-Swift.h deleted file mode 100644 index b26cd90..0000000 --- a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Headers/SwiftLibs-Swift.h +++ /dev/null @@ -1,139 +0,0 @@ -// Generated by Apple Swift version 2.1.1 (swiftlang-700.1.101.15 clang-700.1.81) -#pragma clang diagnostic push - -#if defined(__has_include) && __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if defined(__has_include) && __has_include() -# include -#elif !defined(__cplusplus) || __cplusplus < 201103L -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -#endif - -typedef struct _NSZone NSZone; - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif - -#if defined(__has_attribute) && __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if defined(__has_attribute) && __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if defined(__has_attribute) && __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if defined(__has_attribute) && __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_EXTRA _name : _type -#endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -#if defined(__has_feature) && __has_feature(modules) -@import ObjectiveC; -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -@class Response; - -SWIFT_CLASS("_TtC9SwiftLibs10WebRequest") -@interface WebRequest : NSObject -+ (WebRequest * __nonnull (^ __nonnull)(void))newInstance; -+ (void)setNewInstance:(WebRequest * __nonnull (^ __nonnull)(void))value; -- (void)setUrl:(NSString * __nonnull)url; -- (void)setHeaderWithHeader:(NSString * __nonnull)header value:(NSString * __nonnull)value; -- (void)setFollowRedirects:(BOOL)followRedirects; -- (void)setGetParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setPostParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)addCookieWithKey:(NSString * __nonnull)key value:(NSString * __nullable)value; -- (void)addCookie:(NSString * __nonnull)keyValuePair; -- (void)setBody:(NSString * __nonnull)body; -- (void)execute:(void (^ __nullable)(WebRequest * __nonnull, Response * __nonnull))callback; -@end - -@class Mocker; - -SWIFT_CLASS("_TtC9SwiftLibs14MockWebRequest") -@interface MockWebRequest : WebRequest -@property (nonatomic, strong) Mocker * __nonnull mocker; -+ (void)mockRandomFunction:(NSInteger (^ __nullable)(void))randomFunction; -+ (void)restoreRandomFunction; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -- (void)setUrl:(NSString * __nonnull)url; -- (void)setHeaderWithHeader:(NSString * __nonnull)header value:(NSString * __nonnull)value; -- (void)setGetParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setPostParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setFollowRedirects:(BOOL)followRedirects; -- (void)addCookieWithKey:(NSString * __nonnull)key value:(NSString * __nullable)value; -- (void)addCookie:(NSString * __nonnull)keyValuePair; -- (void)setBody:(NSString * __nonnull)body; -- (void)execute:(void (^ __nullable)(WebRequest * __nonnull, Response * __nonnull))callback; -@end - - -SWIFT_CLASS("_TtC9SwiftLibs6Mocker") -@interface Mocker : NSObject -- (NSInteger)getInvocationCountFor:(NSString * __nonnull)methodName; -- (void)reset; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -@end - - -#pragma clang diagnostic pop diff --git a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Headers/SwiftLibs.h b/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Headers/SwiftLibs.h deleted file mode 100644 index 60c890f..0000000 --- a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Headers/SwiftLibs.h +++ /dev/null @@ -1,12 +0,0 @@ - -#import - -//! Project version number for SwiftLibs. -FOUNDATION_EXPORT double SwiftLibsVersionNumber; - -//! Project version string for SwiftLibs. -FOUNDATION_EXPORT const unsigned char SwiftLibsVersionString[]; - -// In this header, you should import all the public headers of your framework using statements like #import - - diff --git a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Info.plist b/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Info.plist deleted file mode 100644 index 945a6ca..0000000 Binary files a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Info.plist and /dev/null differ diff --git a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc b/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc deleted file mode 100644 index 5004339..0000000 Binary files a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc and /dev/null differ diff --git a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule b/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule deleted file mode 100644 index 437b082..0000000 Binary files a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule and /dev/null differ diff --git a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc b/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc deleted file mode 100644 index 8f6bdf2..0000000 Binary files a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc and /dev/null differ diff --git a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule b/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule deleted file mode 100644 index b6a8f97..0000000 Binary files a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule and /dev/null differ diff --git a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc b/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc deleted file mode 100644 index 9227fd1..0000000 Binary files a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc and /dev/null differ diff --git a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule b/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule deleted file mode 100644 index 07d2f49..0000000 Binary files a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule and /dev/null differ diff --git a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc b/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc deleted file mode 100644 index cdac429..0000000 Binary files a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc and /dev/null differ diff --git a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule b/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule deleted file mode 100644 index ac0156a..0000000 Binary files a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule and /dev/null differ diff --git a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Modules/module.modulemap b/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Modules/module.modulemap deleted file mode 100644 index 65a94d8..0000000 --- a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/Modules/module.modulemap +++ /dev/null @@ -1,10 +0,0 @@ -framework module SwiftLibs { - umbrella header "SwiftLibs.h" - - export * - module * { export * } -} - -module SwiftLibs.Swift { - header "SwiftLibs-Swift.h" -} diff --git a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/SwiftLibs b/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/SwiftLibs deleted file mode 100755 index cf39326..0000000 Binary files a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/SwiftLibs and /dev/null differ diff --git a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/_CodeSignature/CodeResources b/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/_CodeSignature/CodeResources deleted file mode 100644 index 5047cb5..0000000 --- a/release/v1.0.5/development/SwiftLibs.framework/SwiftLibs.framework/_CodeSignature/CodeResources +++ /dev/null @@ -1,167 +0,0 @@ - - - - - files - - Headers/SwiftLibs-Swift.h - - cUOcKl5fDVabSti8ocFXAnzOCgI= - - Headers/SwiftLibs.h - - FiNtdx8cI+McuAUpdJl5tSoYgdE= - - Info.plist - - C3NZdyZc+1bGl1z6iT1DwREAnYg= - - Modules/SwiftLibs.swiftmodule/arm.swiftdoc - - ddSu8w5sV2hS/Pj5/5QRPOpHbHk= - - Modules/SwiftLibs.swiftmodule/arm.swiftmodule - - rd0zXWCXjT2R8vMJJVBffm9AVsY= - - Modules/SwiftLibs.swiftmodule/arm64.swiftdoc - - LYz0XrXdhytuvStIqzCsMjixIy8= - - Modules/SwiftLibs.swiftmodule/arm64.swiftmodule - - rPU9vL912UQHv532f2EO0Pxkneg= - - Modules/module.modulemap - - z+bSrZCKN2rk+VoW/b/8bst4eiQ= - - - files2 - - Headers/SwiftLibs-Swift.h - - cUOcKl5fDVabSti8ocFXAnzOCgI= - - Headers/SwiftLibs.h - - FiNtdx8cI+McuAUpdJl5tSoYgdE= - - Modules/SwiftLibs.swiftmodule/arm.swiftdoc - - ddSu8w5sV2hS/Pj5/5QRPOpHbHk= - - Modules/SwiftLibs.swiftmodule/arm.swiftmodule - - rd0zXWCXjT2R8vMJJVBffm9AVsY= - - Modules/SwiftLibs.swiftmodule/arm64.swiftdoc - - LYz0XrXdhytuvStIqzCsMjixIy8= - - Modules/SwiftLibs.swiftmodule/arm64.swiftmodule - - rPU9vL912UQHv532f2EO0Pxkneg= - - Modules/module.modulemap - - z+bSrZCKN2rk+VoW/b/8bst4eiQ= - - - rules - - ^ - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^version.plist$ - - - rules2 - - .*\.dSYM($|/) - - weight - 11 - - ^ - - weight - 20 - - ^(.*/)?\.DS_Store$ - - omit - - weight - 2000 - - ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ - - nested - - weight - 10 - - ^.* - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Info\.plist$ - - omit - - weight - 20 - - ^PkgInfo$ - - omit - - weight - 20 - - ^[^/]+$ - - nested - - weight - 10 - - ^embedded\.provisionprofile$ - - weight - 20 - - ^version\.plist$ - - weight - 20 - - - - diff --git a/release/v1.0.5/development/SwiftLibs.framework/_CodeSignature/CodeResources b/release/v1.0.5/development/SwiftLibs.framework/_CodeSignature/CodeResources deleted file mode 100644 index 0a94a13..0000000 --- a/release/v1.0.5/development/SwiftLibs.framework/_CodeSignature/CodeResources +++ /dev/null @@ -1,167 +0,0 @@ - - - - - files - - Headers/SwiftLibs-Swift.h - - KfkjSu614wS9KBVZFnXLgujYEhs= - - Headers/SwiftLibs.h - - FiNtdx8cI+McuAUpdJl5tSoYgdE= - - Info.plist - - dmNnflAY6JzFcsikeVldyCexksQ= - - Modules/SwiftLibs.swiftmodule/arm.swiftdoc - - ddSu8w5sV2hS/Pj5/5QRPOpHbHk= - - Modules/SwiftLibs.swiftmodule/arm.swiftmodule - - Fns+oG/UsWu9r7VOsFhnd9G/vHs= - - Modules/SwiftLibs.swiftmodule/arm64.swiftdoc - - LYz0XrXdhytuvStIqzCsMjixIy8= - - Modules/SwiftLibs.swiftmodule/arm64.swiftmodule - - KgL4NRgpf1Gp3GyPrThMal1pynM= - - Modules/module.modulemap - - z+bSrZCKN2rk+VoW/b/8bst4eiQ= - - - files2 - - Headers/SwiftLibs-Swift.h - - KfkjSu614wS9KBVZFnXLgujYEhs= - - Headers/SwiftLibs.h - - FiNtdx8cI+McuAUpdJl5tSoYgdE= - - Modules/SwiftLibs.swiftmodule/arm.swiftdoc - - ddSu8w5sV2hS/Pj5/5QRPOpHbHk= - - Modules/SwiftLibs.swiftmodule/arm.swiftmodule - - Fns+oG/UsWu9r7VOsFhnd9G/vHs= - - Modules/SwiftLibs.swiftmodule/arm64.swiftdoc - - LYz0XrXdhytuvStIqzCsMjixIy8= - - Modules/SwiftLibs.swiftmodule/arm64.swiftmodule - - KgL4NRgpf1Gp3GyPrThMal1pynM= - - Modules/module.modulemap - - z+bSrZCKN2rk+VoW/b/8bst4eiQ= - - - rules - - ^ - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^version.plist$ - - - rules2 - - .*\.dSYM($|/) - - weight - 11 - - ^ - - weight - 20 - - ^(.*/)?\.DS_Store$ - - omit - - weight - 2000 - - ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ - - nested - - weight - 10 - - ^.* - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Info\.plist$ - - omit - - weight - 20 - - ^PkgInfo$ - - omit - - weight - 20 - - ^[^/]+$ - - nested - - weight - 10 - - ^embedded\.provisionprofile$ - - weight - 20 - - ^version\.plist$ - - weight - 20 - - - - diff --git a/release/v1.0.5/production/README b/release/v1.0.5/production/README deleted file mode 100644 index 6a93803..0000000 --- a/release/v1.0.5/production/README +++ /dev/null @@ -1,7 +0,0 @@ -USAGE: - 1. Copy the SwiftLibs.framework into the destination project directory. - 2. Add the SwiftLibs.framework to the "Embedded Binaries" section within the destination Project settings. - -NOTE: - This framework is built for the Apple App Store and ios-devices only; it will NOT work within simulators. - diff --git a/release/v1.0.5/production/SwiftLibs.framework/Headers/SwiftLibs-Swift.h b/release/v1.0.5/production/SwiftLibs.framework/Headers/SwiftLibs-Swift.h deleted file mode 100644 index b26cd90..0000000 --- a/release/v1.0.5/production/SwiftLibs.framework/Headers/SwiftLibs-Swift.h +++ /dev/null @@ -1,139 +0,0 @@ -// Generated by Apple Swift version 2.1.1 (swiftlang-700.1.101.15 clang-700.1.81) -#pragma clang diagnostic push - -#if defined(__has_include) && __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if defined(__has_include) && __has_include() -# include -#elif !defined(__cplusplus) || __cplusplus < 201103L -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -#endif - -typedef struct _NSZone NSZone; - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif - -#if defined(__has_attribute) && __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if defined(__has_attribute) && __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if defined(__has_attribute) && __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if defined(__has_attribute) && __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_EXTRA _name : _type -#endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -#if defined(__has_feature) && __has_feature(modules) -@import ObjectiveC; -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -@class Response; - -SWIFT_CLASS("_TtC9SwiftLibs10WebRequest") -@interface WebRequest : NSObject -+ (WebRequest * __nonnull (^ __nonnull)(void))newInstance; -+ (void)setNewInstance:(WebRequest * __nonnull (^ __nonnull)(void))value; -- (void)setUrl:(NSString * __nonnull)url; -- (void)setHeaderWithHeader:(NSString * __nonnull)header value:(NSString * __nonnull)value; -- (void)setFollowRedirects:(BOOL)followRedirects; -- (void)setGetParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setPostParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)addCookieWithKey:(NSString * __nonnull)key value:(NSString * __nullable)value; -- (void)addCookie:(NSString * __nonnull)keyValuePair; -- (void)setBody:(NSString * __nonnull)body; -- (void)execute:(void (^ __nullable)(WebRequest * __nonnull, Response * __nonnull))callback; -@end - -@class Mocker; - -SWIFT_CLASS("_TtC9SwiftLibs14MockWebRequest") -@interface MockWebRequest : WebRequest -@property (nonatomic, strong) Mocker * __nonnull mocker; -+ (void)mockRandomFunction:(NSInteger (^ __nullable)(void))randomFunction; -+ (void)restoreRandomFunction; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -- (void)setUrl:(NSString * __nonnull)url; -- (void)setHeaderWithHeader:(NSString * __nonnull)header value:(NSString * __nonnull)value; -- (void)setGetParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setPostParamWithKey:(NSString * __nonnull)key value:(NSString * __nonnull)value; -- (void)setFollowRedirects:(BOOL)followRedirects; -- (void)addCookieWithKey:(NSString * __nonnull)key value:(NSString * __nullable)value; -- (void)addCookie:(NSString * __nonnull)keyValuePair; -- (void)setBody:(NSString * __nonnull)body; -- (void)execute:(void (^ __nullable)(WebRequest * __nonnull, Response * __nonnull))callback; -@end - - -SWIFT_CLASS("_TtC9SwiftLibs6Mocker") -@interface Mocker : NSObject -- (NSInteger)getInvocationCountFor:(NSString * __nonnull)methodName; -- (void)reset; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -@end - - -#pragma clang diagnostic pop diff --git a/release/v1.0.5/production/SwiftLibs.framework/Headers/SwiftLibs.h b/release/v1.0.5/production/SwiftLibs.framework/Headers/SwiftLibs.h deleted file mode 100644 index 60c890f..0000000 --- a/release/v1.0.5/production/SwiftLibs.framework/Headers/SwiftLibs.h +++ /dev/null @@ -1,12 +0,0 @@ - -#import - -//! Project version number for SwiftLibs. -FOUNDATION_EXPORT double SwiftLibsVersionNumber; - -//! Project version string for SwiftLibs. -FOUNDATION_EXPORT const unsigned char SwiftLibsVersionString[]; - -// In this header, you should import all the public headers of your framework using statements like #import - - diff --git a/release/v1.0.5/production/SwiftLibs.framework/Info.plist b/release/v1.0.5/production/SwiftLibs.framework/Info.plist deleted file mode 100644 index 945a6ca..0000000 Binary files a/release/v1.0.5/production/SwiftLibs.framework/Info.plist and /dev/null differ diff --git a/release/v1.0.5/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc b/release/v1.0.5/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc deleted file mode 100644 index 5004339..0000000 Binary files a/release/v1.0.5/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftdoc and /dev/null differ diff --git a/release/v1.0.5/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule b/release/v1.0.5/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule deleted file mode 100644 index 437b082..0000000 Binary files a/release/v1.0.5/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm.swiftmodule and /dev/null differ diff --git a/release/v1.0.5/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc b/release/v1.0.5/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc deleted file mode 100644 index 8f6bdf2..0000000 Binary files a/release/v1.0.5/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftdoc and /dev/null differ diff --git a/release/v1.0.5/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule b/release/v1.0.5/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule deleted file mode 100644 index b6a8f97..0000000 Binary files a/release/v1.0.5/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/arm64.swiftmodule and /dev/null differ diff --git a/release/v1.0.5/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc b/release/v1.0.5/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc deleted file mode 100644 index 9227fd1..0000000 Binary files a/release/v1.0.5/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftdoc and /dev/null differ diff --git a/release/v1.0.5/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule b/release/v1.0.5/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule deleted file mode 100644 index 07d2f49..0000000 Binary files a/release/v1.0.5/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/i386.swiftmodule and /dev/null differ diff --git a/release/v1.0.5/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc b/release/v1.0.5/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc deleted file mode 100644 index cdac429..0000000 Binary files a/release/v1.0.5/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftdoc and /dev/null differ diff --git a/release/v1.0.5/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule b/release/v1.0.5/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule deleted file mode 100644 index ac0156a..0000000 Binary files a/release/v1.0.5/production/SwiftLibs.framework/Modules/SwiftLibs.swiftmodule/x86_64.swiftmodule and /dev/null differ diff --git a/release/v1.0.5/production/SwiftLibs.framework/Modules/module.modulemap b/release/v1.0.5/production/SwiftLibs.framework/Modules/module.modulemap deleted file mode 100644 index 65a94d8..0000000 --- a/release/v1.0.5/production/SwiftLibs.framework/Modules/module.modulemap +++ /dev/null @@ -1,10 +0,0 @@ -framework module SwiftLibs { - umbrella header "SwiftLibs.h" - - export * - module * { export * } -} - -module SwiftLibs.Swift { - header "SwiftLibs-Swift.h" -} diff --git a/release/v1.0.5/production/SwiftLibs.framework/SwiftLibs b/release/v1.0.5/production/SwiftLibs.framework/SwiftLibs deleted file mode 100755 index b6a744d..0000000 Binary files a/release/v1.0.5/production/SwiftLibs.framework/SwiftLibs and /dev/null differ diff --git a/release/v1.0.5/production/SwiftLibs.framework/_CodeSignature/CodeResources b/release/v1.0.5/production/SwiftLibs.framework/_CodeSignature/CodeResources deleted file mode 100644 index 5047cb5..0000000 --- a/release/v1.0.5/production/SwiftLibs.framework/_CodeSignature/CodeResources +++ /dev/null @@ -1,167 +0,0 @@ - - - - - files - - Headers/SwiftLibs-Swift.h - - cUOcKl5fDVabSti8ocFXAnzOCgI= - - Headers/SwiftLibs.h - - FiNtdx8cI+McuAUpdJl5tSoYgdE= - - Info.plist - - C3NZdyZc+1bGl1z6iT1DwREAnYg= - - Modules/SwiftLibs.swiftmodule/arm.swiftdoc - - ddSu8w5sV2hS/Pj5/5QRPOpHbHk= - - Modules/SwiftLibs.swiftmodule/arm.swiftmodule - - rd0zXWCXjT2R8vMJJVBffm9AVsY= - - Modules/SwiftLibs.swiftmodule/arm64.swiftdoc - - LYz0XrXdhytuvStIqzCsMjixIy8= - - Modules/SwiftLibs.swiftmodule/arm64.swiftmodule - - rPU9vL912UQHv532f2EO0Pxkneg= - - Modules/module.modulemap - - z+bSrZCKN2rk+VoW/b/8bst4eiQ= - - - files2 - - Headers/SwiftLibs-Swift.h - - cUOcKl5fDVabSti8ocFXAnzOCgI= - - Headers/SwiftLibs.h - - FiNtdx8cI+McuAUpdJl5tSoYgdE= - - Modules/SwiftLibs.swiftmodule/arm.swiftdoc - - ddSu8w5sV2hS/Pj5/5QRPOpHbHk= - - Modules/SwiftLibs.swiftmodule/arm.swiftmodule - - rd0zXWCXjT2R8vMJJVBffm9AVsY= - - Modules/SwiftLibs.swiftmodule/arm64.swiftdoc - - LYz0XrXdhytuvStIqzCsMjixIy8= - - Modules/SwiftLibs.swiftmodule/arm64.swiftmodule - - rPU9vL912UQHv532f2EO0Pxkneg= - - Modules/module.modulemap - - z+bSrZCKN2rk+VoW/b/8bst4eiQ= - - - rules - - ^ - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^version.plist$ - - - rules2 - - .*\.dSYM($|/) - - weight - 11 - - ^ - - weight - 20 - - ^(.*/)?\.DS_Store$ - - omit - - weight - 2000 - - ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ - - nested - - weight - 10 - - ^.* - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Info\.plist$ - - omit - - weight - 20 - - ^PkgInfo$ - - omit - - weight - 20 - - ^[^/]+$ - - nested - - weight - 10 - - ^embedded\.provisionprofile$ - - weight - 20 - - ^version\.plist$ - - weight - 20 - - - - diff --git a/remove-whitespace.sh b/remove-whitespace.sh deleted file mode 100755 index b1fe2e9..0000000 --- a/remove-whitespace.sh +++ /dev/null @@ -1,3 +0,0 @@ -find . -iname '*.swift' | xargs gsed -i 's/[ ]\+$//g' -find . -iname '*.m' | xargs gsed -i 's/[ ]\+$//g' -find . -iname '*.h' | xargs gsed -i 's/[ ]\+$//g'