Re: File's owner and delegate
Re: File's owner and delegate
- Subject: Re: File's owner and delegate
- From: Allan Odgaard <email@hidden>
- Date: Wed, 12 May 2004 20:31:22 +0200
On 12. May 2004, at 17:15, Joakim Danielson wrote:
[...] One follow up question: Now I have one instance of my control
class in the nib file and one in the method call, or will one of them
be replaced by the other?
You'll get two, so instead just do:
JDTransactionControll* ctrl = [NSApp delegate];
And pass that as owner.
Btw: Control is only with a single l ;)
_______________________________________________
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.