On Jun 20, 2005, at 6:29 PM, Jesus De Meyer wrote:
No - we already do have one object describing the whole Cocoa class hierarchy, it is called NSObject. Everything *is* an NSObject.
An NSObject cannot parse an XML document, it cannot play movies, it can't connect a network, it can't play sounds, ... You need subclasses of NSObject to do all that.
Actually it can... here's an NSNumber... it can store numbers, it is an example of an NSObject that can store a number. Not all NS Objects can store numbers, but they certainly have the capability to do it.
note... 5 *is* a number, it is also a number... This is the key factor, in order to be a subclass, all objects in the subclass must belong to the superclass.
Not all outline views are table views, however, all table views are outline views, therefore outline view should be higher the the hierarchy.
Bob |