Can you provide this code for Swift 3
Can you provide this code for Swift 3