On May 7, 2008, at 8:56 AM, Vinayak Suley wrote:
Hi,
I'm new to objective-C so this might be elementary for some, but I
can't seem to figure out why this is happening.
Here's two code samples:
ONE:
SpectralData* spectrum = [selectedLightSource
spectralPowerDistribution];
NSMuta
On 7 May '08, at 8:56 AM, Vinayak Suley wrote:
If my understanding of objective-C is correct, the second one is
just a short version of writing the first.
Yup.
But the first one works fine and the second one causes an
NSRangeException:
That's odd. Something else must be going wrong...