UITableViewController designated initializer woes
Read OriginalThis technical article discusses the complications arising from Apple's changes to UITableViewController's designated initializers in iOS 8.3 and Xcode 6.1. It explains how the addition of NS_DESIGNATED_INITIALIZER and the specific initializer chain can break subclasses that rely on custom initialization, proposes a common pattern to mark superclass initializers as unavailable, and reveals a problematic call order that leads to asserts. The author shares a workaround using compiler diagnostics and speculates on a potential fix.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser