[Biococoa-dev] Base test
Alexander Griekspoor
mek at mekentosj.com
Fri Aug 13 16:16:20 EDT 2004
That answers that question then, this is the elegant and legitimate way
to use a plist as the source for methods to complement bases.
Alex
Op 13-aug-04 om 22:13 heeft Jim Balhoff het volgende geschreven:
> On Aug 13, 2004, at 3:50 PM, Alexander Griekspoor wrote:
>
>> That was exactly my thought! It's a pity that cocoamamasam has gone
>> bananas, but I will send a message tomorrow to the list...
>> I'll keep you informed...
>> Alex
>>
>
> Here is a good thread:
>
> <http://www.cocoabuilder.com/archive/message/cocoa/2000/9/2/34189>
>
>
>> DATE : Sat Sep 02 12:50:33 2000
>>
>> In general, a (Class) is an (id) (but not, obviously, vice-versa).
>> In other words, class objects are real objects in ObjC.
>>
>> You can put a Class in an NSArray or other collection.
>>
>> One additional tidbit of ObjC arcana is that instance methods
>> declared by the base class (NSObject for most purposes) are also
>> allowed to be sent to Class objects. So, because NSObject declares
>> -performSelector:withObject: you can send Classes
>> +performSelector:withObject: as well. (In many cases NSObject
>> explicitly implements Class methods that are the same names as its
>> instance methods so that it can do things a bit differently. So,
>> there is an explicit +release since the -release implementation would
>> not be appropriate for Class objects...) Note that this is NOT true
>> for ALL instance methods, only for those defined in the base class.
>> The NSString Class object can NOT be sent +length messages.
>>
>> Mike Ferris
>
> ____________________________________________
> James P. Balhoff
> Dept. of Biology
> Duke University
> Durham, NC 27708-0338
> USA
>
>
*********************************************************
** Alexander Griekspoor **
*********************************************************
The Netherlands Cancer Institute
Department of Tumorbiology (H4)
Plesmanlaan 121, 1066 CX, Amsterdam
Tel: + 31 20 - 512 2023
Fax: + 31 20 - 512 2029
E-mail: a.griekspoor at nki.nl
AIM: mekentosj at mac.com
Web: http://www.mekentosj.com
EnzymeX - To cut or not to cut
http://www.mekentosj.com/enzymex
*********************************************************
More information about the Biococoa-dev
mailing list