Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Class Diagrams: Models and Controllers

VehicleList VehicleListViewController
+vehicles: [Vehicle]
+VehicleList()

VehicleViewController
Vehicle
+photo: UIImage
+name: String
+make: String
+model: String
+year: Int TripListViewController
+kmpL: Int
+plate: String
+vin: String
+insurance: String
+trips: [Trip]
+Vehicle()
TripViewController

Trip
+name: String
+startTime: Date
+endTime: Date
+startOdometer: Int
+endOdometer: Int TripInfoViewController
+notes: String
+accelerometerData:
[CMAccelerometerData]
+locationData:
[CLLocationCoordinate2D]
+Trip()
+tripStart()
+tripEnd()

You might also like