- CPColorWell (recreation of UIColorWell that uses libcolorpicker or it's replacements for color picker part) compatible with iOS 7 - 13
- CPColorPickerTableCell to set color from preferences - uses UIColorWell on iOS 14+ and CPColorWell for lower versions, compatible with iOS 9+
- UIColor extensions
- Run build_for_theos.sh (change
DEVELOPER_DIR
path to your instance of Xcode 11.7) - Add
$(TWEAK_NAME)_EXTRA_FRAMEWORKS = ColorPickerTableCell
to makefile of your project - Add
#import <ColorPickerTableCell/CPColorPickerTableCell.h>
to your headers
- in subproject
CPColorPickerTableCellExample
check:CPColorPickerTableCellStatic
&CPColorPickerTableCellStaticXml
for simple plist-based implementation examplesCPColorPickerTableCellDynamic
for dynamic implementation examples
- To get color from saved settings string use
[UIColor _CPW_colorFromString:COLOR_STRING_FROM_SETTINGS_HERE]
Check out this projects to see actual implementations of Color Picker Table Cell:
- add iOS 7-8 support for CPColorPickerTableCell