Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Sydde

macrumors 68030
Original poster
Aug 17, 2009
2,571
7,068
IOKWARDI
It can be really frustrating trying to hit the moving target that is Mac OS.

I just found out that my first full project, a learning experience in the form of yet-more-minesweeper-idiocy, now more-or-less fails under Snow Leopard. I remain on PPC, so I have no real way of finding out exactly why it fails. It seems to run without actual errors, the sound effects work, but the images do not display (I have a friend with a new-ish iMac). I used a sub-classed NSMatrix of NSImageCells to draw the squares, but I am told the squares do not present images. The images are diced out of a single png file that is in Resources or an application support directory. Does anyone have some idea of what might have changed in NSImage, NSImageCell or NSMatrix in SL?. I am not really keen to dive back into it, but having it not working rankles me a bit.
 
None of the classes you mentioned are deprecated, but there's a chance you're either using an API improperly, or you're using a method/function/class that got changed, or something else small like that. If you want to post your project somewhere I or someone else could take a look.
 
Ok, I posted the project on my server. There was a lot of other clutter in that folder, which I stripped out of the archive. There are a couple of source files in there that were meant to be an attempted fix, but I never got to doing anything with them. The primary methods of interest would be in mField.m, -buildTilesetFromImage: and possibly -awakeFromNib

AYMMSI.tgz

The link will probably not work until at least an hour after the time on this post.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.