Problem: I have a set of images, lets say 5. There is an structure that defines an "image object" in the meaning of my context.
Every such image object has this information:
- name, of the image file (ie "myImage.png")
- xOffsetPx
- yOffsetPx
- width
- height
The images are supposed to be shown on very specific positions in an view, so I need to store all this information in some sort of multidimensional associative array (or similar). The name of the image would be the key or ID.
I stumbled upon something like that a month ago in my 1000 pages objective-c book, but can't find it anymore. Any idea here?