• 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: What is the best way to call parent view controller methods from within child view controller?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is the best way to call parent view controller methods from within child view controller?


  • Subject: Re: What is the best way to call parent view controller methods from within child view controller?
  • From: Jesse Armand <email@hidden>
  • Date: Sun, 20 Sep 2009 18:39:08 +0700

On Sun, Sep 20, 2009 at 6:37 PM, Jesse Armand <email@hidden> wrote:
> You can create an ivar in class B that refer to class A instance. Set
> that ivar, when class B instance is created.
> So, you can call the methods in class A by using that instance,
> without searching through the view controllers array.
>

Correction, it should be when the class B view controller is pushed.
_______________________________________________

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

References: 
 >What is the best way to call parent view controller methods from within child view controller? (From: Alex Reynolds <email@hidden>)
 >Re: What is the best way to call parent view controller methods from within child view controller? (From: Jesse Armand <email@hidden>)

  • Prev by Date: Re: What is the best way to call parent view controller methods from within child view controller?
  • Next by Date: Re: NSTextField black outline, not drawing in background thread when in a custom NSControl?
  • Previous by thread: Re: What is the best way to call parent view controller methods from within child view controller?
  • Next by thread: Push-on push-off buttons doesn't show state
  • Index(es):
    • Date
    • Thread