Re: What is the best way to call parent view controller methods from within child view controller?
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