add hex color pod for swift

This commit is contained in:
Николай Ашанин 2016-01-24 18:55:10 +03:00
parent 58441134ac
commit b60ef2f6f1
9 changed files with 543 additions and 311 deletions

View File

@ -11,4 +11,5 @@ source 'https://github.com/CocoaPods/Specs.git'
target 'iOS-Base-Library' do
pod 'Alamofire', '~> 3.1.5'
pod 'CocoaLumberjack/Swift', '~> 2.2.0'
pod 'UIColor_Hex_Swift', '~> 1.8'
end

View File

@ -7,13 +7,16 @@ PODS:
- CocoaLumberjack/Default
- CocoaLumberjack/Swift (2.2.0):
- CocoaLumberjack/Extensions
- UIColor_Hex_Swift (1.8)
DEPENDENCIES:
- Alamofire (~> 3.0)
- Alamofire (~> 3.1.5)
- CocoaLumberjack/Swift (~> 2.2.0)
- UIColor_Hex_Swift (~> 1.8)
SPEC CHECKSUMS:
Alamofire: 5f730ba29fd113b7ddd71c1e65d0c630acf5d7b0
CocoaLumberjack: 17fe8581f84914d5d7e6360f7c70022b173c3ae0
UIColor_Hex_Swift: a66b9d5f6e8fddbd9fe32996504f0b7e9d20d680
COCOAPODS: 0.39.0

File diff suppressed because it is too large Load Diff

View File

@ -44,4 +44,28 @@ with or without modification, are permitted provided that the following conditio
written permission of Deusty, LLC.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
## UIColor_Hex_Swift
The MIT License (MIT)
Copyright (c) 2014 R0CKSTAR
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.
Generated by CocoaPods - http://cocoapods.org

View File

@ -64,6 +64,34 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>The MIT License (MIT)
Copyright (c) 2014 R0CKSTAR
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.</string>
<key>Title</key>
<string>UIColor_Hex_Swift</string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>Generated by CocoaPods - http://cocoapods.org</string>

View File

@ -86,8 +86,10 @@ strip_invalid_archs() {
if [[ "$CONFIGURATION" == "Debug" ]]; then
install_framework "Pods-iOS-Base-Library/Alamofire.framework"
install_framework "Pods-iOS-Base-Library/CocoaLumberjack.framework"
install_framework "Pods-iOS-Base-Library/UIColor_Hex_Swift.framework"
fi
if [[ "$CONFIGURATION" == "Release" ]]; then
install_framework "Pods-iOS-Base-Library/Alamofire.framework"
install_framework "Pods-iOS-Base-Library/CocoaLumberjack.framework"
install_framework "Pods-iOS-Base-Library/UIColor_Hex_Swift.framework"
fi

View File

@ -1,8 +1,8 @@
EMBEDDED_CONTENT_CONTAINS_SWIFT = YES
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/Alamofire.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/CocoaLumberjack.framework/Headers"
OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "CocoaLumberjack"
OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/Alamofire.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/CocoaLumberjack.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/UIColor_Hex_Swift.framework/Headers"
OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "CocoaLumberjack" -framework "UIColor_Hex_Swift"
OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-iOS-Base-Library
PODS_ROOT = ${SRCROOT}/Pods

View File

@ -1,8 +1,8 @@
EMBEDDED_CONTENT_CONTAINS_SWIFT = YES
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/Alamofire.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/CocoaLumberjack.framework/Headers"
OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "CocoaLumberjack"
OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/Alamofire.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/CocoaLumberjack.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/UIColor_Hex_Swift.framework/Headers"
OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "CocoaLumberjack" -framework "UIColor_Hex_Swift"
OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-iOS-Base-Library
PODS_ROOT = ${SRCROOT}/Pods

View File

@ -75,6 +75,7 @@
952A638B1C5408AC00E3572C /* iOS-Base-Library */ = {
isa = PBXGroup;
children = (
952A63AD1C5529EE00E3572C /* Request */,
952A63A31C543CB100E3572C /* Logger */,
952A638C1C5408AC00E3572C /* AppDelegate.swift */,
952A638E1C5408AC00E3572C /* ViewController.swift */,
@ -112,6 +113,13 @@
name = Logger;
sourceTree = "<group>";
};
952A63AD1C5529EE00E3572C /* Request */ = {
isa = PBXGroup;
children = (
);
name = Request;
sourceTree = "<group>";
};
A4335B72714901204F872B8A /* Pods */ = {
isa = PBXGroup;
children = (