Create a basic flight booking app using Amadeus SDK.
Find here basic models to send and receive information using Amadeus API.
Files containing data that is relevant throughout the app: AppDelegate, SceneDelegate and Constants. The latter stores all important information and functions.
Extensions in this project:
Date, to handle different date formats;String, to transform strings to date;Int, to handle integers in string format.
Custom UITableViewCells used for this project:
FlightDetailCell, to display a flight's information;SearchDetailsCellto display text fields where the user can enter information and perform a flight search.
Custom UIViews used for UITableViewCells for this project:
SegmentView, to display a segment's departure or arrival information;SegmentDetailView, displays twoSegmentViews to present the entire segment's information;FlightInformationView, displays one or moreSegmentDetailViews to present the entire flight's information;LoadingView, to let the user know of ongoing background activity.
The view controllers used in this app.
- ViewController, the main home page view controller;
- BookFlightViewController, page where users will see their selected flight and confirm booking;
- HistoryViewController, history of past flight bookings view controller.