Oooh, that might work...

But how do you assign independent operations using NSInvocationOperation objects?

On 28 Mar 2008, at 19:49, Quincey Morris wrote:


On Mar 28, 2008, at 12:09, Daniel Thorpe wrote:

I want to store the objects using Core Data, but have come up with a possible problem. I've not used Core Data before, so I may have understood this incorrectly, but the entities must be subclasses of NSManagedObject, which NSOperation is not. So... how can I use Core Data to manage the fetching and storing of the data, but NSOperation to handle the computation?

I've thought that I could maybe use my NSOperation based class as a delegate of some NSManagedObject based class, which the Core Data entity is based on. Is that possible? Or is there a better way? Does Objective-C support multiple inheritance... I don't think it does....

I think you want NSInvocationOperation, not NSOperation.

_______________________________________________

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/danthorpe%40gmail.com

This email sent to [EMAIL PROTECTED]

_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to