• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: File's owner and delegate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >File's owner and delegate (From: Joakim Danielson <email@hidden>)
 >Re: File's owner and delegate (From: Allan Odgaard <email@hidden>)
 >Re: File's owner and delegate (From: Joakim Danielson <email@hidden>)

  • Prev by Date: Re: Continuouss NSTextViewDidChangeSelectionNotification
  • Next by Date: RE: NSScanner behavior
  • Previous by thread: Re: File's owner and delegate
  • Next by thread: How to tell if first responder
  • Index(es):
    • Date
    • Thread