Archive for the ‘Development’
Hex/HTML Color (RGBA, RGB) to UIColor
#define HEXCOLOR(c) [UIColor colorWithRed:((c>>24)&0xFF)/255.0 \
green:((c>>16)&0xFF)/255.0 \
[...]
Embedding Viddler videos at full resolution
Viddler produces some of the highest quality web video I've seen. More importantly, they don't resize your video as you're uploading it so it's perfect for screencasts. It's a shame, then, that their default embed code has static hardcoded dimensions instead of the actual dimensions of your video which means that your video gets scaled [...]
An easier way to sign in to T-Mobile UK WiFi HotSpots
I can access T-Mobile UK WiFi HotSpots with my T-Mobile Mobile Broadband account (I have a 3G USB stick) but I find the signing in process rather painful. It goes something like this:
I have to remember my phone number (I never call my USB Stick so I've never memorized it) and type in my [...]
Simulator/device discrepancy on iPhone when overriding sendEvent: on UIWindow
I'm overriding sendEvent: (- (void)sendEvent:(UIEvent *)event) on UIWindow to get notifications of touches in my application and I noticed a discrepancy between the simulator and the device during testing:
When testing with the simulator and with a hidden status bar, I got touch notifications on the entire screen except for the status bar area. However, when [...]
The Flex 4 One-Step Migration Challenge
Dear Flex community and Flex engineering team, I have a challenge for you: let's make Flex 4 migration a one-step process.
Yesterday, I documented the trouble I had in porting my Flex 3 app to Flex 4 and I blamed the move from the Fx prefix to namespaces for my woes. As some of you have [...]

Subscribe to my blog





