Convert some Obj-C to Swift
Merge pull request #14 from finder39/feature/swiftlike

Convert some Obj-C to Swift