[Biococoa-dev] Base test

Jim Balhoff james.balhoff at duke.edu
Fri Aug 13 16:13:15 EDT 2004

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:


>  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2373 bytes
Desc: not available
URL: <http://www.bioinformatics.org/pipermail/biococoa-dev/attachments/20040813/1e4e9144/attachment.bin>

More information about the Biococoa-dev mailing list