Puzzle-iOS
Puzzle-iOS copied to clipboard
It does not compile on Xcode 5
In PuzzleController.m, at line:
int e = [[[[arrayPieces objectAtIndex:l] edges] objectAtIndex:1] intValue];
there are the following errors: 1 - Multiple methods named 'edges' found with mismatched result, parameter type or attributes 2 - Bad receiver type 'UIRectEdge' (aka 'enum UIRectEdge')
Same errors at line: int e = [[[[arrayPieces lastObject] edges] objectAtIndex:2] intValue];
"edges" was added to uikit in iOS7. Just search every instance of "edges" in the project and replace it with something like "my_edges" and it will work in Xcode 5/iOS7.