If you have a NIB for the UITableViewController
subclass then its view
outlet must be hooked up to a UITableView
.
You’re right to delete MainListViewController.xib
and do it all in code, but the reason it didn’t work for you is because the old XIB will not be deleted when you build & run. So, delete the app from the simulator and try again. It should work then.
Related Contents:
- What are Unwind segues for and how do you use them?
- How do I animate constraint changes?
- Attempt to present UIViewController on UIViewController whose view is not in the window hierarchy
- Evenly space multiple views within a container view
- How to force a UIViewController to Portrait orientation in iOS 6
- UILabel sizeToFit doesn’t work with autolayout ios6
- Is it possible to install iOS 6 SDK on Xcode 5?
- How to perform Unwind segue programmatically?
- File is universal (three slices), but it does not contain a(n) ARMv7-s slice error for static libraries on iOS, anyway to bypass?
- iOS 6: How do I restrict some views to portrait and allow others to rotate?
- UIWebView: HTML5 audio pauses in iOS 6 when app enters background
- Detect if the app was launched/opened from a push notification
- shouldAutorotateToInterfaceOrientation not being called in iOS 6
- Enabling auto layout in iOS 6 while remaining backwards compatible with iOS 5
- App crashed in iOS 6 when user changes Contacts access permissions
- How to make app fully working correctly for autorotation in iOS 6?
- Why is glReadPixels() failing in this code in iOS 6.0?
- UICollectionView flowLayout not wrapping cells correctly
- Facebook SDK 3.1 – Error validating access token
- Asynchronous downloading of images for UITableView with GCD
- Programmatically open Maps app in iOS 6
- Tutorial for SLComposeViewController sharing [closed]
- What is the meaning of the “no index path for table cell being reused” message in iOS 6/7?
- Xcode beta 6 iOS 8: Simulator not working
- is groupTableViewBackgroundColor deprecated on iOS 6?
- iOS6 UDID – What advantages does identifierForVendor have over identifierForAdvertising?
- preferredInterfaceOrientationForPresentation must return a supported interface orientation
- GameCenter authentication in landscape-only app throws UIApplicationInvalidInterfaceOrientation
- Replacement for “purpose” property of CLLocationManager
- How to switch to different Storyboard for iPhone 5?
- Swift: Extra argument ‘error’ in call
- How to easily resize/optimize an image size with iOS?
- Navigation bar with UIImage for title
- How do I determine the OS version at runtime in OS X or iOS (without using Gestalt)?
- Swift add icon/image in UITextField
- How to ENABLE_BITCODE in Xcode 7?
- Unable to make outlet connection to a constraint in IB
- Camera access through browser
- swift: issue in converting string to double
- How to crop UIImage on oval shape or circle shape?
- Use multiple font colors in a single label
- Is it possible to reset the privacy settings in iOS?
- Flutter build iOS got error: Requested but did not find extension point with identifier
- How do I present a UIViewController from SKScene?
- How to check if a file exists in Documents folder?
- custom interactive transition animation
- ios overlaying alpha channel video on another video
- Pods-resources.sh Permission denied in iOS Project
- iOS Autolayout: two buttons of equal width, side by side
- when running pod install I get The `master` repo requires CocoaPods 0.32.1, try updating but still in 0.31