• 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 (Solved)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Null result from NSArray objectAtIndex (Solved)


  • Subject: Re: Null result from NSArray objectAtIndex (Solved)
  • From: "A.Sleep" <email@hidden>
  • Date: Wed, 23 Mar 2005 17:23:34 -0500

On Mar 23, 2005, at 5:15 PM, Will Mason wrote:
If your palImage is coming up nil for a set of the desired images, then
according to the NSImage docs no image by that name could be found in
the app's main bundle. Are you sure you've got all the images there?
Also, I don't understand your reference to "3 of the 6 'pal' images",
as you only seem to deal with three in the code given.
Could you clarify? Thanks,

Happily ;)

There are 6 sets of icons (images). Each set is 3 icons (images). The file name format is "[name] [1-3].icns". So, for the "pal" Dino there is Dino 1.icns, Dino 2.icns and Dino 3.icns.

And as I just now looked in the compiled app (OSXPal.app) I notice that yes... there are some missing... Last thing I would have thought since all images were added to the project at the same time, the same way... I'll have to figure out why some are missing...

Wow... achems razor strikes again... I _never_ would have thought that some of the images weren't making it into the bundle while others were. Thanks for pointing out the obvious for me.

---
A.Sleep - Jeraimee Hughes
Email: email@hidden
Cell: 954.854.3155

_______________________________________________
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: 
 >Re: Null result from NSArray objectAtIndex (From: Will Mason <email@hidden>)

  • Prev by Date: Re: Null result from NSArray objectAtIndex
  • Next by Date: Infinite loop in NSScanner
  • Previous by thread: Re: Null result from NSArray objectAtIndex
  • Next by thread: Infinite loop in NSScanner
  • Index(es):
    • Date
    • Thread