updating example for swift
Merge pull request #1 from nataliepo/feature/swift

updating example for swift