Flight search app built on FlightConnections.com API data. Features: airport search with autocomplete, browse by country/state/map, flight schedules by route and date, multi-airline support with per-airline schedule loading. Includes 4,561-airport GPS database for map browsing. Adaptive light/dark mode UI inspired by Flighty. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
13 lines
282 B
Swift
13 lines
282 B
Swift
import Foundation
|
|
|
|
struct Airline: Identifiable, Hashable, Sendable {
|
|
let id: String
|
|
let name: String
|
|
let iata: String
|
|
let logoFilename: String
|
|
|
|
var logoURL: URL? {
|
|
URL(string: "https://cdn.flightconnections.com/img/airlines_sq/\(logoFilename)")
|
|
}
|
|
}
|