• 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: Charilaos Skiadas <email@hidden>
  • Date: Mon, 20 Jun 2005 13:24:41 -0500


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".

Haris


_______________________________________________ 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: Thomas Davie <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>)

  • Prev by Date: Modal dialog pauses WebView rendering
  • Next by Date: Re: Outline and Table back to front
  • Previous by thread: Re: Outline and Table back to front
  • Next by thread: Re: Outline and Table back to front
  • Index(es):
    • Date
    • Thread