Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It does not compile on Xcode 5 #2

Open
samorosi opened this issue Oct 16, 2013 · 1 comment
Open

It does not compile on Xcode 5 #2

samorosi opened this issue Oct 16, 2013 · 1 comment

Comments

@samorosi
Copy link

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];

@tropicdome
Copy link

"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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants