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

Implement more view types #2

Closed
4 tasks done
stackotter opened this issue Mar 20, 2022 · 3 comments
Closed
4 tasks done

Implement more view types #2

stackotter opened this issue Mar 20, 2022 · 3 comments
Labels
feature A feature request

Comments

@stackotter
Copy link
Owner

stackotter commented Mar 20, 2022

Currently only HStack, VStack, Button and Text are supported. The following view types would also be useful to have:

  • TextField
  • Slider
  • ForEach
  • Image

If you think of any more, reply below.

For reference on how to implement a container view, see the VStack implementation. For how to implement a non-container view, see the Button implementation.

@stackotter stackotter added the feature A feature request label Mar 20, 2022
@NinjaCheetah
Copy link
Contributor

Not entirely sure if SwiftGtk supports it but a Picker would be nice to have.

@stackotter
Copy link
Owner Author

I've implemented these 4 view types now (as well as implementing some views required for control flow). And I'll implement a Picker now. Further view types can be given their own issues as views are easier to implement now 👍

@stackotter
Copy link
Owner Author

Actually, Picker might take a little while to implement so I'll do that later once I've made some more API improvements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A feature request
Projects
None yet
Development

No branches or pull requests

2 participants