November 2012

How to conceal UIWebView’s initial white loading view [#iosdev]

Thanks to this StackOverflow thread, I was able to conceal UIWebView’s intial white, “blank page” look while it was loading. iphone uiwebview inital white view – Stack Overflow One thing you can try is put a UIView with the color you want and position it above the UIWebView with the same width and height. Then

How to conceal UIWebView’s initial white loading view [#iosdev] Read More »

Iterating through NSDictionary [#iosdev]

This was very helpful to me recently… Iterating through NSDictionary Iteration through NSDictionary could be achieved at least in two ways: using NSArray with [NSDictionary allKeys] or NSEnumerator. Method 1: NSArray *keyArray = [bigUglyDictionary allKeys]; int count = [keyArray count]; for (int i=0; i < count; i++) { NSDictionary *tmp = [bigUglyDictionary objectForKey:[ keyArray objectAtIndex:i]];

Iterating through NSDictionary [#iosdev] Read More »

Tip: Generate a File List in TextWrangler [#devtips]

Here’s a really easy way to generate a list of files using TextWrangler: Open a new window in TextWrangler. Navigate to the folder you want in Finder. Drag that folder from the Finder window to the TextWrangler window. TextWrangler generates a cleanly-formatted listing of all the contents of that folder, including all sub-folders and their

Tip: Generate a File List in TextWrangler [#devtips] Read More »