on master help sign in
11 files changed+104−15
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+12−5 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.0
1+4.1
.travis.yml+2−2
@@ -1,5 +1,5 @@
11language: objective-c
2−osx_image: xcode9.1
2+osx_image: xcode9.3
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.1,name=iPad Pro (9.7-inch)" 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"
1717
1818script:
1919 - set -o pipefail
Example/Example.xcodeproj/project.pbxproj+2
@@ -303,6 +303,7 @@
303303 CODE_SIGN_STYLE = Automatic;
304304 DEVELOPMENT_TEAM = 6G5LMQ72D8;
305305 INFOPLIST_FILE = Example/Info.plist;
306+ IPHONEOS_DEPLOYMENT_TARGET = 10.0;
306307 LD_RUNPATH_SEARCH_PATHS = (
307308 "$(inherited)",
308309 "@executable_path/Frameworks",
@@ -321,6 +322,7 @@
321322 CODE_SIGN_STYLE = Automatic;
322323 DEVELOPMENT_TEAM = 6G5LMQ72D8;
323324 INFOPLIST_FILE = Example/Info.plist;
325+ IPHONEOS_DEPLOYMENT_TARGET = 10.0;
324326 LD_RUNPATH_SEARCH_PATHS = (
325327 "$(inherited)",
326328 "@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="14109" 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="14113" 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.0'
3+ s.version = '1.0.1'
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+12−5
@@ -151,14 +151,13 @@
151151 isa = PBXProject;
152152 attributes = {
153153 LastSwiftUpdateCheck = 0930;
154− LastUpgradeCheck = 0900;
154+ LastUpgradeCheck = 0930;
155155 ORGANIZATIONNAME = "Silver Fox";
156156 TargetAttributes = {
157157 BE5C1E161F3266B600B0080C = {
158158 CreatedOnToolsVersion = 8.3.3;
159− DevelopmentTeam = 6G5LMQ72D8;
160159 LastSwiftMigration = 0900;
161− ProvisioningStyle = Automatic;
160+ ProvisioningStyle = Manual;
162161 };
163162 };
164163 };
@@ -227,6 +226,7 @@
227226 CLANG_WARN_BOOL_CONVERSION = YES;
228227 CLANG_WARN_COMMA = YES;
229228 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,6 +234,7 @@
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;
237238 CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
238239 CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
239240 CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
@@ -287,6 +288,7 @@
287288 CLANG_WARN_BOOL_CONVERSION = YES;
288289 CLANG_WARN_COMMA = YES;
289290 CLANG_WARN_CONSTANT_CONVERSION = YES;
291+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
290292 CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
291293 CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
292294 CLANG_WARN_EMPTY_BODY = YES;
@@ -294,6 +296,7 @@
294296 CLANG_WARN_INFINITE_RECURSION = YES;
295297 CLANG_WARN_INT_CONVERSION = YES;
296298 CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
299+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
297300 CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
298301 CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
299302 CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
@@ -331,9 +334,10 @@
331334 buildSettings = {
332335 CLANG_ENABLE_MODULES = YES;
333336 CODE_SIGN_IDENTITY = "";
337+ CODE_SIGN_STYLE = Manual;
334338 DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
335339 DEFINES_MODULE = YES;
336− DEVELOPMENT_TEAM = 6G5LMQ72D8;
340+ DEVELOPMENT_TEAM = "";
337341 DYLIB_COMPATIBILITY_VERSION = 1;
338342 DYLIB_CURRENT_VERSION = 1;
339343 DYLIB_INSTALL_NAME_BASE = "@rpath";
@@ -343,6 +347,7 @@
343347 LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
344348 PRODUCT_BUNDLE_IDENTIFIER = be.silverfox.HueKit;
345349 PRODUCT_NAME = "$(TARGET_NAME)";
350+ PROVISIONING_PROFILE_SPECIFIER = "";
346351 SKIP_INSTALL = YES;
347352 SWIFT_OPTIMIZATION_LEVEL = "-Onone";
348353 SWIFT_SWIFT3_OBJC_INFERENCE = Default;
@@ -355,8 +360,9 @@
355360 buildSettings = {
356361 CLANG_ENABLE_MODULES = YES;
357362 CODE_SIGN_IDENTITY = "";
363+ CODE_SIGN_STYLE = Manual;
358364 DEFINES_MODULE = YES;
359− DEVELOPMENT_TEAM = 6G5LMQ72D8;
365+ DEVELOPMENT_TEAM = "";
360366 DYLIB_COMPATIBILITY_VERSION = 1;
361367 DYLIB_CURRENT_VERSION = 1;
362368 DYLIB_INSTALL_NAME_BASE = "@rpath";
@@ -366,6 +372,7 @@
366372 LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
367373 PRODUCT_BUNDLE_IDENTIFIER = be.silverfox.HueKit;
368374 PRODUCT_NAME = "$(TARGET_NAME)";
375+ PROVISIONING_PROFILE_SPECIFIER = "";
369376 SKIP_INSTALL = YES;
370377 SWIFT_SWIFT3_OBJC_INFERENCE = Default;
371378 SWIFT_VERSION = 4.0;
HueKit.xcodeproj/xcshareddata/xcschemes/iOS.xcschemenew file+80
@@ -0,0 +1,80 @@
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</string>
18+ <string>1.0.1</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 {
12+public struct HSV: Hashable {
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 {
12+public struct RGB: Hashable {
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.0-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.1-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.0+
70+* Xcode 9.3+
7171
7272## Todo
7373