An iOS application written in Swift that lets you browse Chicago Transit Authority (CTA) bus routes, view stops for a selected route, and see real-time arrival predictions.
- Home Screen – Browse all CTA bus routes.
- Stop Screen – View all stops for the selected route.
- Prediction Screen – See real-time arrival predictions for the next buses.
-
SwiftUI
Declarative UI for most views and navigation. -
UIKit → Storyboards & Auto Layout
Legacy screens built in Interface Builder using Storyboard scenes, with Auto Layout constraints to handle dynamic sizing and orientation changes. -
Foundation → URLSession
Native networking viaasync/awaitfor calling the CTA API. -
Foundation → JSONDecoder & Codable
JSON parsing into Swift model structs.
- Obtain an API key from CTA Bus Tracker.
- Chanage with Your API KEY with APIKEY word in the files.
- HomeScreen [Routes]
- StopScreen
- PredicationBusScreen


