updated syntax for beta3
Merge pull request #4 from NatashaTheRobot/update_swift_beta_3_syntax

updated syntax for beta3. Thanks!