Updated with methods on Swift
Merge pull request #5 from lfarah/patch-1

Updated with methods on Swift