diff --git a/README.md b/README.md index 6e0b8e5..68948ca 100644 --- a/README.md +++ b/README.md @@ -179,7 +179,7 @@ $ brew install carthage To integrate Alamofire into your Xcode project using Carthage, specify it in your `Cartfile`: ```ogdl -github "pisces/UINavigationBarDecorator" ~> 1.0.0 +github "pisces/UINavigationBarDecorator" ~> 1.0.1 ``` Run `carthage update` to build the framework and drag the built `UINavigationBarDecorator.framework` into your Xcode project. diff --git a/UINavigationBarDecorator.podspec b/UINavigationBarDecorator.podspec index f0d44b2..b5fc7c7 100644 --- a/UINavigationBarDecorator.podspec +++ b/UINavigationBarDecorator.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'UINavigationBarDecorator' - s.version = '1.0.0' + s.version = '1.0.1' s.summary = 'Compatible UINavigationBarAppearance' s.description = 'Compatible UINavigationBarAppearance for all iOS versions' s.homepage = 'https://github.com/pisces/UINavigationBarDecorator' diff --git a/UINavigationBarDecorator.xcodeproj/project.pbxproj b/UINavigationBarDecorator.xcodeproj/project.pbxproj new file mode 100644 index 0000000..e22ff84 --- /dev/null +++ b/UINavigationBarDecorator.xcodeproj/project.pbxproj @@ -0,0 +1,475 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + 230BF56B24D37FDF005AFFCE /* UINavigationBarDecorator.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 230BF56124D37FDE005AFFCE /* UINavigationBarDecorator.framework */; }; + 230BF57024D37FDF005AFFCE /* UINavigationBarDecoratorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 230BF56F24D37FDF005AFFCE /* UINavigationBarDecoratorTests.swift */; }; + 230BF57224D37FDF005AFFCE /* UINavigationBarDecorator.h in Headers */ = {isa = PBXBuildFile; fileRef = 230BF56424D37FDE005AFFCE /* UINavigationBarDecorator.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 230BF57E24D381B3005AFFCE /* UINavigationBarDecorator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 230BF57B24D381B3005AFFCE /* UINavigationBarDecorator.swift */; }; + 230BF57F24D381B3005AFFCE /* CompatibleNavigationBarAppearance.swift in Sources */ = {isa = PBXBuildFile; fileRef = 230BF57C24D381B3005AFFCE /* CompatibleNavigationBarAppearance.swift */; }; + 230BF58024D381B3005AFFCE /* UIViewController+UINavigationBarDecorator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 230BF57D24D381B3005AFFCE /* UIViewController+UINavigationBarDecorator.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 230BF56C24D37FDF005AFFCE /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 230BF55824D37FDE005AFFCE /* Project object */; + proxyType = 1; + remoteGlobalIDString = 230BF56024D37FDE005AFFCE; + remoteInfo = UINavigationBarDecorator; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 230BF56124D37FDE005AFFCE /* UINavigationBarDecorator.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = UINavigationBarDecorator.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 230BF56424D37FDE005AFFCE /* UINavigationBarDecorator.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = UINavigationBarDecorator.h; sourceTree = ""; }; + 230BF56524D37FDE005AFFCE /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 230BF56A24D37FDF005AFFCE /* UINavigationBarDecoratorTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = UINavigationBarDecoratorTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 230BF56F24D37FDF005AFFCE /* UINavigationBarDecoratorTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UINavigationBarDecoratorTests.swift; sourceTree = ""; }; + 230BF57124D37FDF005AFFCE /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 230BF57B24D381B3005AFFCE /* UINavigationBarDecorator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = UINavigationBarDecorator.swift; path = Classes/UINavigationBarDecorator.swift; sourceTree = ""; }; + 230BF57C24D381B3005AFFCE /* CompatibleNavigationBarAppearance.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = CompatibleNavigationBarAppearance.swift; path = Classes/CompatibleNavigationBarAppearance.swift; sourceTree = ""; }; + 230BF57D24D381B3005AFFCE /* UIViewController+UINavigationBarDecorator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = "UIViewController+UINavigationBarDecorator.swift"; path = "Classes/UIViewController+UINavigationBarDecorator.swift"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 230BF55E24D37FDE005AFFCE /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 230BF56724D37FDF005AFFCE /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 230BF56B24D37FDF005AFFCE /* UINavigationBarDecorator.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 230BF55724D37FDE005AFFCE = { + isa = PBXGroup; + children = ( + 230BF56324D37FDE005AFFCE /* UINavigationBarDecorator */, + 230BF56E24D37FDF005AFFCE /* UINavigationBarDecoratorTests */, + 230BF56224D37FDE005AFFCE /* Products */, + ); + sourceTree = ""; + }; + 230BF56224D37FDE005AFFCE /* Products */ = { + isa = PBXGroup; + children = ( + 230BF56124D37FDE005AFFCE /* UINavigationBarDecorator.framework */, + 230BF56A24D37FDF005AFFCE /* UINavigationBarDecoratorTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 230BF56324D37FDE005AFFCE /* UINavigationBarDecorator */ = { + isa = PBXGroup; + children = ( + 230BF57C24D381B3005AFFCE /* CompatibleNavigationBarAppearance.swift */, + 230BF57B24D381B3005AFFCE /* UINavigationBarDecorator.swift */, + 230BF57D24D381B3005AFFCE /* UIViewController+UINavigationBarDecorator.swift */, + 230BF56424D37FDE005AFFCE /* UINavigationBarDecorator.h */, + 230BF56524D37FDE005AFFCE /* Info.plist */, + ); + path = UINavigationBarDecorator; + sourceTree = ""; + }; + 230BF56E24D37FDF005AFFCE /* UINavigationBarDecoratorTests */ = { + isa = PBXGroup; + children = ( + 230BF56F24D37FDF005AFFCE /* UINavigationBarDecoratorTests.swift */, + 230BF57124D37FDF005AFFCE /* Info.plist */, + ); + path = UINavigationBarDecoratorTests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 230BF55C24D37FDE005AFFCE /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 230BF57224D37FDF005AFFCE /* UINavigationBarDecorator.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 230BF56024D37FDE005AFFCE /* UINavigationBarDecorator */ = { + isa = PBXNativeTarget; + buildConfigurationList = 230BF57524D37FDF005AFFCE /* Build configuration list for PBXNativeTarget "UINavigationBarDecorator" */; + buildPhases = ( + 230BF55C24D37FDE005AFFCE /* Headers */, + 230BF55D24D37FDE005AFFCE /* Sources */, + 230BF55E24D37FDE005AFFCE /* Frameworks */, + 230BF55F24D37FDE005AFFCE /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = UINavigationBarDecorator; + productName = UINavigationBarDecorator; + productReference = 230BF56124D37FDE005AFFCE /* UINavigationBarDecorator.framework */; + productType = "com.apple.product-type.framework"; + }; + 230BF56924D37FDF005AFFCE /* UINavigationBarDecoratorTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 230BF57824D37FDF005AFFCE /* Build configuration list for PBXNativeTarget "UINavigationBarDecoratorTests" */; + buildPhases = ( + 230BF56624D37FDF005AFFCE /* Sources */, + 230BF56724D37FDF005AFFCE /* Frameworks */, + 230BF56824D37FDF005AFFCE /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 230BF56D24D37FDF005AFFCE /* PBXTargetDependency */, + ); + name = UINavigationBarDecoratorTests; + productName = UINavigationBarDecoratorTests; + productReference = 230BF56A24D37FDF005AFFCE /* UINavigationBarDecoratorTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 230BF55824D37FDE005AFFCE /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 1160; + LastUpgradeCheck = 1160; + ORGANIZATIONNAME = pisces; + TargetAttributes = { + 230BF56024D37FDE005AFFCE = { + CreatedOnToolsVersion = 11.6; + LastSwiftMigration = 1160; + }; + 230BF56924D37FDF005AFFCE = { + CreatedOnToolsVersion = 11.6; + }; + }; + }; + buildConfigurationList = 230BF55B24D37FDE005AFFCE /* Build configuration list for PBXProject "UINavigationBarDecorator" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 230BF55724D37FDE005AFFCE; + productRefGroup = 230BF56224D37FDE005AFFCE /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 230BF56024D37FDE005AFFCE /* UINavigationBarDecorator */, + 230BF56924D37FDF005AFFCE /* UINavigationBarDecoratorTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 230BF55F24D37FDE005AFFCE /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 230BF56824D37FDF005AFFCE /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 230BF55D24D37FDE005AFFCE /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 230BF57E24D381B3005AFFCE /* UINavigationBarDecorator.swift in Sources */, + 230BF57F24D381B3005AFFCE /* CompatibleNavigationBarAppearance.swift in Sources */, + 230BF58024D381B3005AFFCE /* UIViewController+UINavigationBarDecorator.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 230BF56624D37FDF005AFFCE /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 230BF57024D37FDF005AFFCE /* UINavigationBarDecoratorTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 230BF56D24D37FDF005AFFCE /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 230BF56024D37FDE005AFFCE /* UINavigationBarDecorator */; + targetProxy = 230BF56C24D37FDF005AFFCE /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 230BF57324D37FDF005AFFCE /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 13.6; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 230BF57424D37FDF005AFFCE /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 13.6; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 230BF57624D37FDF005AFFCE /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = Z2MHWT9TNN; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = UINavigationBarDecorator/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = pisces.lib.UINavigationBarDecorator; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 230BF57724D37FDF005AFFCE /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = Z2MHWT9TNN; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = UINavigationBarDecorator/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = pisces.lib.UINavigationBarDecorator; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + 230BF57924D37FDF005AFFCE /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = Z2MHWT9TNN; + INFOPLIST_FILE = UINavigationBarDecoratorTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = pisces.lib.UINavigationBarDecoratorTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 230BF57A24D37FDF005AFFCE /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = Z2MHWT9TNN; + INFOPLIST_FILE = UINavigationBarDecoratorTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = pisces.lib.UINavigationBarDecoratorTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 230BF55B24D37FDE005AFFCE /* Build configuration list for PBXProject "UINavigationBarDecorator" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 230BF57324D37FDF005AFFCE /* Debug */, + 230BF57424D37FDF005AFFCE /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 230BF57524D37FDF005AFFCE /* Build configuration list for PBXNativeTarget "UINavigationBarDecorator" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 230BF57624D37FDF005AFFCE /* Debug */, + 230BF57724D37FDF005AFFCE /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 230BF57824D37FDF005AFFCE /* Build configuration list for PBXNativeTarget "UINavigationBarDecoratorTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 230BF57924D37FDF005AFFCE /* Debug */, + 230BF57A24D37FDF005AFFCE /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 230BF55824D37FDE005AFFCE /* Project object */; +} diff --git a/UINavigationBarDecorator.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/UINavigationBarDecorator.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..5730edb --- /dev/null +++ b/UINavigationBarDecorator.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/UINavigationBarDecorator.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/UINavigationBarDecorator.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/UINavigationBarDecorator.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/UINavigationBarDecorator.xcodeproj/xcshareddata/xcschemes/UINavigationBarDecorator.xcscheme b/UINavigationBarDecorator.xcodeproj/xcshareddata/xcschemes/UINavigationBarDecorator.xcscheme new file mode 100644 index 0000000..a162124 --- /dev/null +++ b/UINavigationBarDecorator.xcodeproj/xcshareddata/xcschemes/UINavigationBarDecorator.xcscheme @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/UINavigationBarDecorator/Classes/CompatibleNavigationBarAppearance.swift b/UINavigationBarDecorator/Classes/CompatibleNavigationBarAppearance.swift index febbefc..99ef345 100644 --- a/UINavigationBarDecorator/Classes/CompatibleNavigationBarAppearance.swift +++ b/UINavigationBarDecorator/Classes/CompatibleNavigationBarAppearance.swift @@ -30,7 +30,7 @@ // Created by Steve Kim on 2020/07/21. // -import Foundation +import UIKit open class CompatibleNavigationBarAppearance { diff --git a/UINavigationBarDecorator/Classes/UINavigationBarDecorator.swift b/UINavigationBarDecorator/Classes/UINavigationBarDecorator.swift index 823a9b8..c5e9cd4 100644 --- a/UINavigationBarDecorator/Classes/UINavigationBarDecorator.swift +++ b/UINavigationBarDecorator/Classes/UINavigationBarDecorator.swift @@ -30,7 +30,7 @@ // Created by Steve Kim on 2020/07/21. // -import Foundation +import UIKit public protocol UINavigationBarDecoratorFactory { func create(of vc: UIViewController) -> UINavigationBarDecorator? diff --git a/UINavigationBarDecorator/Classes/UIViewController+UINavigationBarDecorator.swift b/UINavigationBarDecorator/Classes/UIViewController+UINavigationBarDecorator.swift index 955788a..c4afebe 100644 --- a/UINavigationBarDecorator/Classes/UIViewController+UINavigationBarDecorator.swift +++ b/UINavigationBarDecorator/Classes/UIViewController+UINavigationBarDecorator.swift @@ -30,7 +30,7 @@ // Created by Steve Kim on 2020/07/21. // -import Foundation +import UIKit extension UIViewController { private struct AssociatedKeys { diff --git a/UINavigationBarDecorator/Info.plist b/UINavigationBarDecorator/Info.plist new file mode 100644 index 0000000..9bcb244 --- /dev/null +++ b/UINavigationBarDecorator/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + 1.0 + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + + diff --git a/UINavigationBarDecorator/UINavigationBarDecorator.h b/UINavigationBarDecorator/UINavigationBarDecorator.h new file mode 100644 index 0000000..66c8bc8 --- /dev/null +++ b/UINavigationBarDecorator/UINavigationBarDecorator.h @@ -0,0 +1,19 @@ +// +// UINavigationBarDecorator.h +// UINavigationBarDecorator +// +// Created by pisces on 2020/07/31. +// Copyright © 2020 pisces. All rights reserved. +// + +#import + +//! Project version number for UINavigationBarDecorator. +FOUNDATION_EXPORT double UINavigationBarDecoratorVersionNumber; + +//! Project version string for UINavigationBarDecorator. +FOUNDATION_EXPORT const unsigned char UINavigationBarDecoratorVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/UINavigationBarDecoratorTests/Info.plist b/UINavigationBarDecoratorTests/Info.plist new file mode 100644 index 0000000..64d65ca --- /dev/null +++ b/UINavigationBarDecoratorTests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/UINavigationBarDecoratorTests/UINavigationBarDecoratorTests.swift b/UINavigationBarDecoratorTests/UINavigationBarDecoratorTests.swift new file mode 100644 index 0000000..0c7871e --- /dev/null +++ b/UINavigationBarDecoratorTests/UINavigationBarDecoratorTests.swift @@ -0,0 +1,34 @@ +// +// UINavigationBarDecoratorTests.swift +// UINavigationBarDecoratorTests +// +// Created by pisces on 2020/07/31. +// Copyright © 2020 pisces. All rights reserved. +// + +import XCTest +@testable import UINavigationBarDecorator + +class UINavigationBarDecoratorTests: XCTestCase { + + override func setUpWithError() throws { + // Put setup code here. This method is called before the invocation of each test method in the class. + } + + override func tearDownWithError() throws { + // Put teardown code here. This method is called after the invocation of each test method in the class. + } + + func testExample() throws { + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct results. + } + + func testPerformanceExample() throws { + // This is an example of a performance test case. + self.measure { + // Put the code you want to measure the time of here. + } + } + +}