Re: array with int
Re: array with int
- Subject: Re: array with int
- From: j o a r <email@hidden>
- Date: Wed, 10 Mar 2004 14:30:08 +0100
Easy! Integer values are not objects. You can only add Objective-C
objects conforming to the NSObject protocol to Cocoa collections.
j o a r
On 2004-03-10, at 14.20, Sascha Kuehn wrote:
>
can someone tell me why this not work??
>
------------------------------------------------------
>
NSMutableArray *temp = [[NSMutableArray array] retain];
>
[temp addObject:0];
>
------------------------------------------------------
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.