An app for Pursuit Fellows and Staff to track and share their progress completing challenges on CodeWars, As well as any ongoing GitHub projects.
Scroll Users | Search User | Change Color Theme |
---|---|---|
func testFetchUserById() {
let exp = XCTestExpectation(description: "fetched a user by id")
CWTAPIClient.fetchUserById(id: "5") { (result) in
switch result {
case .failure(let appError):
print(appError)
XCTFail("\(appError)")
case .success(let userById):
exp.fulfill()
XCTAssertEqual(userById.id, 5)
}
}
wait(for: [exp], timeout: 5.0)
}
- Clone this repo to your local machine using
-
Add a Swift file named Secrets to project directory
-
Contact regarding contributing, or Testflight email
- XCode
- Swift
- SnapKit
- Safari Services
- DropDown
- XCTest
- UIKit
- Foundation
- MVC Architecture, Programmatic UI