We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Having issues compiling in Xcode 7 beta 6 (Swift 2.0).
Getting a compile error:
Type argument 'CGImageRef' (aka 'struct CGImage *') is neither an Objective-C object nor a block type
Please see the attached screen. This is in the autogenerated "Project-swift.h" file.
Any ideas how to fix this? Kinda stuck here.
Thanks!
The text was updated successfully, but these errors were encountered:
Filed a bug report for this with Apple based on a discussion thread:
https://forums.developer.apple.com/thread/16289
It seems Xcode 7 beta 6 is treating Array as a type that can be represented faithfully in Objective-C. No bueno.
Workaround is as follows in RAMFrameItemAnimation:
@nonobjc var animationImages : Array<CGImage> = Array()
and
@nonobjc func playFrameAnimation(icon : UIImageView, images : Array<CGImage>)
Hope that helps someone!
Sorry, something went wrong.
Thanks for solution 👍
No branches or pull requests
Having issues compiling in Xcode 7 beta 6 (Swift 2.0).
Getting a compile error:
Type argument 'CGImageRef' (aka 'struct CGImage *') is neither an Objective-C object nor a block type
Please see the attached screen. This is in the autogenerated "Project-swift.h" file.
Any ideas how to fix this? Kinda stuck here.
Thanks!
The text was updated successfully, but these errors were encountered: