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

SwiftUI #623

Closed
lvnkmn opened this issue Oct 22, 2019 · 6 comments
Closed

SwiftUI #623

lvnkmn opened this issue Oct 22, 2019 · 6 comments

Comments

@lvnkmn
Copy link
Contributor

lvnkmn commented Oct 22, 2019

What did you do?

I tried to find out if Hero would work in combination with SwiftUI

What did you expect to happen?

I actually expected it would not work.

What happened instead?

It turned out to work out of the box.

General Information

  • Hero Version: 1.4.0

  • iOS Version(s): 13

  • Swift Version: 5

  • Devices/Simulators: iPhone X

  • Reproducible in Examples? (Yes):

Demo Project

https://github.com/CuratoOpenSource/Hero-SwiftUI-example

@lvnkmn
Copy link
Contributor Author

lvnkmn commented Oct 22, 2019

So yeah, against my expectations Hero turned out to work with SwiftUI, since I did not see this documented here I thought this would be worth mentioning.

The demo project that's linked above should show that Hero can be quite easily be used with the new framework.

Since this is not really an issue anymore I'll close it and leave it be for documentation purposes.

Hope this helped!

@lvnkmn lvnkmn closed this as completed Oct 22, 2019
@iDevid
Copy link
Collaborator

iDevid commented Oct 22, 2019

Thank you for the letting us know! This is very interesting 👍

@kuyazee
Copy link
Member

kuyazee commented Oct 29, 2019

Hey @lvnkmn would be great if you could create a PR to add your example maybe to the examples folder

@lvnkmn
Copy link
Contributor Author

lvnkmn commented Oct 29, 2019

@kuyazee sure, I’ll take some time for this on Friday 👌.

@lvnkmn lvnkmn reopened this Oct 29, 2019
@lvnkmn
Copy link
Contributor Author

lvnkmn commented Nov 3, 2019

Sorry, something came up so I could not do this on Friday.

However I started making an appropriate example this evening and will likely create the PR tomorrow.

lvnkmn pushed a commit to lvnkmn/Hero that referenced this issue Nov 4, 2019
lvnkmn pushed a commit to lvnkmn/Hero that referenced this issue Nov 4, 2019
lvnkmn pushed a commit to lvnkmn/Hero that referenced this issue Nov 18, 2019
lvnkmn pushed a commit to lvnkmn/Hero that referenced this issue Nov 18, 2019
lvnkmn pushed a commit to lvnkmn/Hero that referenced this issue Nov 18, 2019
JoeMatt pushed a commit that referenced this issue Dec 12, 2019
JoeMatt pushed a commit that referenced this issue Dec 12, 2019
JoeMatt pushed a commit that referenced this issue Dec 12, 2019
JoeMatt pushed a commit that referenced this issue Dec 12, 2019
JoeMatt pushed a commit that referenced this issue Dec 12, 2019
JoeMatt pushed a commit that referenced this issue Dec 12, 2019
nick-potts pushed a commit to nick-potts/Hero that referenced this issue Dec 16, 2019
nick-potts pushed a commit to nick-potts/Hero that referenced this issue Dec 16, 2019
nick-potts pushed a commit to nick-potts/Hero that referenced this issue Dec 16, 2019
nick-potts pushed a commit to nick-potts/Hero that referenced this issue Dec 16, 2019
nick-potts pushed a commit to nick-potts/Hero that referenced this issue Dec 16, 2019
@lvnkmn
Copy link
Contributor Author

lvnkmn commented Apr 1, 2020

Forgot to close this one.

@lvnkmn lvnkmn closed this as completed Apr 1, 2020
JoeMatt added a commit that referenced this issue Feb 8, 2021
JoeMatt added a commit that referenced this issue Feb 8, 2021
JoeMatt added a commit that referenced this issue Feb 8, 2021
* Run Swift 5 Migration Tool

* Inhibit warnings from CollectionKit as it is out of date

* ref #623 - add SwiftUI example

* ref #623 - revert target settings and make sure Example still works (in simulator)

* bundle install and pod install lockfiles

Co-authored-by: Nick Potts <github@nickpotts.com.au>
@unfurl-links unfurl-links bot mentioned this issue Feb 15, 2021
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

3 participants