Updated Swift examples in documentation because of Xcode 6.1