How to Implement Custom Table View Section Headers and Footers with Storyboard

Just use a prototype cell as your section header and / or footer. add an extra cell and put your desired elements in it. set the identifier to something specific (in my case SectionHeader) implement the tableView:viewForHeaderInSection: method or the tableView:viewForFooterInSection: method use [tableView dequeueReusableCellWithIdentifier:] to get the header implement the tableView:heightForHeaderInSection: method. -(UIView *) … Read more

How does View Controller Containment work in iOS 5?

The UIViewController docs are pretty clear on when and when not to call willMove/didMove methods. Check out the “Implementing a Container View Controller” documentation. The docs say, that if you do not override addChildViewController, you do not have to call willMoveToParentViewController: method. However you do need to call the didMoveToParentViewController: method after the transition is … Read more

Enabling auto layout in iOS 6 while remaining backwards compatible with iOS 5

Autolayout can be enabled or disabled on each .storyboard or .xib file. Just select the particular file and modify the “Use Autolayout” property using the File inspector in Xcode: Using autolayout enabled interface files with the deployment target set to an iOS version prior to 6.0 results in compilation errors, e.g.: Error in MainStoryboard.storyboard:3: Auto … Read more

Unable to process application info.plist validation at this time due to a general error (1095)

This is clearly an Apple server issue, not an Xcode/iOS/OSX issue. Just wait patiently and Apple’s servers will catch up to the traffic, or solve whatever issues they’re having at their end. If you’re anxious, feel free to just sit there and restart Xcode until it works – but it’s not restarting Xcode, only the … Read more