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

Two small fixes that help this compile with the LLVM shipped in Xcode 4.3.2. #1

Merged
merged 2 commits into from May 15, 2012

Conversation

th-in-gs
Copy link
Contributor

  • Include UIKit.h in one of the files that was using CGFloat, but only including Foundation.h
  • A few casts of private NSMutableArrays to cope with LLVM's different idea of how properties override method declarations.

…y before mutating them.

Latest LLVMs don't recognise the NSMutable array property in the class extension as 'overriding' the declared NSArray accessor in the class definition (in the header).  Casting here makes the code compile.  This does feel a bit messy, but I think it's pretty clear that it's safe, and it feels /less/ wordy than adding special mutation accessors.
jweinberg added a commit that referenced this pull request May 15, 2012
Two small fixes that help this compile with the LLVM shipped in Xcode 4.3.2.
@jweinberg jweinberg merged commit 6700d33 into jweinberg:master May 15, 2012
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

Successfully merging this pull request may close these issues.

None yet

2 participants