• 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 To : Delegates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: How To : Delegates


  • Subject: RE: How To : Delegates
  • From: Andy Beier <email@hidden>
  • Date: Wed, 26 Jan 2005 17:28:02 -0700
  • Thread-topic: How To : Delegates

What you will need to do is define a class that implements the
displayGroupDisplayArrayForObjects method then in you Application class
constructor put:

 WODisplayGroup.setDelegate(new YourDelegateObject());

That is all there is to it.

Good Luck,
Andy

-----Original Message-----
From: webobjects-dev-bounces+abeier=email@hidden
[mailto:webobjects-dev-bounces+abeier=email@hidden] On Behalf
Of Owen McKerrow
Sent: Wednesday, January 26, 2005 5:14 PM
To: List WebObjects
Subject: How To : Delegates

Hi All,

Just wondering how I implement delegates ?

Do I make a subclass of the thing I want a delegate for and then
implement that delegate method in the sub-class ?
Will it then be automatically called for me when it needs to be then ?

In particular Im looking at WODisplayGroups
displayGroupDisplayArrayForObjects delegate method.



Thanks
Owen McKerrow
WebMaster, emlab
http://emlab.uow.edu.au

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - -

"I like the way this project has somehow, against all common sense, got
itself made."
	- Peter Jackson,  "The Lord of The Rings"

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

This email sent to email@hidden

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

This email sent to email@hidden

  • Follow-Ups:
    • Re: How To : Delegates
      • From: Owen McKerrow <email@hidden>
    • Re: How To : Delegates
      • From: Art Isbell <email@hidden>
  • Prev by Date: Re: How To : Delegates
  • Next by Date: Re: How To : Delegates
  • Previous by thread: Re: How To : Delegates
  • Next by thread: Re: How To : Delegates
  • Index(es):
    • Date
    • Thread