• 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: Is it possible to call events in other .m classes?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: Is it possible to call events in other .m classes?


  • Subject: re: Is it possible to call events in other .m classes?
  • From: George Warner <email@hidden>
  • Date: Tue, 27 Jan 2009 10:22:55 -0800
  • Thread-topic: Is it possible to call events in other .m classes?

On Tue, 27 Jan 2009 16:22:17 +0100, Arnaud Nicolet <email@hidden> wrote:
> My configuration is somehow special: I have a Main_TestPref class and
> a ApplicationController class. The Main_TestPref class receives system
> events, like "mainViewDidLoad" when the interface is shown. The
> ApplicationController is the class whose outlets and actions are
> linked to (I couldn't link to the Main_TestPref class because
> Interface Builder don't know it exists).

So tell IB that it exists. Assuming that it's a subclass of NSObject then
create a NSObject in IB and set its class to Main_TestPref. Now you can
connect actions and outlets between it and any other IB object.

--
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Is it possible to call events in other .m classes?
  • Next by Date: Re: are static operations optimized?
  • Previous by thread: Re: Is it possible to call events in other .m classes?
  • Next by thread: are static operations optimized?
  • Index(es):
    • Date
    • Thread