iOS Roundup: April 9, 2012

April 10, 2012 Pivotal Labs

Cool Things This Week:

  • Now instead of dealing with state variables on viewDidAppear, we can use a completion block when a Modal View Controller is done animating: Model View Controller Completion Block (+1 for iOS 5)
  • LLDB Debugger comes with the new Xcode 4.3.2. Now we can use ObjC’s dot syntax in the debugging console, saving us hundreds of keystrokes a day! (+1 for Xcode 4.3.2)
  • QuickDialog – A quick and easy way to make forms out of tableviews when prototyping an app!

Headaches This Week:

  • UIButton Edge Insets, we still find them unintuitive and confusing. We will continue rolling out our own button implementations.
  • Remember to be careful when parsing JSON (DOM parsing), check the type is what you expect before using it, for example:
    if ( [root objectForKey:@"article"] &&
    [[root objectForKey:@"article"] isKindOfClass:[NSString class]] ) {
    // compute!
    }

    If the API changes, the parser may return unexpected results (NSNull is a common unexpected result).

About the Author

Biography

More Content by Pivotal Labs
Previous
Chef cookbook linting with foodcritic
Chef cookbook linting with foodcritic

There's a growing movement for testing chef cookbooks, which is great to see. I haven't gotten to play wit...

Next
Introducing Epics: They’re like stories, but bigger
Introducing Epics: They’re like stories, but bigger

We’re proud to introduce a brand new feature to Pivotal Tracker: EPICS. Epics are a powerful management...

How do you measure digital transformation?

Take the Benchmark