Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.41 KB

README.md

File metadata and controls

50 lines (35 loc) · 1.41 KB

Ping-pong-results

Swift 5.0 Pod Version Pod Platforms

Ping Pong Results it is simple application for saving and displaying ping pong game results and player ranks. It is using realm database, realm server to sync data and manage users.

How to setup and run?

1). Install latest Xcode from MacOS AppStore.

2). Install latest CocoaPods

  • open Terminal
  • run command:
sudo gem install cocoapods

3). Clone repository

  • open Terminal
  • run command:
git clone [email protected]:molchanovskiy/Ping-pong-results.git

4). Go to project directory in Terminal

5). Install pods from Podfile

  • run command:
pod install

6). Open project directory in Finder

7). Open "Ping Pong Results.xcworkspace" (project would be opened in xCode app)

8). Select device or simulator to run and press Run button

How run Unit Test?

  1. Setup project if not setuped yet

  2. Open "Ping Pong Results.xcworkspace" (project would be opened in xCode app)

  3. Open "Ping Pong ResultsTests" on left pannel

  4. Select "unit_game_player_test.swift"

  5. Tap "run" button in front of function which is needed to run.