Commit Graph

53 Commits

Author SHA1 Message Date
Paulo Cesar Ferreira cf9478bbc2 Fixes crash on iPhone 5 2017-12-05 16:52:39 +01:00
Paulo Cesar Ferreira 8af423e8bf Making suggested changes 2017-11-16 12:29:12 +01:00
Paulo Cesar Ferreira 9fed645d0b Fixes a crash when UIColor returns a color component with negative value 2017-11-16 12:12:26 +01:00
Yannick Loriot f8d19be2ce Updating the Swiftlint config 2017-11-08 12:46:41 +01:00
Yannick Loriot dfc638c08b Fixing tests 2017-11-08 10:20:39 +01:00
Yannick Loriot f4088ed397 Xcode9 support #39 2017-11-07 22:11:03 +01:00
Yannick Loriot 6ad45a420b Bump version 2017-04-15 22:00:01 +02:00
Yannick Loriot 8ab08452ae Support the alpha channel #34 2017-04-14 21:44:49 +02:00
Yannick Loriot 2cfd55f7f5 Cleaning project 2017-04-13 11:46:27 +02:00
David Hart 69a7ed3dca fix spaces 2017-03-09 11:27:47 +01:00
David Hart 4f73d508d5 fix imprecision when outputing hex values 2017-03-09 11:26:16 +01:00
Yannick Loriot cb8502f889 [FIX] mixed method with the alpha channel 2016-12-15 12:32:54 +01:00
Julien Quéré e4fea6a082 Update SwiftLint config and autocorrect
Switching "statement_mode" to "uncuddled_else »
2016-11-30 16:32:09 +01:00
Julien Quéré 888e7dca01 Manual swift lint fixes 2016-11-28 13:58:32 +01:00
Julien Quéré 629d420a27 SwiftLint autocorrect on ./Sources 2016-11-28 13:57:20 +01:00
Yannick Loriot 537625ad24 Fixing the access controls 2016-11-26 19:02:26 +01:00
Julien Quéré a4d029c180 #22 Add isContrasting method 2016-11-25 17:27:47 +01:00
Julien Quéré f13965af23 Change luminance() to a property 2016-11-23 10:30:41 +01:00
Julien Quéré 7d8b998bbd Add ability to get contrast ratio between 2 colors 2016-11-23 10:23:13 +01:00
Julien Quéré 1733cdf5e8 Remove roundDecimal in DynamicColor+HSL 2016-11-22 22:13:43 +01:00
Julien Quéré 204c979ca2 Remove roundDecimal in DynamicColor+HSB 2016-11-22 21:54:12 +01:00
Julien Quéré 5bf490b287 #23 Add luminance method to Dynamic Color 2016-11-22 21:40:57 +01:00
Yannick Loriot f7dc557536 Updating test cases 2016-09-08 18:38:56 +02:00
Yannick Loriot 1c73cbaf7e Updating test cases 2016-09-08 17:23:44 +02:00
Yannick Loriot f4723d923e Adding the HSB color space 2016-09-08 16:23:00 +02:00
Yannick Loriot 4515f25391 Adding DynamicColorSpace enum 2016-09-08 16:00:13 +02:00
Yannick Loriot e5e70297c4 Add DynamicGradient object #2 2016-09-08 14:51:46 +02:00
Yannick Loriot edffb75775 Use CGFloat instead of Double everywhere 2016-09-08 13:57:05 +02:00
Yannick Loriot a68c4ab958 Updating test cases 2016-09-05 21:54:42 +02:00
Yannick Loriot d62ca58c72 Updating documentation 2016-09-05 21:14:16 +02:00
Alex Pawlowski 35920d158b Fixed build on Xcode 8.4 2016-08-04 16:32:05 +03:00
Yannick Loriot 75ed282049 adding tests 2016-07-16 22:34:43 +02:00
Yannick Loriot c639729446 [ADD] colors method to array 2016-07-15 12:46:06 +02:00
Yannick Loriot f57328a183 Adding test cases 2016-07-15 12:34:00 +02:00
Yannick Loriot ddfa24a9e5 [ADD] from array of color 2016-07-15 11:51:50 +02:00
Yannick Loriot 3f8952238d Hue range is now from 0° and 360° instead of 0.0 and 1.0 2016-07-14 18:26:38 +02:00
Yannick Loriot f6d60246eb [ADD] Initialization with L*a*b* components 2016-07-13 19:24:03 +02:00
Yannick Loriot 02401a494f [ADD] CIE L*a*b* Color Space 2016-07-12 17:04:21 +02:00
Yannick Loriot 0dc795e6f5 fixing tests 2016-07-12 14:07:08 +02:00
Yannick Loriot 6b7d495cee Initialization with XYZ components 2016-07-12 13:12:27 +02:00
Yannick Loriot 4bc264e4fa [ADD] CIE XYZ Color Space 2016-07-11 19:43:01 +02:00
Yannick Loriot 27ed125b5b Refactoring project 2016-07-03 20:07:27 +02:00
Yannick Loriot 82119b1223 Merge pull request #10 from yannickl/swift3
Update to Swift 3
2016-06-14 17:19:59 +02:00
Yannick Loriot 8f1c7743eb Fixing the API 2016-06-14 15:13:46 +02:00
Yannick Loriot 6ce17b3973 Refactoring API to follow Swift 3 patterns 2016-06-14 13:32:59 +02:00
Yannick Loriot 0bb70d68e5 Preparing for Swift 3 2016-06-14 12:41:25 +02:00
Bas Broek d9f690c9b3 [Gardening] removed duplicated word 2016-06-04 21:45:37 +02:00
Yannick Loriot 05aa7aeb8f cleaning code 2016-03-23 15:57:05 +01:00
Yannick Loriot 338976357d Spliting the DynamicColor into many extensions 2016-03-23 15:32:53 +01:00
Yannick Loriot 106baf1439 Spliting the DynamicColor into many extensions 2016-03-23 15:30:58 +01:00