On Wed, 30 Sep 2009 15:02:45 +0200, Colin Howarth <co...@howarth.de> said:
>@property (copy) NSBezierPath *path; >an instance of which is accessed in another class: > temporaryPathPointerWhichIsSupposedToBeDifferent = [ray.path]; >Why isn't it doing what I think it should do? Take a look at the docs: http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/Object iveC/Articles/ocProperties.html Search on "copy". It's all about the setter, not the getter. m. -- matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/> A fool + a tool + an autorelease pool = cool! AppleScript: the Definitive Guide - Second Edition! http://www.tidbits.com/matt/default.html#applescriptthings _______________________________________________ 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 arch...@mail-archive.com