結果 : how to write swift code in xcode