discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data


From: Fred Kiefer
Subject: Re: Core Data
Date: Sun, 29 May 2011 21:31:07 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.17) Gecko/20110414 SUSE/3.1.10 Thunderbird/3.1.10

On 29.05.2011 21:23, Gregory Casamento wrote:
I believe that the reason was that NSObjectController needs to point
to an implementation of NSManagedObjectContext since it lives in
AppKit, so I implemented a dummy version.   This was likely before
GSCoreData was even started or before it was completed.

Nevertheless I don't think NSManagedObjectContext even belongs in
AppKit, so there needs to be a way to reference it in
NSObjectController (since NSObjectController is in AppKit) without
putting NSManagedObjectContext there.

Shouldn't a line like
@class NSManagedObjectContext
in the header do the trick? Or will this lead to problems with the linker later on? In that case we should just change the interface to use id instead of that class.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]