|
From: | Travis Griggs |
Subject: | collections of primitive types |
Date: | Fri, 28 Feb 2003 10:26:24 -0800 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1 |
NSArray looks fine for storing objects. But quite often I want an array of floats or ints. What's the general approach? Do I box up the primitive numbers in objects and use NSArray? Is there a FloatArray or IntArray thing? Write my own?
And why can't NSArray hold nil's? I thought nil was an object in Objective-C and that you could send messages to it.
-- Travis Griggs Key Technology One Man's Pink Plane is Another Man's Blue Plane
[Prev in Thread] | Current Thread | [Next in Thread] |