yahoo/AppDevKit

ADKInitWithHexString does not align with ADKColorWithHexString

salagadoola opened this issue · 1 comments

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, RGB
  • ADKInitWithHexString: handles formats like #RRGGBB, RRGGBB, 0xRRGGBB

These two methods should align with each other. But not sure how many formats should they support.

Both methods now support #RRGGBB, #RGB, RRGGBB, RGB, 0xRRGGBB