integer value from NSString with multiple zeros -


i'm sending uicolor hex code threw web, , when retrieving 1 digit numbers. if send 000 when retrieving it, 0. how can whole value , not remove digit ? same thing happen example 090.

you should keep values nsstring instead of integer or nsnumber, because not keep leading zeros.

you can find lot of functions around convert hex string uicolor: how convert hex rgb color codes uicolor?


Comments

Popular posts from this blog

c# - Farseer ContactListener is not working -

Automatically create pages in phpfox -

osx - Copy lines to os x clipboard from vim on remote console -