[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NSObject - Protocol - Object
From: |
Michael Scheibler |
Subject: |
NSObject - Protocol - Object |
Date: |
Wed, 21 Mar 2001 08:24:47 +0100 |
Somehow NSObject is connected with Object (at least in GNU Objective-C).
NSObject is not only a class but also a protocol and Protocol is derived
from Object.
I found out when I tried to implement a method "+ (NSString*)name" in my
class.
My question now: is it really preferable that NSObject is not a real root
class?
Michael
- NSObject - Protocol - Object,
Michael Scheibler <=