• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Null result from NSArray objectAtIndex
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Null result from NSArray objectAtIndex (From: "A.Sleep" <email@hidden>)

  • Prev by Date: Re: create a server listening on a specific port
  • Next by Date: Re: Null result from NSArray objectAtIndex (Solved)
  • Previous by thread: Re: Null result from NSArray objectAtIndex
  • Next by thread: Re: Null result from NSArray objectAtIndex
  • Index(es):
    • Date
    • Thread