Re: I don't understand...
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.