Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

mgrider/EasyGameView

Repository files navigation

EasyGameView

A SwiftUI grid view Package for "easy" game creation.

Features:

  • A "pure SwiftUI" View containing a grid of subviews. (Tested on iOS and macOS for now.)
  • Change the subview appearance with a simple (Int based) array of state variables.
  • Tap and Drag gestures handled for you, with Protocols you can implement to extend their behavior.

See the example project for inspiration.

TODO

This is still very much in progress. Don't use this package unless you are willing to lock it to a commit or put up with API changes down the road.

  • finish writing this README/ add documentation
  • fix/figure out bug where on first appearance, the size values set to the manager's data object are incorrect.
  • subview type: hexagons
  • subview type: images
  • figure out how to resize the grid dynamically

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /