Re: DO question.
Re: DO question.
- Subject: Re: DO question.
- From: Jonathan Wight <email@hidden>
- Date: Mon, 01 Apr 2002 15:43:11 -0600
On 04/01/2002 15:05, "Ondra Cada" <email@hidden> wrote:
>
>
On Monday, April 1, 2002, at 09:36 , warren marco wrote:
>
>
> I guess I was wrong in assuming byref by default.It must be bycopy.
>
>
IIRC, it *is* byref, but property list classes were sent bycopy for higher
>
effectivity.
>
>
I can't find the appropriate documentation excerpt anymore though?!?
Well that may explain the problem I'm seeing... My classes are laid out
kinda like this:
@interface CAttributes {
NSMutableDictionary *mContainer;
}
@end
@interface CDaemon {
CAttributes *mAttributes;
}
- (CAttributes *) getAttributes;
The CDaemon is being shared and the client is calling getAttributes and
performing get/set operations upon the object. If I dump the attributes out
on the client I see the changes I made but when I dump them out on the
daemon I don9t see them at all.
So how do I fix this? I've changed the getAttributes to be byref and this
didn't seem to do diddly.
TIA.
Jon.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.