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

Swift Integration #7

Open
annjawn opened this issue Dec 17, 2017 · 1 comment
Open

Swift Integration #7

annjawn opened this issue Dec 17, 2017 · 1 comment

Comments

@annjawn
Copy link

annjawn commented Dec 17, 2017

Looks very promising... Any way you could provide Swift code sample for it? Thanks

@TimOliver TimOliver changed the title For Swift? Swift Integration Dec 17, 2017
@TimOliver
Copy link
Owner

Thanks a lot @annjawn!

That's a good idea! It hasn't got any provisions for being bridged to a Swift project yet. The method names and property nullability could probably be improved.

For now, if you need an example, just follow the example code here: https://github.com/TimOliver/TOActionSheet/blob/master/TOActionSheetExample/ViewController.m#L20

Once you've imported the library into a Swift project, you should be able to use code auto-complete to see how the generated Swift interface looks like.

Good luck!

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