Swift 4簡化了Swift 3中使用的整個 JSON 壓縮和序列化過程。 ... 然後,使用 try 語句和encoder的 encode(_:) 方法將tutorial壓縮到 data 物件中。
確定! 回上一頁