Re: passing pointers
Re: passing pointers
- Subject: Re: passing pointers
- From: Angela Brett <email@hidden>
- Date: Tue, 31 Dec 2002 00:18:54 +1300
Then you just need to have the method return obj;
At 6:09 AM -0500 30/12/2002, Aaron Boothello wrote:
I had to declare the objects as pointers and allocate them memory in
the program
eg:
object *obj (in the first class)
[obj alloc....];(class 1)
object *obj2 (in the second class)
obj2 = [outlet getObject];
all i want is for obj2 to point to the same object as obj.
_______________________________________________
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.