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

Regression: Allow access from Objective-C #18

Closed
michaeleustace opened this issue Dec 19, 2017 · 1 comment
Closed

Regression: Allow access from Objective-C #18

michaeleustace opened this issue Dec 19, 2017 · 1 comment

Comments

@michaeleustace
Copy link

michaeleustace commented Dec 19, 2017

I have a mixed Objective-C and Swift project using LicensesViewController which I have just updated to Swift 4 from Swift 3

However this does now not compile because Objective-C code cannot see open func loadPlist(_ bundle: Bundle, resourceName: String). Swift 4 requires explicitly declaring @objc to functions which are exposed to Objective-C.

Could you please add @objc to the functions you wish to expose to Objective-C.

@michaeleustace michaeleustace changed the title Allow access from Objective-C Regression: Allow access from Objective-C Dec 19, 2017
@carloe
Copy link
Owner

carloe commented Jan 20, 2018

@michaeleustace should should be fixed with the 0.6.5 version I just pushed. If you are still having issues please let me know.

@carloe carloe closed this as completed Jan 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants