• 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: not a complete newbie question....
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >not a complete newbie question.... (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: cocoa-dev digest, Vol 2 #2941 - 13 msgs
  • Next by Date: Re: cocoa-dev digest, Vol 2 #2941 - 13 msgs
  • Previous by thread: not a complete newbie question....
  • Next by thread: Re: not a complete newbie question....
  • Index(es):
    • Date
    • Thread