-
Notifications
You must be signed in to change notification settings - Fork 417
Conversation
…ility of applying custom gradient colors to it.
…I update in RGB color selection controller.
…m RGBA colour space.
…ction views. Fixed callback handling.
…ew class, changed color selection controller accordingly, added missed comments.
…m HSB colour space.
…oject warnings, changed demo project to edit background color.
Is this planned to be merged in? |
Sorry about leaving this hanging! I wanted to make a few small changes and get it to merge, but it dropped off my radar. I'll get it merged in soon. |
Would love to see support for UIColor! |
This addition is super helpful! A merge would be great. |
anyone cares this issue? |
Thank you for reporting this issue and appreciate your patience. We've notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed. |
…he keyboard manager's field for controllers, that have content to adjust. Updated the _FBKeyboardManager class accordingly.
…onsistent. Defined the data sources for rgb and hsb views, color wheel and color component cells. Changed the color controller accordingly.
Hello, guys. Finally I've updated the pull request(merged master branch & fixed all issues I had) and made some changes in the UI (now it is UITableView-based and looks consistent with all other components.). Enjoy! |
I took a quick look at it looks great! A few overall points before I add some notes inline:
|
Finally, the HSV support is pretty cool, but it looks like it adds a few more classes just for that. Maybe for simplicity it could just be RGB to start? |
* @param rgb The rgb color values | ||
* @param outHSB The hsb color values | ||
*/ | ||
extern void FBRGB2HSB(RGB rgb, HSB* outHSB); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason to use pointers here versus just a return value?
Finally, any chance you could post a few screenshots? I'll download it and try it out but best to see it in context. |
…youtSubviews methods implementation instead of layout constraints. Refactored according to the code review comments.
…faultValue property to get the tweak's type.
Hello Grant, Looks like I managed to fix all issues you mentioned.
Yes, probably it would be better to start from the RGB support. |
It's merged! I did a little bit of cleanup on the documentation side, but otherwise looks awesome. Thanks again for making this! |
I waited for this for so long, is there any cocoapods release planned soon with this? |
@@ -58,6 +59,9 @@ - (void)testValueTypes | |||
__attribute__((unused)) NSString *testNSString = FBTweakValue(@"NSString", @"NSString", @"NSString", @"one"); | |||
XCTAssertEqualObjects(testNSString, @"one", @"NSString %@", testNSString); | |||
|
|||
__attribute__((unused)) UIColor *testUIColor = FBTweakValue(@"UIColor", @"UIColor", @"UIColor", [UIColor redColor], [UIColor redColor]); | |||
XCTAssertEqualObjects([UIColor redColor], [UIColor redColor], @"UIColor %@", testUIColor); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this doesn't test anything
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it should be
XCTAssertEqualObjects(testUIColor, [UIColor redColor], @"UIColor %@", testUIColor);
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Implemented feature to edit color value with RGB/HSB color pickers.