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

Migrating project to swift 4 #33

Merged
merged 1 commit into from
Oct 26, 2017
Merged

Conversation

fpinvidio
Copy link
Contributor

Exposed updateFrame function to objc as required for swift-4.
Updated project settings.

@chili-ios
Copy link
Contributor

hi @fpinvidio ,

Do we need flag SWIFT_SWIFT3_OBJC_INFERENCE to be on? Just checked with xCode 9 beta 4, and everything works with default value.

@fpinvidio
Copy link
Contributor Author

Actually it should be set to default or off. But before changing it, it would be wise to run the project with the env variable SWIFT_DEBUG_IMPLICIT_OBJC_ENTRYPOINT for identifying any remaining functions that need @objc.

https://stackoverflow.com/questions/44379348/the-use-of-swift-3-objc-inference-in-swift-4-mode-is-deprecated

@Felizolinha
Copy link

It makes a lot of sense to use this flag, as it reduces the file size of the project's binary.

@agordeev
Copy link

Are you going to merge this PR? Nice lib btw ;)

@chili-ios chili-ios merged commit 08ed7cc into ChiliLabs:master Oct 26, 2017
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.

5 participants