Skip to content

An iOS deck of cards app using peer connectivity to enable multiplayer games

Notifications You must be signed in to change notification settings

Caitlin-cooling/swiftcards

 
 

Repository files navigation

Build Status

Waffle.io - Columns and their card count

SwiftCards

Swiftcards is an iOS app that acts as a deck of cards allowing up to 2 people to play whatever game of cards they like!

alt text

Contributing

  • Run gem install cocoapods to install the dependency manager to your machine if it isn't already.
  • Run pod install to install dependencies.

Using the app

  • Clone this repo git clone https://github.com/IrinaSTA/swiftcards.git
  • You will need to open the directory SwiftCards in Xcode. If you don't have Xcode installed please click here for more information. If you need a refresher about using Xcode, have a look at this page.
  • To run the app, please use your simulator in Xcode by clicking the play button in the top left hand corner of your screen. If you would like more information about this please see this page. You can select to run this on your own iPhone device, please ensure that you have selected your own personal team in the Signing settings.

Running the Tests

Tests are written using Xcode's testing suite XCTest and need to be run in Xcode. Once you have opened the file, click on the test navigator icon in your navigation pane. Click on the play button next to the tests to run them. For more information about running XCTests, please see this page.

Tests are all currently passing and test coverage is 91.2%.

Linting

Linting is done via SwiftLint, and is triggered automatically on building. Once you have installed dependencies and built the app click the issue navigator icon to see any linting errors, these shows as yellow warnings like this:

alt text

Please note that the app has been built using Swift version 4 due to device compatibility issues. If you are running Xcode 10 you will get a warning letting you know that you can upgrade, please do not do this.

Learning Documentation

Learning documentation can be found here. This is a collection of notes that have been taken by the team throughout the duration of the project and may help with any questions that you have.

Known Issues

Note that this app is not deployed as a paid Apple Developer account is required to do so.

About

An iOS deck of cards app using peer connectivity to enable multiplayer games

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 99.0%
  • Ruby 1.0%