Consume web service in iOS app using Swift programming