I run the demo,result in " Xcode a declaration cannot be both 'final' and 'dynamic' "
I search on stackoverflow,find out that do not let static class property in extension class. Is there any solution?
Could you give me more context? Which line are you getting this error on?
Same event happened to me. When just run the examples project in Xcode 8.0, build failed.
it is swift compile error. a declaration cannot be both 'final' and 'dynamic'
@yongseongkim Can you give me a screen shot or line number?
OSX ElCapitan Xcode 8.0
image
Somehow I am not getting this. If you change all static keyword to class in CAMediaTimingFunction+Hero.swift. Do you still get this error?
Nvm that shouldn't work.
It is something about this: http://stackoverflow.com/questions/29814706/a-declaration-cannot-be-both-final-and-dynamic-error-in-swift-1-2
I wont be able to dig deeper these two days. Will come back to this later. I would recommend updating your Xcode. I have no problem with Xcode 8.2.1
I solved the problem by inserting @nonobjc annotation.
Thanks for your consideration.
@yongseongkim This is probably just a Xcode version issue. Please update your Xcode to 8.2 and above. Your source change will be overridden the next time you do a 'pod install'.
Thank you all for reporting this. 😆 I have updated Xcode version the README.
Hi lhzhao,Thanks for all that .
It came out  fun when I update the Xcode version.
Best Wishes.
On 2017年1月6日 +0800 AM1:20, Luke Zhao notifications@github.com, wrote:
@yongseongkim This is probably just a Xcode version issue. Please update your Xcode to 8.2 and above. Your source change will be overridden the next time you do a 'pod install'.
Thank you all for reporting this. 😆 I have updated Xcode version the README.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
Most helpful comment
@yongseongkim This is probably just a Xcode version issue. Please update your Xcode to 8.2 and above. Your source change will be overridden the next time you do a 'pod install'.
Thank you all for reporting this. 😆 I have updated Xcode version the README.