From f0f92e335ec147ee3ac404a475c37599eff35333 Mon Sep 17 00:00:00 2001 From: Gligor Kotushevski Date: Sat, 27 Nov 2021 00:29:33 +1300 Subject: [PATCH 1/4] commit everything --- .gitignore | 7 ++++ GKBaseKit.podspec | 23 ++++++++++++ Package.resolved | 25 +++++++++++++ Package.swift | 28 +++++++++++++++ README.md | 3 ++ Sources/GKBaseKit/BaseKit.swift | 24 +++++++++++++ .../Configuration/BaseKitConfiguration.swift | 36 +++++++++++++++++++ .../BaseKitConfigurationProtocol.swift | 11 ++++++ .../EnvironmentConfiguration.swift | 21 +++++++++++ Sources/GKBaseKit/Core/BaseError.swift | 23 ++++++++++++ .../GKBaseKit/Default Impl/DefaultDebug.swift | 16 +++++++++ .../GKBaseKit/Protocol/DebugProtocol.swift | 11 ++++++ Tests/GKBaseKitTests/BaseKitTests.swift | 36 +++++++++++++++++++ .../BaseKitConfigurationTests.swift | 23 ++++++++++++ .../Test Helpers/TestDebug.swift | 21 +++++++++++ 15 files changed, 308 insertions(+) create mode 100644 .gitignore create mode 100644 GKBaseKit.podspec create mode 100644 Package.resolved create mode 100644 Package.swift create mode 100644 README.md create mode 100644 Sources/GKBaseKit/BaseKit.swift create mode 100644 Sources/GKBaseKit/Configuration/BaseKitConfiguration.swift create mode 100644 Sources/GKBaseKit/Configuration/BaseKitConfigurationProtocol.swift create mode 100644 Sources/GKBaseKit/Configuration/EnvironmentConfiguration.swift create mode 100644 Sources/GKBaseKit/Core/BaseError.swift create mode 100644 Sources/GKBaseKit/Default Impl/DefaultDebug.swift create mode 100644 Sources/GKBaseKit/Protocol/DebugProtocol.swift create mode 100644 Tests/GKBaseKitTests/BaseKitTests.swift create mode 100644 Tests/GKBaseKitTests/Configuration/BaseKitConfigurationTests.swift create mode 100644 Tests/GKBaseKitTests/Test Helpers/TestDebug.swift diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bb460e7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +.DS_Store +/.build +/Packages +/*.xcodeproj +xcuserdata/ +DerivedData/ +.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata diff --git a/GKBaseKit.podspec b/GKBaseKit.podspec new file mode 100644 index 0000000..83ad6ae --- /dev/null +++ b/GKBaseKit.podspec @@ -0,0 +1,23 @@ +Pod::Spec.new do |s| + + s.name = 'GKBaseKit' + s.version = '2.0.0' + s.summary = 'GKBaseKit framework.' + s.description = <<-DESC + * GKBaseKit framework + DESC + s.homepage = 'https://github.com/gligorkot/GKBaseKit' + s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' } + s.author = { 'Gligor Kotushevski' => 'gligorkot@gmail.com' } + s.social_media_url = 'https://twitter.com/gligor_nz' + s.platform = :ios, '9.0' + s.ios.deployment_target = '9.0' + s.source = { :git => 'https://github.com/gligorkot/GKBaseKit.git', :tag => s.version.to_s } + + s.source_files = 'Sources/GKBaseKit/**/*' + s.pod_target_xcconfig = { 'SWIFT_VERSION' => '5.5' } + + s.requires_arc = true + s.swift_versions = ['4.0', '4.1', '4.2', '5.0', '5.1', '5.2', '5.3', '5.4', '5.5'] + +end diff --git a/Package.resolved b/Package.resolved new file mode 100644 index 0000000..689e53a --- /dev/null +++ b/Package.resolved @@ -0,0 +1,25 @@ +{ + "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": "fb7a26374e8570ff5c68142e5c83406d6abae0d8", + "version": "2.0.2" + } + } + ] + }, + "version": 1 +} diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..43c0350 --- /dev/null +++ b/Package.swift @@ -0,0 +1,28 @@ +// swift-tools-version:5.5 + +import PackageDescription + +let package = Package( + name: "GKBaseKit", + platforms: [.iOS(.v9)], + products: [ + .library( + name: "GKBaseKit", + targets: ["GKBaseKit"]), + ], + dependencies: [ + .package(url: "https://github.com/mattgallagher/CwlPreconditionTesting.git", from: Version("2.0.0")) + ], + targets: [ + .target( + name: "GKBaseKit", + dependencies: []), + .testTarget( + name: "GKBaseKitTests", + dependencies: [ + "GKBaseKit", + "CwlPreconditionTesting" + ]), + ], + swiftLanguageVersions: [.v4] +) diff --git a/README.md b/README.md new file mode 100644 index 0000000..38d983a --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# GKBaseKit + +A description of this package. diff --git a/Sources/GKBaseKit/BaseKit.swift b/Sources/GKBaseKit/BaseKit.swift new file mode 100644 index 0000000..72494c9 --- /dev/null +++ b/Sources/GKBaseKit/BaseKit.swift @@ -0,0 +1,24 @@ +// +// BaseKit.swift +// GKBaseKit +// +// Created by Gligor Kotushevski on 20/03/17. +// Copyright © 2017 Gligor Kotushevski. All rights reserved. +// + +public typealias FailureBlock = (ErrorResponse) -> () + +public final class BaseKit { + + private init() {} // noone should be able to init this class + + public class func initBaseKit(debug: DebugProtocol = DefaultDebug()) { + let _ = BaseKit() + BaseKitConfiguration.setup(with: EnvironmentConfiguration(debug: debug)) + } + + public class func isDebug() -> Bool { + return BaseKitConfiguration.shared.debug.isDebug + } + +} diff --git a/Sources/GKBaseKit/Configuration/BaseKitConfiguration.swift b/Sources/GKBaseKit/Configuration/BaseKitConfiguration.swift new file mode 100644 index 0000000..d614241 --- /dev/null +++ b/Sources/GKBaseKit/Configuration/BaseKitConfiguration.swift @@ -0,0 +1,36 @@ +// +// BaseKitConfiguration.swift +// GKBaseKit +// +// Created by Gligor Kotushevski on 20/03/17. +// Copyright © 2017 Gligor Kotushevski. All rights reserved. +// + +final class BaseKitConfiguration { + + private static let instance = BaseKitConfiguration() + + class var shared: BaseKitConfigurationProtocol { + return BaseKitConfiguration.instance.configuration + } + + private init() {} + + private var config: BaseKitConfigurationProtocol? + + private var configuration: BaseKitConfigurationProtocol { + guard let config = config else { + preconditionFailure("GKBaseKit configuration must be setup before use") + } + return config + } + + class func setup(with config: BaseKitConfigurationProtocol) { + BaseKitConfiguration.instance.config = config + } + + class func tearDownConfig() { + BaseKitConfiguration.instance.config = nil + } + +} diff --git a/Sources/GKBaseKit/Configuration/BaseKitConfigurationProtocol.swift b/Sources/GKBaseKit/Configuration/BaseKitConfigurationProtocol.swift new file mode 100644 index 0000000..be813b7 --- /dev/null +++ b/Sources/GKBaseKit/Configuration/BaseKitConfigurationProtocol.swift @@ -0,0 +1,11 @@ +// +// BaseKitConfigurationProtocol.swift +// GKBaseKit +// +// Created by Gligor Kotushevski on 20/03/17. +// Copyright © 2017 Gligor Kotushevski. All rights reserved. +// + +protocol BaseKitConfigurationProtocol { + var debug: DebugProtocol { get } +} diff --git a/Sources/GKBaseKit/Configuration/EnvironmentConfiguration.swift b/Sources/GKBaseKit/Configuration/EnvironmentConfiguration.swift new file mode 100644 index 0000000..3618278 --- /dev/null +++ b/Sources/GKBaseKit/Configuration/EnvironmentConfiguration.swift @@ -0,0 +1,21 @@ +// +// EnvironmentConfiguration.swift +// GKBaseKit +// +// Created by Gligor Kotushevski on 20/03/17. +// Copyright © 2017 Gligor Kotushevski. All rights reserved. +// + +final class EnvironmentConfiguration: BaseKitConfigurationProtocol { + + private let _debug: DebugProtocol + + init(debug: DebugProtocol) { + self._debug = debug + } + + var debug: DebugProtocol { + return _debug + } + +} diff --git a/Sources/GKBaseKit/Core/BaseError.swift b/Sources/GKBaseKit/Core/BaseError.swift new file mode 100644 index 0000000..24770d8 --- /dev/null +++ b/Sources/GKBaseKit/Core/BaseError.swift @@ -0,0 +1,23 @@ +// +// BaseError.swift +// GKBaseKit +// +// Created by Gligor Kotushevski on 20/03/17. +// Copyright © 2017 Gligor Kotushevski. All rights reserved. +// + +public protocol ErrorResponse { + var title: String { get } + var message: String { get } + var debugDescription: String { get } +} + +public protocol BaseError: Error { + func toResponse() -> ErrorResponse +} + +public protocol BaseErrorContentAdapter { + associatedtype ErrorType + + static func adapt(_ error: ErrorType) -> ErrorResponse +} diff --git a/Sources/GKBaseKit/Default Impl/DefaultDebug.swift b/Sources/GKBaseKit/Default Impl/DefaultDebug.swift new file mode 100644 index 0000000..3e8ab08 --- /dev/null +++ b/Sources/GKBaseKit/Default Impl/DefaultDebug.swift @@ -0,0 +1,16 @@ +// +// DefaultDebug.swift +// GKBaseKit +// +// Created by Gligor Kotushevski on 20/03/17. +// Copyright © 2017 Gligor Kotushevski. All rights reserved. +// + +public final class DefaultDebug: DebugProtocol { + + public init() {} + + public var isDebug: Bool { + return _isDebugAssertConfiguration() + } +} diff --git a/Sources/GKBaseKit/Protocol/DebugProtocol.swift b/Sources/GKBaseKit/Protocol/DebugProtocol.swift new file mode 100644 index 0000000..8368ace --- /dev/null +++ b/Sources/GKBaseKit/Protocol/DebugProtocol.swift @@ -0,0 +1,11 @@ +// +// DebugProtocol.swift +// GKBaseKit +// +// Created by Gligor Kotushevski on 20/03/17. +// Copyright © 2017 Gligor Kotushevski. All rights reserved. +// + +public protocol DebugProtocol { + var isDebug: Bool { get } +} diff --git a/Tests/GKBaseKitTests/BaseKitTests.swift b/Tests/GKBaseKitTests/BaseKitTests.swift new file mode 100644 index 0000000..8a9089a --- /dev/null +++ b/Tests/GKBaseKitTests/BaseKitTests.swift @@ -0,0 +1,36 @@ +// +// BaseKitTests.swift +// GKBaseKitTests +// +// Created by Gligor Kotushevski on 20/03/17. +// Copyright © 2017 Gligor Kotushevski. All rights reserved. +// + +import XCTest +@testable import GKBaseKit + +class BaseKitTests: XCTestCase { + + override func tearDown() { + BaseKitConfiguration.tearDownConfig() + } + + func test_baseKitIsTrueByDefault() { + BaseKit.initBaseKit() + XCTAssertNotNil(BaseKitConfiguration.shared.debug) + XCTAssertTrue(BaseKit.isDebug()) + } + + func test_baseKitIsTrueWhenDebugProtocolReturnsTrue() { + BaseKit.initBaseKit(debug: TrueDebug()) + XCTAssertNotNil(BaseKitConfiguration.shared.debug) + XCTAssertTrue(BaseKit.isDebug()) + } + + func test_baseKitIsFalseWhenDebugProtocolReturnsFalse() { + BaseKit.initBaseKit(debug: FalseDebug()) + XCTAssertNotNil(BaseKitConfiguration.shared.debug) + XCTAssertFalse(BaseKit.isDebug()) + } + +} diff --git a/Tests/GKBaseKitTests/Configuration/BaseKitConfigurationTests.swift b/Tests/GKBaseKitTests/Configuration/BaseKitConfigurationTests.swift new file mode 100644 index 0000000..611cd07 --- /dev/null +++ b/Tests/GKBaseKitTests/Configuration/BaseKitConfigurationTests.swift @@ -0,0 +1,23 @@ +// +// BaseKitConfigurationTests.swift +// GKBaseKitTests +// +// Created by Gligor Kotushevski on 20/03/17. +// Copyright © 2017 Gligor Kotushevski. All rights reserved. +// + +import XCTest +import CwlPreconditionTesting +@testable import GKBaseKit + +class BaseKitConfigurationTests: XCTestCase { + + override func tearDown() { + BaseKitConfiguration.tearDownConfig() + } + + func test_configurationFatalErrorIfNotSetup() { + let _ = catchBadInstruction { let _ = BaseKitConfiguration.shared } + } + +} diff --git a/Tests/GKBaseKitTests/Test Helpers/TestDebug.swift b/Tests/GKBaseKitTests/Test Helpers/TestDebug.swift new file mode 100644 index 0000000..b2a319b --- /dev/null +++ b/Tests/GKBaseKitTests/Test Helpers/TestDebug.swift @@ -0,0 +1,21 @@ +// +// TestDebug.swift +// GKBaseKitTests +// +// Created by Gligor Kotushevski on 20/03/17. +// Copyright © 2017 Gligor Kotushevski. All rights reserved. +// + +@testable import GKBaseKit + +final class TrueDebug: DebugProtocol { + var isDebug: Bool { + return true + } +} + +final class FalseDebug: DebugProtocol { + var isDebug: Bool { + return false + } +} From 6cf9004c72cf1962e9240167ae1a379e9d9dead9 Mon Sep 17 00:00:00 2001 From: Gligor Kotushevski Date: Sat, 27 Nov 2021 00:44:39 +1300 Subject: [PATCH 2/4] removing old cocoapod source files --- Classes/BaseKit.swift | 24 - .../Configuration/BaseKitConfiguration.swift | 37 -- .../BaseKitConfigurationProtocol.swift | 11 - .../EnvironmentConfiguration.swift | 21 - Classes/Core/BaseError.swift | 23 - Classes/Default Impl/DefaultDebug.swift | 16 - Classes/Protocol/DebugProtocol.swift | 11 - .../project.pbxproj | 601 ------------------ .../contents.xcworkspacedata | 7 - .../xcshareddata/IDEWorkspaceChecks.plist | 8 - .../xcschemes/GKBaseKitExample.xcscheme | 103 --- .../xcschemes/GKBaseKitTests.xcscheme | 57 -- .../contents.xcworkspacedata | 10 - .../xcshareddata/IDEWorkspaceChecks.plist | 8 - .../GKBaseKitExample/AppDelegate.swift | 46 -- .../AppIcon.appiconset/Contents.json | 98 --- .../Base.lproj/LaunchScreen.storyboard | 25 - .../Base.lproj/Main.storyboard | 24 - GKBaseKitExample/GKBaseKitExample/Info.plist | 45 -- .../GKBaseKitExample/ViewController.swift | 25 - .../GKBaseKitTests/BaseKitTests.swift | 37 -- .../BaseKitConfigurationTests.swift | 23 - GKBaseKitExample/GKBaseKitTests/Info.plist | 22 - .../Test Helpers/TestDebug.swift | 21 - GKBaseKitExample/Podfile | 16 - 25 files changed, 1319 deletions(-) delete mode 100644 Classes/BaseKit.swift delete mode 100644 Classes/Configuration/BaseKitConfiguration.swift delete mode 100644 Classes/Configuration/BaseKitConfigurationProtocol.swift delete mode 100644 Classes/Configuration/EnvironmentConfiguration.swift delete mode 100644 Classes/Core/BaseError.swift delete mode 100644 Classes/Default Impl/DefaultDebug.swift delete mode 100644 Classes/Protocol/DebugProtocol.swift delete mode 100644 GKBaseKitExample/GKBaseKitExample.xcodeproj/project.pbxproj delete mode 100644 GKBaseKitExample/GKBaseKitExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata delete mode 100644 GKBaseKitExample/GKBaseKitExample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist delete mode 100644 GKBaseKitExample/GKBaseKitExample.xcodeproj/xcshareddata/xcschemes/GKBaseKitExample.xcscheme delete mode 100644 GKBaseKitExample/GKBaseKitExample.xcodeproj/xcshareddata/xcschemes/GKBaseKitTests.xcscheme delete mode 100644 GKBaseKitExample/GKBaseKitExample.xcworkspace/contents.xcworkspacedata delete mode 100644 GKBaseKitExample/GKBaseKitExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist delete mode 100644 GKBaseKitExample/GKBaseKitExample/AppDelegate.swift delete mode 100644 GKBaseKitExample/GKBaseKitExample/Assets.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 GKBaseKitExample/GKBaseKitExample/Base.lproj/LaunchScreen.storyboard delete mode 100644 GKBaseKitExample/GKBaseKitExample/Base.lproj/Main.storyboard delete mode 100644 GKBaseKitExample/GKBaseKitExample/Info.plist delete mode 100644 GKBaseKitExample/GKBaseKitExample/ViewController.swift delete mode 100644 GKBaseKitExample/GKBaseKitTests/BaseKitTests.swift delete mode 100644 GKBaseKitExample/GKBaseKitTests/Configuration/BaseKitConfigurationTests.swift delete mode 100644 GKBaseKitExample/GKBaseKitTests/Info.plist delete mode 100644 GKBaseKitExample/GKBaseKitTests/Test Helpers/TestDebug.swift delete mode 100644 GKBaseKitExample/Podfile diff --git a/Classes/BaseKit.swift b/Classes/BaseKit.swift deleted file mode 100644 index 72494c9..0000000 --- a/Classes/BaseKit.swift +++ /dev/null @@ -1,24 +0,0 @@ -// -// BaseKit.swift -// GKBaseKit -// -// Created by Gligor Kotushevski on 20/03/17. -// Copyright © 2017 Gligor Kotushevski. All rights reserved. -// - -public typealias FailureBlock = (ErrorResponse) -> () - -public final class BaseKit { - - private init() {} // noone should be able to init this class - - public class func initBaseKit(debug: DebugProtocol = DefaultDebug()) { - let _ = BaseKit() - BaseKitConfiguration.setup(with: EnvironmentConfiguration(debug: debug)) - } - - public class func isDebug() -> Bool { - return BaseKitConfiguration.shared.debug.isDebug - } - -} diff --git a/Classes/Configuration/BaseKitConfiguration.swift b/Classes/Configuration/BaseKitConfiguration.swift deleted file mode 100644 index 8038206..0000000 --- a/Classes/Configuration/BaseKitConfiguration.swift +++ /dev/null @@ -1,37 +0,0 @@ -// -// BaseKitConfiguration.swift -// GKBaseKit -// -// Created by Gligor Kotushevski on 20/03/17. -// Copyright © 2017 Gligor Kotushevski. All rights reserved. -// - -final class BaseKitConfiguration { - - private static let instance = BaseKitConfiguration() - - class var shared: BaseKitConfigurationProtocol { - return BaseKitConfiguration.instance.configuration - } - - private init() {} - - private var config: BaseKitConfigurationProtocol? - - private var configuration: BaseKitConfigurationProtocol { - if let config = config { - return config - } else { - preconditionFailure("GKBaseKit configuration must be setup before use") - } - } - - class func setup(with config: BaseKitConfigurationProtocol) { - BaseKitConfiguration.instance.config = config - } - - class func tearDownConfig() { - BaseKitConfiguration.instance.config = nil - } - -} diff --git a/Classes/Configuration/BaseKitConfigurationProtocol.swift b/Classes/Configuration/BaseKitConfigurationProtocol.swift deleted file mode 100644 index be813b7..0000000 --- a/Classes/Configuration/BaseKitConfigurationProtocol.swift +++ /dev/null @@ -1,11 +0,0 @@ -// -// BaseKitConfigurationProtocol.swift -// GKBaseKit -// -// Created by Gligor Kotushevski on 20/03/17. -// Copyright © 2017 Gligor Kotushevski. All rights reserved. -// - -protocol BaseKitConfigurationProtocol { - var debug: DebugProtocol { get } -} diff --git a/Classes/Configuration/EnvironmentConfiguration.swift b/Classes/Configuration/EnvironmentConfiguration.swift deleted file mode 100644 index 3618278..0000000 --- a/Classes/Configuration/EnvironmentConfiguration.swift +++ /dev/null @@ -1,21 +0,0 @@ -// -// EnvironmentConfiguration.swift -// GKBaseKit -// -// Created by Gligor Kotushevski on 20/03/17. -// Copyright © 2017 Gligor Kotushevski. All rights reserved. -// - -final class EnvironmentConfiguration: BaseKitConfigurationProtocol { - - private let _debug: DebugProtocol - - init(debug: DebugProtocol) { - self._debug = debug - } - - var debug: DebugProtocol { - return _debug - } - -} diff --git a/Classes/Core/BaseError.swift b/Classes/Core/BaseError.swift deleted file mode 100644 index 24770d8..0000000 --- a/Classes/Core/BaseError.swift +++ /dev/null @@ -1,23 +0,0 @@ -// -// BaseError.swift -// GKBaseKit -// -// Created by Gligor Kotushevski on 20/03/17. -// Copyright © 2017 Gligor Kotushevski. All rights reserved. -// - -public protocol ErrorResponse { - var title: String { get } - var message: String { get } - var debugDescription: String { get } -} - -public protocol BaseError: Error { - func toResponse() -> ErrorResponse -} - -public protocol BaseErrorContentAdapter { - associatedtype ErrorType - - static func adapt(_ error: ErrorType) -> ErrorResponse -} diff --git a/Classes/Default Impl/DefaultDebug.swift b/Classes/Default Impl/DefaultDebug.swift deleted file mode 100644 index 3e8ab08..0000000 --- a/Classes/Default Impl/DefaultDebug.swift +++ /dev/null @@ -1,16 +0,0 @@ -// -// DefaultDebug.swift -// GKBaseKit -// -// Created by Gligor Kotushevski on 20/03/17. -// Copyright © 2017 Gligor Kotushevski. All rights reserved. -// - -public final class DefaultDebug: DebugProtocol { - - public init() {} - - public var isDebug: Bool { - return _isDebugAssertConfiguration() - } -} diff --git a/Classes/Protocol/DebugProtocol.swift b/Classes/Protocol/DebugProtocol.swift deleted file mode 100644 index 8368ace..0000000 --- a/Classes/Protocol/DebugProtocol.swift +++ /dev/null @@ -1,11 +0,0 @@ -// -// DebugProtocol.swift -// GKBaseKit -// -// Created by Gligor Kotushevski on 20/03/17. -// Copyright © 2017 Gligor Kotushevski. All rights reserved. -// - -public protocol DebugProtocol { - var isDebug: Bool { get } -} diff --git a/GKBaseKitExample/GKBaseKitExample.xcodeproj/project.pbxproj b/GKBaseKitExample/GKBaseKitExample.xcodeproj/project.pbxproj deleted file mode 100644 index 877fb71..0000000 --- a/GKBaseKitExample/GKBaseKitExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,601 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 48; - objects = { - -/* Begin PBXBuildFile section */ - 3EF616CE8D14820685EA57CB /* Pods_GKBaseKitExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E9D6625CA29B3DA52533F374 /* Pods_GKBaseKitExample.framework */; }; - 55A767DF3B448C3F30823E01 /* Pods_GKBaseKitExample_GKBaseKitTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FF6940AEBEB90C17CBD4104D /* Pods_GKBaseKitExample_GKBaseKitTests.framework */; }; - 86AB988B2060A02B000E558F /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 86AB988A2060A02B000E558F /* AppDelegate.swift */; }; - 86AB988D2060A02B000E558F /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 86AB988C2060A02B000E558F /* ViewController.swift */; }; - 86AB98902060A02B000E558F /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 86AB988E2060A02B000E558F /* Main.storyboard */; }; - 86AB98922060A02B000E558F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 86AB98912060A02B000E558F /* Assets.xcassets */; }; - 86AB98952060A02B000E558F /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 86AB98932060A02B000E558F /* LaunchScreen.storyboard */; }; - 86AB98AD2060A413000E558F /* BaseKitTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 86AB98A82060A412000E558F /* BaseKitTests.swift */; }; - 86AB98AE2060A413000E558F /* BaseKitConfigurationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 86AB98AA2060A413000E558F /* BaseKitConfigurationTests.swift */; }; - 86AB98AF2060A413000E558F /* TestDebug.swift in Sources */ = {isa = PBXBuildFile; fileRef = 86AB98AC2060A413000E558F /* TestDebug.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 8693F07921702B280067BF90 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 86AB987F2060A02B000E558F /* Project object */; - proxyType = 1; - remoteGlobalIDString = 86AB98862060A02B000E558F; - remoteInfo = GKBaseKitExample; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 6649AE1D9078CF79F5D61F65 /* Pods-GKBaseKitExample-GKBaseKitTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-GKBaseKitExample-GKBaseKitTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-GKBaseKitExample-GKBaseKitTests/Pods-GKBaseKitExample-GKBaseKitTests.debug.xcconfig"; sourceTree = ""; }; - 86AB98872060A02B000E558F /* GKBaseKitExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GKBaseKitExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 86AB988A2060A02B000E558F /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 86AB988C2060A02B000E558F /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - 86AB988F2060A02B000E558F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - 86AB98912060A02B000E558F /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 86AB98942060A02B000E558F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - 86AB98962060A02B000E558F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 86AB98A02060A398000E558F /* GKBaseKitTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = GKBaseKitTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 86AB98A42060A398000E558F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 86AB98A82060A412000E558F /* BaseKitTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BaseKitTests.swift; sourceTree = ""; }; - 86AB98AA2060A413000E558F /* BaseKitConfigurationTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BaseKitConfigurationTests.swift; sourceTree = ""; }; - 86AB98AC2060A413000E558F /* TestDebug.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TestDebug.swift; sourceTree = ""; }; - AE661B3A76313F3C03866091 /* Pods-GKBaseKitExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-GKBaseKitExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-GKBaseKitExample/Pods-GKBaseKitExample.release.xcconfig"; sourceTree = ""; }; - CFC9DC2E41490001F1AD1631 /* Pods-GKBaseKitExample-GKBaseKitTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-GKBaseKitExample-GKBaseKitTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-GKBaseKitExample-GKBaseKitTests/Pods-GKBaseKitExample-GKBaseKitTests.release.xcconfig"; sourceTree = ""; }; - E9D6625CA29B3DA52533F374 /* Pods_GKBaseKitExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_GKBaseKitExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - ED8896E80B201DFA35895081 /* Pods-GKBaseKitExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-GKBaseKitExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-GKBaseKitExample/Pods-GKBaseKitExample.debug.xcconfig"; sourceTree = ""; }; - FF6940AEBEB90C17CBD4104D /* Pods_GKBaseKitExample_GKBaseKitTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_GKBaseKitExample_GKBaseKitTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 86AB98842060A02B000E558F /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 3EF616CE8D14820685EA57CB /* Pods_GKBaseKitExample.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 86AB989D2060A398000E558F /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 55A767DF3B448C3F30823E01 /* Pods_GKBaseKitExample_GKBaseKitTests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 6BD5A8B2110A18CE791EBB62 /* Pods */ = { - isa = PBXGroup; - children = ( - ED8896E80B201DFA35895081 /* Pods-GKBaseKitExample.debug.xcconfig */, - AE661B3A76313F3C03866091 /* Pods-GKBaseKitExample.release.xcconfig */, - 6649AE1D9078CF79F5D61F65 /* Pods-GKBaseKitExample-GKBaseKitTests.debug.xcconfig */, - CFC9DC2E41490001F1AD1631 /* Pods-GKBaseKitExample-GKBaseKitTests.release.xcconfig */, - ); - name = Pods; - sourceTree = ""; - }; - 86AB987E2060A02B000E558F = { - isa = PBXGroup; - children = ( - 86AB98892060A02B000E558F /* GKBaseKitExample */, - 86AB98A12060A398000E558F /* GKBaseKitTests */, - 86AB98882060A02B000E558F /* Products */, - 6BD5A8B2110A18CE791EBB62 /* Pods */, - C85648226726581F5BAF5BBD /* Frameworks */, - ); - sourceTree = ""; - }; - 86AB98882060A02B000E558F /* Products */ = { - isa = PBXGroup; - children = ( - 86AB98872060A02B000E558F /* GKBaseKitExample.app */, - 86AB98A02060A398000E558F /* GKBaseKitTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 86AB98892060A02B000E558F /* GKBaseKitExample */ = { - isa = PBXGroup; - children = ( - 86AB988A2060A02B000E558F /* AppDelegate.swift */, - 86AB988C2060A02B000E558F /* ViewController.swift */, - 86AB988E2060A02B000E558F /* Main.storyboard */, - 86AB98912060A02B000E558F /* Assets.xcassets */, - 86AB98932060A02B000E558F /* LaunchScreen.storyboard */, - 86AB98962060A02B000E558F /* Info.plist */, - ); - path = GKBaseKitExample; - sourceTree = ""; - }; - 86AB98A12060A398000E558F /* GKBaseKitTests */ = { - isa = PBXGroup; - children = ( - 86AB98A82060A412000E558F /* BaseKitTests.swift */, - 86AB98A92060A413000E558F /* Configuration */, - 86AB98AB2060A413000E558F /* Test Helpers */, - 86AB98A42060A398000E558F /* Info.plist */, - ); - path = GKBaseKitTests; - sourceTree = ""; - }; - 86AB98A92060A413000E558F /* Configuration */ = { - isa = PBXGroup; - children = ( - 86AB98AA2060A413000E558F /* BaseKitConfigurationTests.swift */, - ); - path = Configuration; - sourceTree = ""; - }; - 86AB98AB2060A413000E558F /* Test Helpers */ = { - isa = PBXGroup; - children = ( - 86AB98AC2060A413000E558F /* TestDebug.swift */, - ); - path = "Test Helpers"; - sourceTree = ""; - }; - C85648226726581F5BAF5BBD /* Frameworks */ = { - isa = PBXGroup; - children = ( - E9D6625CA29B3DA52533F374 /* Pods_GKBaseKitExample.framework */, - FF6940AEBEB90C17CBD4104D /* Pods_GKBaseKitExample_GKBaseKitTests.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 86AB98862060A02B000E558F /* GKBaseKitExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = 86AB98992060A02B000E558F /* Build configuration list for PBXNativeTarget "GKBaseKitExample" */; - buildPhases = ( - D8ED44E20ADF38F974AEE2DF /* [CP] Check Pods Manifest.lock */, - 86AB98832060A02B000E558F /* Sources */, - 86AB98842060A02B000E558F /* Frameworks */, - 86AB98852060A02B000E558F /* Resources */, - 901BAE28A745B4FDB3BFEEFB /* [CP] Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = GKBaseKitExample; - productName = BaseKitExample; - productReference = 86AB98872060A02B000E558F /* GKBaseKitExample.app */; - productType = "com.apple.product-type.application"; - }; - 86AB989F2060A398000E558F /* GKBaseKitTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 86AB98A72060A398000E558F /* Build configuration list for PBXNativeTarget "GKBaseKitTests" */; - buildPhases = ( - F8BB4121D6E75597EDD65CDD /* [CP] Check Pods Manifest.lock */, - 86AB989C2060A398000E558F /* Sources */, - 86AB989D2060A398000E558F /* Frameworks */, - 86AB989E2060A398000E558F /* Resources */, - 5E05131D46D7FBBD1F9501C9 /* [CP] Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - 8693F07A21702B280067BF90 /* PBXTargetDependency */, - ); - name = GKBaseKitTests; - productName = BaseKitTests; - productReference = 86AB98A02060A398000E558F /* GKBaseKitTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 86AB987F2060A02B000E558F /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0920; - LastUpgradeCheck = 1000; - ORGANIZATIONNAME = "Gligor Kotushevski"; - TargetAttributes = { - 86AB98862060A02B000E558F = { - CreatedOnToolsVersion = 9.2; - LastSwiftMigration = 1140; - ProvisioningStyle = Automatic; - }; - 86AB989F2060A398000E558F = { - CreatedOnToolsVersion = 9.2; - LastSwiftMigration = 1140; - ProvisioningStyle = Automatic; - TestTargetID = 86AB98862060A02B000E558F; - }; - }; - }; - buildConfigurationList = 86AB98822060A02B000E558F /* Build configuration list for PBXProject "GKBaseKitExample" */; - compatibilityVersion = "Xcode 8.0"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 86AB987E2060A02B000E558F; - productRefGroup = 86AB98882060A02B000E558F /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 86AB98862060A02B000E558F /* GKBaseKitExample */, - 86AB989F2060A398000E558F /* GKBaseKitTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 86AB98852060A02B000E558F /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 86AB98952060A02B000E558F /* LaunchScreen.storyboard in Resources */, - 86AB98922060A02B000E558F /* Assets.xcassets in Resources */, - 86AB98902060A02B000E558F /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 86AB989E2060A398000E558F /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 5E05131D46D7FBBD1F9501C9 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-GKBaseKitExample-GKBaseKitTests/Pods-GKBaseKitExample-GKBaseKitTests-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/GKBaseKit/GKBaseKit.framework", - "${BUILT_PRODUCTS_DIR}/Nimble/Nimble.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GKBaseKit.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Nimble.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-GKBaseKitExample-GKBaseKitTests/Pods-GKBaseKitExample-GKBaseKitTests-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 901BAE28A745B4FDB3BFEEFB /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-GKBaseKitExample/Pods-GKBaseKitExample-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/GKBaseKit/GKBaseKit.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GKBaseKit.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-GKBaseKitExample/Pods-GKBaseKitExample-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - D8ED44E20ADF38F974AEE2DF /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-GKBaseKitExample-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - F8BB4121D6E75597EDD65CDD /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-GKBaseKitExample-GKBaseKitTests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 86AB98832060A02B000E558F /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 86AB988D2060A02B000E558F /* ViewController.swift in Sources */, - 86AB988B2060A02B000E558F /* AppDelegate.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 86AB989C2060A398000E558F /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 86AB98AE2060A413000E558F /* BaseKitConfigurationTests.swift in Sources */, - 86AB98AD2060A413000E558F /* BaseKitTests.swift in Sources */, - 86AB98AF2060A413000E558F /* TestDebug.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 8693F07A21702B280067BF90 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 86AB98862060A02B000E558F /* GKBaseKitExample */; - targetProxy = 8693F07921702B280067BF90 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 86AB988E2060A02B000E558F /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 86AB988F2060A02B000E558F /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - 86AB98932060A02B000E558F /* LaunchScreen.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 86AB98942060A02B000E558F /* Base */, - ); - name = LaunchScreen.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 86AB98972060A02B000E558F /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.2; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - 86AB98982060A02B000E558F /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.2; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 86AB989A2060A02B000E558F /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = ED8896E80B201DFA35895081 /* Pods-GKBaseKitExample.debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_STYLE = Automatic; - INFOPLIST_FILE = GKBaseKitExample/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = nz.co.gligor.GKBaseKitExample; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 86AB989B2060A02B000E558F /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = AE661B3A76313F3C03866091 /* Pods-GKBaseKitExample.release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_STYLE = Automatic; - INFOPLIST_FILE = GKBaseKitExample/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = nz.co.gligor.GKBaseKitExample; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; - 86AB98A52060A398000E558F /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 6649AE1D9078CF79F5D61F65 /* Pods-GKBaseKitExample-GKBaseKitTests.debug.xcconfig */; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_STYLE = Automatic; - INFOPLIST_FILE = GKBaseKitTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = nz.co.gligor.BaseKitTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/GKBaseKitExample.app/GKBaseKitExample"; - }; - name = Debug; - }; - 86AB98A62060A398000E558F /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = CFC9DC2E41490001F1AD1631 /* Pods-GKBaseKitExample-GKBaseKitTests.release.xcconfig */; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_STYLE = Automatic; - INFOPLIST_FILE = GKBaseKitTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = nz.co.gligor.BaseKitTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/GKBaseKitExample.app/GKBaseKitExample"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 86AB98822060A02B000E558F /* Build configuration list for PBXProject "GKBaseKitExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 86AB98972060A02B000E558F /* Debug */, - 86AB98982060A02B000E558F /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 86AB98992060A02B000E558F /* Build configuration list for PBXNativeTarget "GKBaseKitExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 86AB989A2060A02B000E558F /* Debug */, - 86AB989B2060A02B000E558F /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 86AB98A72060A398000E558F /* Build configuration list for PBXNativeTarget "GKBaseKitTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 86AB98A52060A398000E558F /* Debug */, - 86AB98A62060A398000E558F /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 86AB987F2060A02B000E558F /* Project object */; -} diff --git a/GKBaseKitExample/GKBaseKitExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/GKBaseKitExample/GKBaseKitExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 0e36d6c..0000000 --- a/GKBaseKitExample/GKBaseKitExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/GKBaseKitExample/GKBaseKitExample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/GKBaseKitExample/GKBaseKitExample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/GKBaseKitExample/GKBaseKitExample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/GKBaseKitExample/GKBaseKitExample.xcodeproj/xcshareddata/xcschemes/GKBaseKitExample.xcscheme b/GKBaseKitExample/GKBaseKitExample.xcodeproj/xcshareddata/xcschemes/GKBaseKitExample.xcscheme deleted file mode 100644 index 3aaeb3d..0000000 --- a/GKBaseKitExample/GKBaseKitExample.xcodeproj/xcshareddata/xcschemes/GKBaseKitExample.xcscheme +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/GKBaseKitExample/GKBaseKitExample.xcodeproj/xcshareddata/xcschemes/GKBaseKitTests.xcscheme b/GKBaseKitExample/GKBaseKitExample.xcodeproj/xcshareddata/xcschemes/GKBaseKitTests.xcscheme deleted file mode 100644 index 8dba9b8..0000000 --- a/GKBaseKitExample/GKBaseKitExample.xcodeproj/xcshareddata/xcschemes/GKBaseKitTests.xcscheme +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/GKBaseKitExample/GKBaseKitExample.xcworkspace/contents.xcworkspacedata b/GKBaseKitExample/GKBaseKitExample.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 1cab1e0..0000000 --- a/GKBaseKitExample/GKBaseKitExample.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/GKBaseKitExample/GKBaseKitExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/GKBaseKitExample/GKBaseKitExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/GKBaseKitExample/GKBaseKitExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/GKBaseKitExample/GKBaseKitExample/AppDelegate.swift b/GKBaseKitExample/GKBaseKitExample/AppDelegate.swift deleted file mode 100644 index d0ad5a0..0000000 --- a/GKBaseKitExample/GKBaseKitExample/AppDelegate.swift +++ /dev/null @@ -1,46 +0,0 @@ -// -// AppDelegate.swift -// GKBaseKitExample -// -// Created by Gligor Kotushevski on 20/03/17. -// Copyright © 2017 Gligor Kotushevski. All rights reserved. -// - -import UIKit - -@UIApplicationMain -class AppDelegate: UIResponder, UIApplicationDelegate { - - var window: UIWindow? - - - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { - // Override point for customization after application launch. - return true - } - - func applicationWillResignActive(_ application: UIApplication) { - // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. - // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game. - } - - func applicationDidEnterBackground(_ application: UIApplication) { - // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. - // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. - } - - func applicationWillEnterForeground(_ application: UIApplication) { - // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. - } - - func applicationDidBecomeActive(_ application: UIApplication) { - // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. - } - - func applicationWillTerminate(_ application: UIApplication) { - // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. - } - - -} - diff --git a/GKBaseKitExample/GKBaseKitExample/Assets.xcassets/AppIcon.appiconset/Contents.json b/GKBaseKitExample/GKBaseKitExample/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index d8db8d6..0000000 --- a/GKBaseKitExample/GKBaseKitExample/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "images" : [ - { - "idiom" : "iphone", - "size" : "20x20", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "20x20", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "3x" - }, - { - "idiom" : "ipad", - "size" : "20x20", - "scale" : "1x" - }, - { - "idiom" : "ipad", - "size" : "20x20", - "scale" : "2x" - }, - { - "idiom" : "ipad", - "size" : "29x29", - "scale" : "1x" - }, - { - "idiom" : "ipad", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "ipad", - "size" : "40x40", - "scale" : "1x" - }, - { - "idiom" : "ipad", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "ipad", - "size" : "76x76", - "scale" : "1x" - }, - { - "idiom" : "ipad", - "size" : "76x76", - "scale" : "2x" - }, - { - "idiom" : "ipad", - "size" : "83.5x83.5", - "scale" : "2x" - }, - { - "idiom" : "ios-marketing", - "size" : "1024x1024", - "scale" : "1x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/GKBaseKitExample/GKBaseKitExample/Base.lproj/LaunchScreen.storyboard b/GKBaseKitExample/GKBaseKitExample/Base.lproj/LaunchScreen.storyboard deleted file mode 100644 index f83f6fd..0000000 --- a/GKBaseKitExample/GKBaseKitExample/Base.lproj/LaunchScreen.storyboard +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/GKBaseKitExample/GKBaseKitExample/Base.lproj/Main.storyboard b/GKBaseKitExample/GKBaseKitExample/Base.lproj/Main.storyboard deleted file mode 100644 index 03c13c2..0000000 --- a/GKBaseKitExample/GKBaseKitExample/Base.lproj/Main.storyboard +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/GKBaseKitExample/GKBaseKitExample/Info.plist b/GKBaseKitExample/GKBaseKitExample/Info.plist deleted file mode 100644 index 16be3b6..0000000 --- a/GKBaseKitExample/GKBaseKitExample/Info.plist +++ /dev/null @@ -1,45 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/GKBaseKitExample/GKBaseKitExample/ViewController.swift b/GKBaseKitExample/GKBaseKitExample/ViewController.swift deleted file mode 100644 index 8e9969f..0000000 --- a/GKBaseKitExample/GKBaseKitExample/ViewController.swift +++ /dev/null @@ -1,25 +0,0 @@ -// -// ViewController.swift -// GKBaseKitExample -// -// Created by Gligor Kotushevski on 20/03/17. -// Copyright © 2017 Gligor Kotushevski. All rights reserved. -// - -import UIKit - -class ViewController: UIViewController { - - override func viewDidLoad() { - super.viewDidLoad() - // Do any additional setup after loading the view, typically from a nib. - } - - override func didReceiveMemoryWarning() { - super.didReceiveMemoryWarning() - // Dispose of any resources that can be recreated. - } - - -} - diff --git a/GKBaseKitExample/GKBaseKitTests/BaseKitTests.swift b/GKBaseKitExample/GKBaseKitTests/BaseKitTests.swift deleted file mode 100644 index d6e4868..0000000 --- a/GKBaseKitExample/GKBaseKitTests/BaseKitTests.swift +++ /dev/null @@ -1,37 +0,0 @@ -// -// BaseKitTests.swift -// GKBaseKitTests -// -// Created by Gligor Kotushevski on 20/03/17. -// Copyright © 2017 Gligor Kotushevski. All rights reserved. -// - -import XCTest -import Nimble -@testable import GKBaseKit - -class BaseKitTests: XCTestCase { - - override func tearDown() { - BaseKitConfiguration.tearDownConfig() - } - - func test_baseKitIsTrueByDefault() { - BaseKit.initBaseKit() - expect(BaseKitConfiguration.shared.debug).toNot(beNil()) - expect(BaseKit.isDebug()).to(beTrue()) - } - - func test_baseKitIsTrueWhenDebugProtocolReturnsTrue() { - BaseKit.initBaseKit(debug: TrueDebug()) - expect(BaseKitConfiguration.shared.debug).toNot(beNil()) - expect(BaseKit.isDebug()).to(beTrue()) - } - - func test_baseKitIsFalseWhenDebugProtocolReturnsFalse() { - BaseKit.initBaseKit(debug: FalseDebug()) - expect(BaseKitConfiguration.shared.debug).toNot(beNil()) - expect(BaseKit.isDebug()).to(beFalse()) - } - -} diff --git a/GKBaseKitExample/GKBaseKitTests/Configuration/BaseKitConfigurationTests.swift b/GKBaseKitExample/GKBaseKitTests/Configuration/BaseKitConfigurationTests.swift deleted file mode 100644 index df9b7cf..0000000 --- a/GKBaseKitExample/GKBaseKitTests/Configuration/BaseKitConfigurationTests.swift +++ /dev/null @@ -1,23 +0,0 @@ -// -// BaseKitConfigurationTests.swift -// GKBaseKitTests -// -// Created by Gligor Kotushevski on 20/03/17. -// Copyright © 2017 Gligor Kotushevski. All rights reserved. -// - -import XCTest -import Nimble -@testable import GKBaseKit - -class BaseKitConfigurationTests: XCTestCase { - - override func tearDown() { - BaseKitConfiguration.tearDownConfig() - } - - func test_configurationFatalErrorIfNotSetup() { - expect { _ = BaseKitConfiguration.shared }.to(throwAssertion()) - } - -} diff --git a/GKBaseKitExample/GKBaseKitTests/Info.plist b/GKBaseKitExample/GKBaseKitTests/Info.plist deleted file mode 100644 index 6c40a6c..0000000 --- a/GKBaseKitExample/GKBaseKitTests/Info.plist +++ /dev/null @@ -1,22 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/GKBaseKitExample/GKBaseKitTests/Test Helpers/TestDebug.swift b/GKBaseKitExample/GKBaseKitTests/Test Helpers/TestDebug.swift deleted file mode 100644 index b2a319b..0000000 --- a/GKBaseKitExample/GKBaseKitTests/Test Helpers/TestDebug.swift +++ /dev/null @@ -1,21 +0,0 @@ -// -// TestDebug.swift -// GKBaseKitTests -// -// Created by Gligor Kotushevski on 20/03/17. -// Copyright © 2017 Gligor Kotushevski. All rights reserved. -// - -@testable import GKBaseKit - -final class TrueDebug: DebugProtocol { - var isDebug: Bool { - return true - } -} - -final class FalseDebug: DebugProtocol { - var isDebug: Bool { - return false - } -} diff --git a/GKBaseKitExample/Podfile b/GKBaseKitExample/Podfile deleted file mode 100644 index 5b81770..0000000 --- a/GKBaseKitExample/Podfile +++ /dev/null @@ -1,16 +0,0 @@ -source 'https://github.com/CocoaPods/Specs.git' - -use_frameworks! - -workspace 'GKBaseKitExample' - -target :'GKBaseKitExample' do - project 'GKBaseKitExample.xcodeproj' - platform :ios, '9.0' - - pod 'GKBaseKit', :path => '../' - - target :'GKBaseKitTests' do - pod 'Nimble', '~> 8.x' - end -end From bcbf2625b95e6677b0261da03f649e0f1be2afe2 Mon Sep 17 00:00:00 2001 From: Gligor Kotushevski Date: Sat, 27 Nov 2021 00:57:44 +1300 Subject: [PATCH 3/4] updating podspec to 2.0.0-beta1 for testing purposes --- GKBaseKit.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GKBaseKit.podspec b/GKBaseKit.podspec index 83ad6ae..bb0e3aa 100644 --- a/GKBaseKit.podspec +++ b/GKBaseKit.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = 'GKBaseKit' - s.version = '2.0.0' + s.version = '2.0.0-beta1' s.summary = 'GKBaseKit framework.' s.description = <<-DESC * GKBaseKit framework From 2c920c194eef88c7472ed830dacd667b1b3c486d Mon Sep 17 00:00:00 2001 From: Gligor Kotushevski Date: Sat, 27 Nov 2021 01:10:22 +1300 Subject: [PATCH 4/4] updated readme and reverting to version 2.0.0 --- GKBaseKit.podspec | 2 +- README.md | 20 +++++++++++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/GKBaseKit.podspec b/GKBaseKit.podspec index bb0e3aa..83ad6ae 100644 --- a/GKBaseKit.podspec +++ b/GKBaseKit.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = 'GKBaseKit' - s.version = '2.0.0-beta1' + s.version = '2.0.0' s.summary = 'GKBaseKit framework.' s.description = <<-DESC * GKBaseKit framework diff --git a/README.md b/README.md index 38d983a..0cf3cba 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,21 @@ # GKBaseKit -A description of this package. +Base package adding helpful errors + error adapter, isDebug function and a failure block returning an error response protocol that app errors can conform to. + +Supports Swift Package Manager and Cocoapods. + +## Installation instructions + +### Swift Package Manager + +Add the following to the `dependencies` array in your "Package.swift" file: + + .package(url: "https://github.com/gligorkot/GKBaseKit.git", from: Version("2.0.0")) + +Or by adding `https://github.com/gligorkot/GKBaseKit.git`, version 2.0.0 or later, to the list of Swift packages for any project in Xcode. + +### CocoaPods + +Add the following to your "Podfile": + + pod 'GKBaseKit', '~> 2.x'