Get dictionary key of view being panned and add it to an array?

This line: pannedPieces = NSMutableArray alloc init; overwrites pannedPieces with a new array every time you enter that branch (and probably also leaks). If you want to collect more pieces, don't use a new array and just add to the existing one. To get the key(s) for an object from a dictionary use -allKeysForObject:.

Son of a.. Duh. Hehe. Thank you!

I am still really curious as to how I would get the key from my dictionary of an image being panned or that was panned. Could you or someone give me an idea of how I could do that? – Jason Sep 27 at 23:59.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions