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 […]

Adding Unit Tests to an existing iOS project with Xcode 4

When you build a new iPhone or iPad app from scratch, you can generate a new project with tests using Xcode’s project templates, and the test dependency is set up correctly. However, if you add a unit test target to an existing iOS project, there are some manual steps required to set up the target […]

MBProgressHUD: an iOS activity indicator that rocks

Posted by on Jun 16, 2011 in iOS, iPad, iPhone, Mobile Applications | No Comments

MBProgressHUD: an enhanced iOS activity indicator that rocks