Sample application in Swift