Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

CTABusiOSApp

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.

Features

  • 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.

Built With

  • 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 via async/await for calling the CTA API.

  • Foundation → JSONDecoder & Codable
    JSON parsing into Swift model structs.

Setup

  • Obtain an API key from CTA Bus Tracker.
  • Chanage with Your API KEY with APIKEY word in the files.

ScreenShots

  • HomeScreen [Routes]
Home

  • StopScreen
Home

  • PredicationBusScreen
Home

About

iOS app for browsing CTA bus routes and real-time arrival predictions, built with SwiftUI, Storyboards & Auto Layout

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages