• 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: How call upper layer function
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How call upper layer function


  • Subject: Re: How call upper layer function
  • From: Michael Dautermann <email@hidden>
  • Date: Tue, 19 Apr 2011 18:03:03 -0400

On Apr 19, 2011, at 4:50 PM, Rodrigo Zanatta Silva wrote:

> Lol, sorry for making your life hard :P
>
> let's write better. (Will be a problem in your computer with this font in
> e-mail? )

I don't believe fonts/styles make it through onto the mailing list.  At least I didn't see any special font in your message.

> //This is LevelUp.h
> #import "LeveDown.h"
> @interface LevelUp : NSObject  {
> }
> -(void) init;
> -(void)wantCallThisFunction
> @end

How is LevelUp instantiated?  Is it part of the XIB that also contains LevelDown?

If so, you could declare "IBOutlet id levelUpObject" in your LevelDown view and connect it to LevelUp.

If LevelUp and LevelDown are not part of the same XIB or LevelUp isn't instantiated by something else accessible to LevelDown (e.g. the application delegate or some controller), then notifications may be the best way to go.


_______________________________________________

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: How call upper layer function
      • From: Quincey Morris <email@hidden>
References: 
 >How call upper layer function (From: Rodrigo Zanatta Silva <email@hidden>)
 >Re: How call upper layer function (From: Conrad Shultz <email@hidden>)
 >Re: How call upper layer function (From: Rodrigo Zanatta Silva <email@hidden>)

  • Prev by Date: Re: NSArrayController & image in column
  • Next by Date: Re: NSArrayController & image in column
  • Previous by thread: Re: How call upper layer function
  • Next by thread: Re: How call upper layer function
  • Index(es):
    • Date
    • Thread