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: Error with proxy objects and to-many relationships with Core Data




On Feb 26, 2006, at 8:23 PM, Sean Willson wrote:

On 2/26/06, mmalcolm crawford <email@hidden> wrote:
Fails with the same error as before. Since I'm in an NSArrayController
object is there anything special I need to do to create the object? I've
tried using the [self newObject] method as well as the one described before.


It's not clear exactly what you're actually trying to achieve.
Could you state what are the entities, what are the object controllers, and how they are linked?



I guess what I'm looking for really is something like a core/data/ bindings best practices. When you want to say use more than 1 nib and propigate one or more selected objects across that boundary, what types of patterns or best practices are there.

In general it's not clear to what extent issues related to "nib boundaries" are any different for bindings than they are for non- bindings applications. The abstract issue is, can you form a key- path to an object in another nib. You face basically the same issue with or without bindings. The principal "complicating" factor with bindings is, is the property you're interested in KVO-compliant. Specifically related to Core Data, most of the relevant best practices are now summarised in the Performance article <http:// developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/ cdPerformance.html>. Most other issues are covered in other specific articles. If there's something that is not addressed, again please file an enhancement request.

mmalc

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Error with proxy objects and to-many relationships with Core Data (From: "Sean Willson" <email@hidden>)
 >Re: Error with proxy objects and to-many relationships with Core Data (From: mmalcolm crawford <email@hidden>)
 >Re: Error with proxy objects and to-many relationships with Core Data (From: "Sean Willson" <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.