Changes

Jump to: navigation, search

An iOS 4 iPad Core Data Tutorial (Xcode 4)

28 bytes added, 19:55, 27 October 2016
m
Text replacement - "<table border="0" cellspacing="0">" to "<table border="0" cellspacing="0" width="100%">"
<googlehtmlet>BUY_IPADios9_upgrade</googlehtmlet>
@end
</pre>
<googlehtmlet>BUY_IPAD_BOTTOMios9_upgrade</googlehtmlet>
With an instance of the view controller declared in the interface file we now need to modify the applicationDidFinishLaunchingWithOptions method located in the coreDataAppDelegate.m implementation file to add the view controller to our window. Note also that we have to import ''coreDataViewController.h'' into this file and synthesize accessors for the viewController object:
With the new view controller selected, open the Identity Inspector panel (''View -> Utilities -> Identity Inspector'') and change the Class value to coreDataViewController:
<googlehtmlet>ADSDAQBOX_FLOWadsdaqbox_flow</googlehtmlet>
[[Image:xcode_4_coredata_change_class.jpg|The Xcode 4 identity inspector panel]]
<googlehtmlet>BUY_IPAD_BOTTOMios9_upgrade</googlehtmlet>
 
<htmlet>ezoicbottom</htmlet>
<hr>
<table border="0" cellspacing="0" width="100%">

Navigation menu