blob: 1b645107020a7b106261ccbef3525efe3ec9d1d0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
//
// LearnMapKitApp.swift
// LearnMapKit
//
// Created by Jacky Jack on 05/06/2024.
//
import SwiftUI
import Collections
//https://www.hackingwithswift.com/quick-start/swiftui/how-to-run-code-when-your-app-launches
@main
struct LearnMapKitApp: App {
@State var queue: Deque<ADSBLocation> = []
@StateObject private var flightState = FlightState()
init() {
print("Init app")
}
var body: some Scene {
WindowGroup {
ContentView(pos_queue: $queue)
}.environmentObject(flightState)
}
}
|