标签:
在Swift在,获取元组的值到一个位置,通过三种方法:
let http404Error = (404, "Not Found") let (statusCode, statusMessage) = http404Error
let http404Error = (statusCode: 404, statusMessage: "Not Found")
版权声明:本文博客原创文章,博客,未经同意,不得转载。
标签:
原文地址:http://www.cnblogs.com/bhlsheji/p/4741688.html