Hey guys, Is there any way to store certain numbers in array then do something like: Code: image.center = CGPointMake([integerArray objectAtIndex:0], [integerArray2 objectAtIndex:1]); Basically I want to retrieve values from an array then set an image view's center to them. Thanks.
Yes, if your using an NSMutableArray or NSArray, you'll have to make them NSNumbers instead of ints. Anything stored in an NSArray must inherit from NSObject. C style arrays can store ints just fine though..