On 04/11/2009, at 3:41 PM, Rob Keniger wrote:
However, now that I've switched the document to be a subclass of
NSPersistentDocument, I am getting compilation errors in my
NSViewController subclass when it tries to access the foo property
of the document:
document.foo = @"bar";
-> error: property 'foo' not found on object of type 'MyDocument
*__attribute__((objc_gc(weak)))'
Why would this compiler error be occurring?
Turns out it was nothing to do with the weak reference, but a problem
with the way I created the foo property in the document object. All
working now.
--
Rob Keniger
_______________________________________________
Cocoa-dev mailing list ([email protected])
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]