Get the list of TFL tube services and their statuses.
The Application is built using MVVM(Model View view Model) Architecture using SwiftUI and Combine Frameworks.
Run the project in the XCode with version 15.0 and above.
Before you run the project, please try to obtain API Key by subscribing to TFL Unified API. Please follow below steps to obtain API Key.
1. Signup with your details in TFL Unified API.
2. After successfully logging in with your activated account, goto Products page.
3. With your app name you can subscribe to the 500 requests per minutes plan in the Products page.
4. Now you can see your keys(Primary, Secondary) in your Profile page.
5. Now please copy either of the keys and initialize the variable app_key in Constants file.
Run the project in iOS Simulator or Device with iOS 17.0 and above.
- To run the test cases, please open TubeLinesStatusTests.swift
- By Using the test triangles: Click on the diamond shape icon on the left side of the code editor to run all tests in the file. Click on the triangle shape icon next to a specific test method to run that test only.
This Project supports Xcode >=15.0 and iOS >=17.0, Swift 5.9