On Wed, 30 Sep 2009 15:02:45 +0200, Colin Howarth <[email protected]> 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 = [email protected], <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 ([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]

Reply via email to