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

Objective-C compatibility (and NativeScript compatibility) #147

Merged
merged 1 commit into from
Apr 7, 2019

Conversation

Coeur
Copy link
Collaborator

@Coeur Coeur commented Apr 4, 2019

This change adds @objc to public properties and functions from Toast.swift in order to make them compatible with Objective-C projects (and NativeScript projects).

I've converted the existing demo app to Objective-C, and it works.

Do we need to expose more properties/functions to Objective-C, for instance those from ToastView, ToastWindow and ToastCenter?

@EddyVerbruggen, please review too. :)

Copy link
Owner

@devxoul devxoul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍💯

@devxoul devxoul merged commit 2447635 into master Apr 7, 2019
@devxoul devxoul deleted the objective-c branch April 7, 2019 12:00
@devxoul
Copy link
Owner

devxoul commented Apr 7, 2019

We can expose more properties in the next release if it is needed. Great job. Thanks!

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.

2 participants