• 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: I don't understand...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I don't understand...


  • Subject: Re: I don't understand...
  • From: Ondra Cada <email@hidden>
  • Date: Thu, 9 May 2002 22:49:55 +0200

On Thursday, May 9, 2002, at 10:39 , {le_MoJo} wrote:

1) What are delegates? How do they work?

Auxiliary objects, which are informed of / asked for details of the "main"
object behaviour.

Like, if a window is about to be closed, its delegate is asked whether it should really close or not. If an application gets a file drag&dropped over its icon in dock, its delegate is informed about it (so that it can open the file). Etc.

2) Delegate methods: do they have to be declared on the header or only implemented?

There's absolutely no need to declare them.

3) Working with NSView (and subclasses).

Kinda generic question, is it not? Have you read NSView.html?

Well anything visible is a view: button, text field, text editor, icon...

4) What's NSMatrix, what is it good for, how to use it?

A two dimensional matrix of views. As for view, see above.

Probably the commonest matrix example is a block of radio buttons.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: I don't understand...
      • From: {le_MoJo} <email@hidden>
References: 
 >I don't understand... (From: {le_MoJo} <email@hidden>)

  • Prev by Date: NSCalendarDate and null
  • Next by Date: Re: I don't understand...
  • Previous by thread: I don't understand...
  • Next by thread: Re: I don't understand...
  • Index(es):
    • Date
    • Thread