• 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: fundamental question: how do I call controller methods from other classes?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fundamental question: how do I call controller methods from other classes?


  • Subject: Re: fundamental question: how do I call controller methods from other classes?
  • From: Hal Mueller <email@hidden>
  • Date: Wed, 21 May 2008 21:30:59 -0700

Make sure you understand nil-targeted actions/File's Owner/responder chain. That idiom might or might not be useful in this case. I can picture sending various messages to nil that only the POSSocket class will respond to, and have the POSSocket instance be the delegate of your controller.

How is the controller being created? Right after creation might be the time to tell it about objects it needs to know about.

Hal

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • RE: fundamental question: how do I call controller methods from other classes?
      • From: "Matthew Youney" <email@hidden>
References: 
 >RE: fundamental question: how do I call controller methods from other classes? (From: "Matthew Youney" <email@hidden>)

  • Prev by Date: Can't get file type code using [fileAttr valueForKey:NSFileHFSTypeCode]
  • Next by Date: fundamental question: how do I call controller methods from other classes?
  • Previous by thread: RE: fundamental question: how do I call controller methods from other classes?
  • Next by thread: RE: fundamental question: how do I call controller methods from other classes?
  • Index(es):
    • Date
    • Thread