I have some code in Swift and I'd like to insert a property of the app (the version). Is this possible?
var parameters: [String : AnyObject] = [ "offerSef" : url, "userGuid" : user.userGuid, "bottlesQty" : quantityIndex + 1, "appId" : "iOS" + /* WANT TO INSERT APP VERSION HERE */, "creditCardId" : payment.paymentID, "billingAddressId" : payment.billingAddressId, ] Note: This is not a duplicate of iOS app, programmatically get build version because my question is about how to do it the right way using Swift (as opposed to Objective-C)