on 382b022 help sign in
11 files changed+15−104
since splitsnapshots
unifiedsplit
.swift-version+1−1 .travis.yml+2−2 Example/Example.xcodeproj/project.pbxproj−2 Example/Example/Base.lproj/Main.storyboard+1−1 HueKit.podspec+1−1 HueKit.xcodeproj/project.pbxproj+5−12 HueKit.xcodeproj/xcshareddata/xcschemes/iOS.xcscheme−80 HueKit/Info.plist+1−1 HueKit/Model/HSV.swift+1−1 HueKit/Model/RGB.swift+1−1 README.md+2−2
.swift-version+1−1
@@ -1 +1 @@
1−4.1
1+4.0
.travis.yml+2−2
@@ -1,5 +1,5 @@
11language: objective-c
2−osx_image: xcode9.3
2+osx_image: xcode9.1
33branches:
44 only:
55 - master
@@ -13,7 +13,7 @@ env:
1313 matrix:
1414
1515 - DESTINATION="OS=10.0,name=iPhone 7" SCHEME="$IOS_FRAMEWORK_SCHEME" RUN_TESTS="NO" BUILD_EXAMPLE="YES" CODE_COV="NO"
16− - DESTINATION="OS=11.3,name=iPad Pro (9.7-inch)" SCHEME="$IOS_FRAMEWORK_SCHEME" RUN_TESTS="NO" BUILD_EXAMPLE="YES" CODE_COV="NO"
16+ - DESTINATION="OS=11.1,name=iPad Pro (9.7-inch)" SCHEME="$IOS_FRAMEWORK_SCHEME" RUN_TESTS="NO" BUILD_EXAMPLE="YES" CODE_COV="NO"
1717
1818script:
1919 - set -o pipefail
Example/Example.xcodeproj/project.pbxproj−2
@@ -303,7 +303,6 @@
303303 CODE_SIGN_STYLE = Automatic;
304304 DEVELOPMENT_TEAM = 6G5LMQ72D8;
305305 INFOPLIST_FILE = Example/Info.plist;
306− IPHONEOS_DEPLOYMENT_TARGET = 10.0;
307306 LD_RUNPATH_SEARCH_PATHS = (
308307 "$(inherited)",
309308 "@executable_path/Frameworks",
@@ -322,7 +321,6 @@
322321 CODE_SIGN_STYLE = Automatic;
323322 DEVELOPMENT_TEAM = 6G5LMQ72D8;
324323 INFOPLIST_FILE = Example/Info.plist;
325− IPHONEOS_DEPLOYMENT_TARGET = 10.0;
326324 LD_RUNPATH_SEARCH_PATHS = (
327325 "$(inherited)",
328326 "@executable_path/Frameworks",
Example/Example/Base.lproj/Main.storyboard+1−1
@@ -1,5 +1,5 @@
11<?xml version="1.0" encoding="UTF-8"?>
2−<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="8Fw-bv-Lqp">
2+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14109" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="8Fw-bv-Lqp">
33 <device id="retina4_7" orientation="portrait">
44 <adaptation id="fullscreen"/>
55 </device>
HueKit.podspec+1−1
@@ -1,6 +1,6 @@
11Pod::Spec.new do |s|
22 s.name = 'HueKit'
3− s.version = '1.0.1'
3+ s.version = '1.0.0'
44 s.license = 'MIT'
55 s.summary = 'A UI framework for iOS that provides components and utilities for building color pickers.'
66 s.homepage = 'https://github.com/louisdh/huekit'
HueKit.xcodeproj/project.pbxproj+5−12
@@ -151,13 +151,14 @@
151151 isa = PBXProject;
152152 attributes = {
153153 LastSwiftUpdateCheck = 0930;
154− LastUpgradeCheck = 0930;
154+ LastUpgradeCheck = 0900;
155155 ORGANIZATIONNAME = "Silver Fox";
156156 TargetAttributes = {
157157 BE5C1E161F3266B600B0080C = {
158158 CreatedOnToolsVersion = 8.3.3;
159+ DevelopmentTeam = 6G5LMQ72D8;
159160 LastSwiftMigration = 0900;
160− ProvisioningStyle = Manual;
161+ ProvisioningStyle = Automatic;
161162 };
162163 };
163164 };
@@ -226,7 +227,6 @@
226227 CLANG_WARN_BOOL_CONVERSION = YES;
227228 CLANG_WARN_COMMA = YES;
228229 CLANG_WARN_CONSTANT_CONVERSION = YES;
229− CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
230230 CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
231231 CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
232232 CLANG_WARN_EMPTY_BODY = YES;
@@ -234,7 +234,6 @@
234234 CLANG_WARN_INFINITE_RECURSION = YES;
235235 CLANG_WARN_INT_CONVERSION = YES;
236236 CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
237− CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
238237 CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
239238 CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
240239 CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
@@ -288,7 +287,6 @@
288287 CLANG_WARN_BOOL_CONVERSION = YES;
289288 CLANG_WARN_COMMA = YES;
290289 CLANG_WARN_CONSTANT_CONVERSION = YES;
291− CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
292290 CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
293291 CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
294292 CLANG_WARN_EMPTY_BODY = YES;
@@ -296,7 +294,6 @@
296294 CLANG_WARN_INFINITE_RECURSION = YES;
297295 CLANG_WARN_INT_CONVERSION = YES;
298296 CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
299− CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
300297 CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
301298 CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
302299 CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
@@ -334,10 +331,9 @@
334331 buildSettings = {
335332 CLANG_ENABLE_MODULES = YES;
336333 CODE_SIGN_IDENTITY = "";
337− CODE_SIGN_STYLE = Manual;
338334 DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
339335 DEFINES_MODULE = YES;
340− DEVELOPMENT_TEAM = "";
336+ DEVELOPMENT_TEAM = 6G5LMQ72D8;
341337 DYLIB_COMPATIBILITY_VERSION = 1;
342338 DYLIB_CURRENT_VERSION = 1;
343339 DYLIB_INSTALL_NAME_BASE = "@rpath";
@@ -347,7 +343,6 @@
347343 LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
348344 PRODUCT_BUNDLE_IDENTIFIER = be.silverfox.HueKit;
349345 PRODUCT_NAME = "$(TARGET_NAME)";
350− PROVISIONING_PROFILE_SPECIFIER = "";
351346 SKIP_INSTALL = YES;
352347 SWIFT_OPTIMIZATION_LEVEL = "-Onone";
353348 SWIFT_SWIFT3_OBJC_INFERENCE = Default;
@@ -360,9 +355,8 @@
360355 buildSettings = {
361356 CLANG_ENABLE_MODULES = YES;
362357 CODE_SIGN_IDENTITY = "";
363− CODE_SIGN_STYLE = Manual;
364358 DEFINES_MODULE = YES;
365− DEVELOPMENT_TEAM = "";
359+ DEVELOPMENT_TEAM = 6G5LMQ72D8;
366360 DYLIB_COMPATIBILITY_VERSION = 1;
367361 DYLIB_CURRENT_VERSION = 1;
368362 DYLIB_INSTALL_NAME_BASE = "@rpath";
@@ -372,7 +366,6 @@
372366 LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
373367 PRODUCT_BUNDLE_IDENTIFIER = be.silverfox.HueKit;
374368 PRODUCT_NAME = "$(TARGET_NAME)";
375− PROVISIONING_PROFILE_SPECIFIER = "";
376369 SKIP_INSTALL = YES;
377370 SWIFT_SWIFT3_OBJC_INFERENCE = Default;
378371 SWIFT_VERSION = 4.0;
HueKit.xcodeproj/xcshareddata/xcschemes/iOS.xcschemedeleted−80
@@ -1,80 +0,0 @@
1−<?xml version="1.0" encoding="UTF-8"?>
2−<Scheme
3− LastUpgradeVersion = "0930"
4− version = "1.3">
5− <BuildAction
6− parallelizeBuildables = "YES"
7− buildImplicitDependencies = "YES">
8− <BuildActionEntries>
9− <BuildActionEntry
10− buildForTesting = "YES"
11− buildForRunning = "YES"
12− buildForProfiling = "YES"
13− buildForArchiving = "YES"
14− buildForAnalyzing = "YES">
15− <BuildableReference
16− BuildableIdentifier = "primary"
17− BlueprintIdentifier = "BE5C1E161F3266B600B0080C"
18− BuildableName = "HueKit.framework"
19− BlueprintName = "HueKit"
20− ReferencedContainer = "container:HueKit.xcodeproj">
21− </BuildableReference>
22− </BuildActionEntry>
23− </BuildActionEntries>
24− </BuildAction>
25− <TestAction
26− buildConfiguration = "Debug"
27− selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28− selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29− shouldUseLaunchSchemeArgsEnv = "YES">
30− <Testables>
31− </Testables>
32− <AdditionalOptions>
33− </AdditionalOptions>
34− </TestAction>
35− <LaunchAction
36− buildConfiguration = "Debug"
37− selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
38− selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
39− launchStyle = "0"
40− useCustomWorkingDirectory = "NO"
41− ignoresPersistentStateOnLaunch = "NO"
42− debugDocumentVersioning = "YES"
43− debugServiceExtension = "internal"
44− allowLocationSimulation = "YES">
45− <MacroExpansion>
46− <BuildableReference
47− BuildableIdentifier = "primary"
48− BlueprintIdentifier = "BE5C1E161F3266B600B0080C"
49− BuildableName = "HueKit.framework"
50− BlueprintName = "HueKit"
51− ReferencedContainer = "container:HueKit.xcodeproj">
52− </BuildableReference>
53− </MacroExpansion>
54− <AdditionalOptions>
55− </AdditionalOptions>
56− </LaunchAction>
57− <ProfileAction
58− buildConfiguration = "Release"
59− shouldUseLaunchSchemeArgsEnv = "YES"
60− savedToolIdentifier = ""
61− useCustomWorkingDirectory = "NO"
62− debugDocumentVersioning = "YES">
63− <MacroExpansion>
64− <BuildableReference
65− BuildableIdentifier = "primary"
66− BlueprintIdentifier = "BE5C1E161F3266B600B0080C"
67− BuildableName = "HueKit.framework"
68− BlueprintName = "HueKit"
69− ReferencedContainer = "container:HueKit.xcodeproj">
70− </BuildableReference>
71− </MacroExpansion>
72− </ProfileAction>
73− <AnalyzeAction
74− buildConfiguration = "Debug">
75− </AnalyzeAction>
76− <ArchiveAction
77− buildConfiguration = "Release"
78− revealArchiveInOrganizer = "YES">
79− </ArchiveAction>
80−</Scheme>
HueKit/Info.plist+1−1
@@ -15,7 +15,7 @@
1515 <key>CFBundlePackageType</key>
1616 <string>FMWK</string>
1717 <key>CFBundleShortVersionString</key>
18− <string>1.0.1</string>
18+ <string>1.0</string>
1919 <key>CFBundleVersion</key>
2020 <string>$(CURRENT_PROJECT_VERSION)</string>
2121 <key>NSPrincipalClass</key>
HueKit/Model/HSV.swift+1−1
@@ -9,7 +9,7 @@
99import Foundation
1010import CoreGraphics
1111
12−public struct HSV: Hashable {
12+public struct HSV {
1313 /// In degrees (range 0...360)
1414 public var h: CGFloat
1515
HueKit/Model/RGB.swift+1−1
@@ -9,7 +9,7 @@
99import Foundation
1010import CoreGraphics
1111
12−public struct RGB: Hashable {
12+public struct RGB {
1313 /// In range 0...1
1414 public var r: CGFloat
1515
README.md+2−2
@@ -5,7 +5,7 @@
55<p align="center">
66<a href="https://travis-ci.org/louisdh/huekit"><img src="https://travis-ci.org/louisdh/huekit.svg?branch=master" style="max-height: 300px;" alt="Build Status"/></a>
77<br>
8−<a href="https://developer.apple.com/swift/"><img src="https://img.shields.io/badge/Swift-4.1-orange.svg?style=flat" style="max-height: 300px;" alt="Swift"/></a>
8+<a href="https://developer.apple.com/swift/"><img src="https://img.shields.io/badge/Swift-4.0-orange.svg?style=flat" style="max-height: 300px;" alt="Swift"/></a>
99<a href="https://cocoapods.org/pods/HueKit"><img src="https://img.shields.io/cocoapods/v/HueKit.svg" style="max-height: 300px;" alt="Pod Version"/></a>
1010<a href="https://github.com/Carthage/Carthage"><img src="https://img.shields.io/badge/Carthage-compatible-4bc51d.svg?style=flat" style="max-height: 300px;" alt="Carthage Compatible"/></a>
1111<img src="https://img.shields.io/badge/platform-iOS-lightgrey.svg" style="max-height: 300px;" alt="Platform: iOS">
@@ -67,7 +67,7 @@ Run ```carthage update``` to build the framework and drag the built ```HueKit.fr
6767## Requirements
6868
6969* iOS 10.0+
70−* Xcode 9.3+
70+* Xcode 9.0+
7171
7272## Todo
7373