UIColor Macro for hex

What’s better than a macro for RGB to UIColor? Hex son!


Thanks mystcolor

http://twitter.com/#mystcolor
http://mystcolor.github.com

(Reblogged from mystcolor)

Essential UIColor Macros

The macros

Examples

(Source: mobiledevelopertips.com)

7 stages of app store app review

1. Prepare for Upload
2. Waiting For Upload

3. Upload Received
4. Waiting For Review
5. In Review
6. Processing for App Store
7. Ready for Sale

Steps 1-2 are on the developer side.. app reviews as of March 2012 take about a week (read on the internet that iPad apps get faster reviews.. maybe because there are less iPad apps..)

iOS app icon sizes by Louie Mantia 


via @shawnblanc (also see mrgan’s)

iOS app icon sizes by Louie Mantia


via @shawnblanc (also see mrgan’s)

Lockscreen implementation

I first used four password protected textfields to implement the iPhone lockscreen (simple protection scheme for an app)



It worked.. sort of but then there were the issues of trying to hide the cursor or override the backspace key behavior

Here’s the much better implementation:
- create a hidden textfield and monitor it for change
- assign it the becomeFirstResponder method
- restrict the input to 4 characters
- the boxes are actually images (box_filled.png and box_empty.png) that are updated based on the input length of the hidden textfield (3 inputs = first 3 boxes filled, 4th empty etc)

Voila. Dive into the code of KKPasscodeLock or JSLockScreen for the gory details

Lockscreen implementation

I first used four password protected textfields to implement the iPhone lockscreen (simple protection scheme for an app)

It worked.. sort of but then there were the issues of trying to hide the cursor or override the backspace key behavior

Here’s the much better implementation:
- create a hidden textfield and monitor it for change
- assign it the becomeFirstResponder method
- restrict the input to 4 characters
- the boxes are actually images (box_filled.png and box_empty.png) that are updated based on the input length of the hidden textfield (3 inputs = first 3 boxes filled, 4th empty etc)

Voila. Dive into the code of KKPasscodeLock or JSLockScreen for the gory details