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

Hokusai.swift pulled from Cocoapods differs from Hokusai.swift in Github repo #22

Open
dnadri opened this issue Mar 21, 2018 · 0 comments

Comments

@dnadri
Copy link

dnadri commented Mar 21, 2018

Swift Compiler Error after updating to Swift:
"Argument of '#selector' refers to instance method 'tick' that is not exposed to Objective-C"

Based on my research, adding @objc would expose these instance methods to Objective-C and I see that in the Hokusai.swift file of your latest Hokusai version (0.4.0) on Github you have those @objc attributes. However, when I install the latest Hokusai pod via Cocoapods, I do not see these attributes in the Hokusai file.

Not sure why the Hokusai.swift pulled from Cocoapods differs from the Hokusai.swift here in the repo (the 6 missing @objc attributes seem to be the only difference). For example, in the Hokusai.swift file of the latest master branch, it correctly shows the attribute for example:
@objc func tick(_ displayLink: CADisplayLink)
But in the Hokusai.swift file in my Xcode project, I do not see this @objc attribute, even though I installed the latest Hokusai (0.4.0) (via pod Hokusai in my Podfile).
@ytakzk

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

1 participant