The travel guide application is the application where we can have information about the places to go. An application where we can add the trips we plan to go in the near future.
git clone https://github.com/edabarutcu/travel-app.git
cd TravelApp
open TravelApp.xcworkspace
- Xcode 13.2.1
- iOS 15.2
- Swift 5 +
Hotel Api - https://developer.hotelbeds.com/documentation/getting-started/
Flight Api - https://aviationstack.com
- Alamofire
- SwiftyJson
- SDWebImage
- Core Data
- MVVM
static func calculateXSignature() -> String {
let timestamp = Int(NSDate().timeIntervalSince1970)
let inputString = apiKey + secret + String(timestamp)
let inputData = Data(inputString.utf8)
let hashed = SHA256.hash(data: inputData)
return hashed.description.components(separatedBy: ":")[1]
}