Re: not a complete newbie question....
Re: not a complete newbie question....
- Subject: Re: not a complete newbie question....
- From: Scott Anguish <email@hidden>
- Date: Sun, 21 Sep 2003 02:29:55 -0400
On Sep 20, 2003, at 10:13 PM, Theodore Petrosky wrote:
can someone explain please when it is appropriate
(read necessary) to access the 'cell' of a textField
vs. the the textField data.
In most cases objects that encapsulate a cell (like NSTextField)
provide cover methods for the cell that it contains. Those methods
just forward the request to the cell.
I just don't seem to get
it and I am beginning to think that with all the
references to the cells (accessing the cell of a
combobox in the example that comes with the developers
tools) maybe I am missing something basic.
Why do I want to access the cell?
There are some cases where there are not cover methods, and those
might be situations that you would access it directly.
Or, you might be using an NSForm, which requires you to access the
cells.
NSComboBox *cBox = [[NSComboBox alloc] init];
cBoxCell = [cBox cell];
what do I get by accessing the cell?
Which example is this exactly?
Hope its not too newbieish....
Nope.
_______________________________________________
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.