Folks;

Using 10.5 SDK deploying to 10.4 on an Intel 10.5.7 machine running XC 3.1.2
I have a Core Data model against which I have successfully loaded data.

Now I want to display some data in a tableView - so I drag a stock arrayController from IB onto a window.
I set the Mode to 'Entity' and state the Entity name and check  
'Prepares Content' (not 'Laxy' - not supported on 10.4)
No FetchPredicate  - I'm just trying to build up incrementally...
I bind the controller's ManagedObjectContext to the windowController's exposed manageObjectContext Hook up a tableView with one column to display some data from the controller,
Compile - no errors

Crashes immediately after the windowControllers -awakeFromNib with this stack:
#0      0x92aa1e17 in objc_exception_throw
#1      0x92fd6e8b in +[NSException raise:format:arguments:]
#2      0x92fd6eca in +[NSException raise:format:]
#3      0x937b4019 in -[_NSManagedProxy _managedObjectContext]
#4      0x937b404a in -[_NSManagedProxy _persistentStoreCoordinator]
#5      0x937b40d8 in -[_NSManagedProxy _entity]
#6      0x937b421e in -[_NSManagedProxy usableSortDescriptorsFromArray:]
#7 0x936568d2 in -[NSArrayController(NSManagedController) defaultFetchRequest] #8 0x937b3a98 in -[NSObjectController(NSManagedController) _executeFetch:didCommitSuccessfully:actionSender:]
#9      0x938e3032 in _NSSendCommitEditingSelector
#10 0x936c9d78 in -[NSController _controllerEditor:didCommit:contextInfo:]
Core Data is up and running by the end of the windowController's - 
awakeFromNib.
If I remove the controller - everything is fine.
If I simply uncheck 'Prepares Content' the application will launch but there is no data shown in the tableView.
What am I not seeing here?
Steve
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to