Re: Null result from NSArray objectAtIndex
Re: Null result from NSArray objectAtIndex
- Subject: Re: Null result from NSArray objectAtIndex
- From: Guy English <email@hidden>
- Date: Wed, 23 Mar 2005 17:19:54 -0500
Ok ... well do you know for sure that [palImages objectAtIndex: 0]
returns nil when loaded with the image names for a different pal?
>From looking at the code it should just work. What is likely failing
is the [NSImage imageNamed: blah] part of it. Check your image names
are correct and split the objectAtIndex to a different line and assign
it's result to something so you can log it or see it in the debugger
easier. Your posted code looks ok.
Guy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden