ADKInitWithHexString does not align with ADKColorWithHexString
salagadoola opened this issue · 1 comments
salagadoola commented
AppDevKit-1.2.2
ADKColorWithHexString:
handles formats like #RRGGBB, RRGGBB and also 0xRRGGBB (because of NSScanner)ADKInitWithHexString:
handles the same set of formats
AppDevKit-1.3.0
ADKColorWithHexString:
handles formats like #RRGGBB, RRGGBB, #RGB, RGBADKInitWithHexString:
handles formats like #RRGGBB, RRGGBB, 0xRRGGBB
These two methods should align with each other. But not sure how many formats should they support.
- Proposal 1: make both methods support #RRGGBB, #RGB, RRGGBB, RGB salagadoola/AppDevKit@4e72b97...282ef99
- Proposal 2: make both methods support #RRGGBB, #RGB, RRGGBB, RGB, 0xRRGGBB salagadoola/AppDevKit@4e72b97...c69840d
salagadoola commented
Both methods now support #RRGGBB, #RGB, RRGGBB, RGB, 0xRRGGBB