boyfarrell
Registered
Hello all.
I have added a method called flip to NSArray. It has very limited scope but works find for me because there in only one situation in which I will ever use it.
It's job it to flip an NSMutableArray containing double NSNumber objects, e.g.
[0 1 2 3 4 5] goes in
[5 4 3 2 1 0] comes out.
I have managed to do this fine and it works in isolation. However, when I try to put it into a bigger project that I'm working on to use the flip functionality I keep getting run time errors, can anybody spot where I'm going wrong?
I've attached my Xcode project folder.
I have added a method called flip to NSArray. It has very limited scope but works find for me because there in only one situation in which I will ever use it.
It's job it to flip an NSMutableArray containing double NSNumber objects, e.g.
[0 1 2 3 4 5] goes in
[5 4 3 2 1 0] comes out.
I have managed to do this fine and it works in isolation. However, when I try to put it into a bigger project that I'm working on to use the flip functionality I keep getting run time errors, can anybody spot where I'm going wrong?
I've attached my Xcode project folder.