Re: Init NSArray with c array
Re: Init NSArray with c array
- Subject: Re: Init NSArray with c array
- From: Nat! <email@hidden>
- Date: Tue, 23 Dec 2003 16:47:57 +0100
Am 23.12.2003 um 03:12 schrieb Jay Rimalrick:
Is there a way to convert a c array of ints:
int anArray[5];
to a NSArray without looping through each value?
No because you can't store ints in an NSArray, you have to wrap them
into NSNumber objects first.
Ciao
Nat!
I act professionally, when I get paid for it. - Unknown
_______________________________________________
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.