Enable memory warnings in the iOS simulator to catch crash issues

Enable memory warnings in the iOS simulator to catch crash issues

One common crash issue that’s tough to catch during iOS development of UIViewControllers is the unloading and re-loading of views due to memory warnings. The viewDidUnload method ONLY gets called when a memory warning comes in, NOT as part of the regular view lifecycle. During development it’s likely you may never get a memory warning, […]

Use NLC to simulate flaky mobile networks when testing

Use NLC to simulate flaky mobile networks when testing with NLC

Reduce iOS memory utilization by taming NSURLCache

Reduce iOS memory utilization by taming NSURLCache

If your iPhone or iPad app embeds UIWebViews or makes HTTP requests directly with NSURLConnection, it’s important to keep an eye on memory utilization by running it through the profiler occasionally. Web requests can use a lot of memory, and you may find the memory footprint grows and grows the more you use the app. […]

Initializing UIViewControllers

Initializing UIViewControllers

Most code samples that Apple provides for initializing a view controller look something like this: ‚Ä®MyController *myController = [[MyController alloc] initWithNibName:@"MyView" bundle:nil]; This always felt like a strange pattern to me. And as Ole Begemann recently pointed out, it’s poor encapsulation. Why does the caller specify which .xib file some other controller should use? Isn’t […]

Announcing Team Stream HD

Announcing Team Stream HD

We’re excited to announce Team Stream HD, the latest product of our collaboration with Bleacher Report. Redesigned from the ground up for the iPad, Team Stream HD is a great way to follow your favorite sports teams and immerse yourself in the content.

Slim down your iOS app by excluding files from production builds

Slim down your iOS app by excluding files from production builds

Posted by on Jan 20, 2012 in iOS, iPad, iPhone, Mobile Applications | 3 Comments

If you use additional files or libraries during development like HockeyKit or TestFlight you’ll want to exclude those in your production app store builds. Likewise, if you have an iPad and iPhone app that share the same Xcode project but are published under separate app IDs, this technique is handy for excluding iPad assets from […]

Intomobile says Team Stream satisfies your sports needs

Posted by on Jan 20, 2012 in iOS, iPad, Mobile Applications | No Comments

Intomobile says Team Stream satisfies your sports needs

TechCrunch covers the new iPad app we developed with Bleacher Report

Posted by on Jan 20, 2012 in iOS, iPad, Mobile Applications | No Comments

TechCrunch covers the new iPad app we developed with Bleacher Report

UIAlertView-Blocks: block based UIAlertView and UIActionSheet

Posted by on Dec 22, 2011 in iOS, iPad, iPhone, Mobile Applications | No Comments

UIAlertView-Blocks: a block based approach to UIAlertView and UIActionSheet

Empty or incorrect URL with webViewDidStartLoad

Posted by on Aug 9, 2011 in iOS, iPad, iPhone, Mobile Applications | No Comments

If you’re using a UIWebView in your iPhone or iPad app and you want to execute some code when a page starts loading you’ll likely turn to the webViewDidStartLoad: method in UIWebViewDelegate. However, you may have surprisingly unpredictable results. For example, the following code won’t work as expected: – (void)webViewDidStartLoad:(UIWebView *)webView {     if […]