weak self

1: Swift API 設計之 Value Type 與 Reference Type


Listen Later

波肥想跟我們談談使用 Swift 時,介面設計的想法、觀念與小技巧。因為太長講不完,所以這集先討論 Value Type 與 Reference Type。 { 完整節目筆記 https://weakself.dev/episodes/1 } Swift 這門語言的明確性原則 Modern Swift API Design (WWDC 2019) Swift Modules 官方文件 只 import 一個 class 或 func - NSHipster 大量使用 Value Type 的 Swift 值還是引用? Local Reasoning Stack vs Heap Understanding Swift Performance (WWDC 2016): Heap, Stack and Performance Swift 裡用來管理 heap memory 的資料結構是 doubly linked list 扯題:ABI 穩定 什麼場合要用 class 當你需要 retain count 以及 deinitialization 時 當你需要 shared 資料 (centrally held and shared, singleton) 扯題:struct 可以有 singleton 嗎? 當 identity 不等同於 equality Tagged Pointer 詳解(只適用於 iOS 12 之前的版本。iOS 12 有新的 Tagged Pointer 機制) 假使拿 struct 包 class 扯題:SwiftUI 用的 @propertyWrapper 更多 weak self 主講人 一三波肥喬喬 官網 https://weakself.dev Twitter @weak_self 提問箱



This is a public episode. If you would like to discuss this with other subscribers or get access to bonus episodes, visit weakself.substack.com
...more
View all episodesView all episodes
Download on the App Store

weak selfBy 一三、波肥

  • 4.9
  • 4.9
  • 4.9
  • 4.9
  • 4.9

4.9

10 ratings


More shows like weak self

View all
百靈果 News by Bailingguo News

百靈果 News

671 Listeners

區塊勢 by 說人話的區塊鏈內容

區塊勢

14 Listeners

游庭皓的財經皓角 by 游庭皓的財經皓角

游庭皓的財經皓角

50 Listeners

矽谷輕鬆談 Just Kidding Tech by 柯柯與肯吉在矽谷

矽谷輕鬆談 Just Kidding Tech

162 Listeners

Gooaye 股癌 by 謝孟恭

Gooaye 股癌

756 Listeners

呱吉 by 呱吉

呱吉

312 Listeners

台灣通勤第一品牌 by 台灣通勤第一品牌

台灣通勤第一品牌

306 Listeners

曼報 Manny's Newsletter by Manny Li

曼報 Manny's Newsletter

38 Listeners

好味小姐開束縛我還你原形 by 好味小姐

好味小姐開束縛我還你原形

656 Listeners

Tech Lead Journal by Henry Suryawirawan

Tech Lead Journal

12 Listeners

☀️ 全球串連早安新聞|Morning Taiwan Glocal News by 浩爾&小路

☀️ 全球串連早安新聞|Morning Taiwan Glocal News

180 Listeners

博音 by 曾博恩

博音

204 Listeners

跳脫Do式圈 by The DoDo Men - 嘟嘟人

跳脫Do式圈

367 Listeners

科技浪 Tech.wav by 哈利

科技浪 Tech.wav

83 Listeners