Swiftpack.co -  Package - kata-me/TicTacToeKit
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
kata-me/TicTacToeKit
TicTacToeKit used in kata-me TicTacToe
.package(url: "https://github.com/kata-me/TicTacToeKit.git", from: "1.0.0")

TicTacToeKit

This package contains code that is shared between macos and IOS. For convenience this package also hosts the unit test.

Integrated in in example iOS and macOS app TicTacToe

Setup pre-push hook

Optional To run a minimal set of tests before you push run following command in root folder.

⚠️ will overwrite whatever is in the pre-push, if you have a pre-push append rather then running this command.

mv .git/hooks/pre-push.sample .git/hooks/pre-push && echo '#!/bin/bash' > .git/hooks/pre-push && echo 'swift test' >> .git/hooks/pre-push

GitHub

link
Stars: 0
Last commit: 4 weeks ago

Release Notes

Animates winning rows, diagonals or columns
4 weeks ago

In this release the most visible change is that it animates the winning move.

Improvements

  • all needed UI elements to build an app are added. Pick the once you need
  • add's basic accessibility labels

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco