Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 10.5 + Core Data project error?



On Oct 31, 2007, at 8:53 AM, Alex Reynolds wrote:

managedObjectModel = [[NSManagedObjectModel mergedModelFromBundles: [NSBundle mainBundle]] retain];

...I no longer get the error message.

However, in the Console, I get the following error:

2007-10-31 08:44:47.640 Cino[15909:10b] *** -[NSBundle countByEnumeratingWithState:objects:count:]: unrecognized selector sent to instance 0x30cad0
2007-10-31 08:44:47.641 Cino[15909:10b] *** -[NSBundle countByEnumeratingWithState:objects:count:]: unrecognized selector sent to instance 0x30cad0

-mergedModelFromBundles: wants an NSArray of bundles; you are passing it a single NSBundle.


Jim

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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/email@hidden

This email sent to email@hidden
References: 
 >10.5 + Core Data project error? (From: Alex Reynolds <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.