• 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: Outline and Table back to front
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Outline and Table back to front


  • Subject: Re: Outline and Table back to front
  • From: Thomas Davie <email@hidden>
  • Date: Mon, 20 Jun 2005 19:33:27 +0100


On Jun 20, 2005, at 7:24 PM, Charilaos Skiadas wrote:


On Jun 20, 2005, at 1:10 PM, Thomas Davie wrote:


Since NSObject can't store strings, how can it be
superclass of NSString?

NSObject can store things *points at an NSString* there's an NSObject storing something.

Bob


True, and NSObject *can* store strings, but *not every NSObject stores strings*. Storing strings is not one of the things every NSObject can do. The class NSObject describes the properties that *every* object has. One of the purposes of subclassing is to *add* functionality. Maybe a class of objects have more things in common rather than just the fact that they are objects. They would want to have the ability to respond to certain messages. but since *not all* objects have this ability, this is not a property of the "object" notion, but only of its subclass.

There is huge difference between:
"an NSObject does aThing"  and
"an NSObject can do aThing".

Indeed.  So I'll very carefully qualify what I'm trying to say

In terms of our thinking -
There exists an outline view in which indenting is used
There does not exist a table view that indents and dedents objects

So the table view class should not be able to do this... It should specialize outline view to not allow for indenting and dedenting.

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

This email sent to email@hidden

  • Follow-Ups:
    • Re: Outline and Table back to front
      • From: Andreas Mayer <email@hidden>
References: 
 >Re: Outline and Table back to front (From: Gorazd Krosl <email@hidden>)
 >Re: Outline and Table back to front (From: Thomas Davie <email@hidden>)
 >Re: Outline and Table back to front (From: Charilaos Skiadas <email@hidden>)

  • Prev by Date: Re: Outline and Table back to front
  • Next by Date: Minor modeling question.
  • Previous by thread: Re: Outline and Table back to front
  • Next by thread: Re: Outline and Table back to front
  • Index(es):
    • Date
    • Thread