Want to create a cool static UI but : “Static table views are only valid…”

I’ve also ran into an issue when changing an existing custom view controller, making it extends UITableViewController. XCode isn’t smart enough and won’t realize it already fits its requirements. You can solve this problem by editing storyboard source code and changing <viewController … to <tableViewController…. Original source: https://plus.google.com/108665969482300807329/posts/J4mCASMA3pZ

What are the benefits of using Storyboards instead of xib files in iOS programming?

A Storyboard is: A container for all your Scenes (View Controllers, Nav Controllers, TabBar Controllers, etc) A manager of connections and transitions between these scenes (these are called Segues) A nice way to manage how different controllers talk to each other Storyboards give you a complete look at the flow of your application that you … Read more

Marking some XIB/Storyboard strings as not localizable

I add a note “DNL” to the “Comment for Localizer” field in the identity tab. Then, I run this command to automatically remove all of those elements from the XLIFF: xmlstarlet ed -d “//*[contains(text(), ‘Note = \”DNL\”‘)]/..” en.xliff > out.xliff Basically, it’s using xmlstarlet (which can be downloaded via homebrew) to find all elements that … Read more

Push Notification -didFinishLaunchingWithOptions

Since you only want to present a viewController when you get a Push Notification, you may try utilizing NSNotificationCenter for your purposes: Part 1: Set up a class (in your case, the rootViewController) to listen/respond to a NSNotification Suppose, MainMenuViewController is the rootViewController of your navigationController. Set up this class to listen to a NSNotification: … Read more