- 👀 #12 What is Hashable protocol in SwiftUI?"> 👀 #12 What is Hashable protocol in SwiftUI?
- #13 Sort, Filter, and Map data arrays in Swift">👀 #13 Sort, Filter, and Map data arrays in Swift
- #14 How to use Core Data with @FetchRequest in SwiftUI
- #15
- #16
- #17 Multi-threading with background threads and queues in Xcode(23:48)">👀 #17 Multi-threading with background threads and queues in Xcode(23:48)
- 👀 #18 How to use weak self in Swift(20:32)
👀 #12 What is Hashable protocol in SwiftUI?
👀 #13 Sort, Filter, and Map data arrays in Swift
- Sort - organize data by criteria
2. Filter - create a subset of your data
3. Map - transform data from one type to another
#14 How to use Core Data with @FetchRequest in SwiftUI
#15
#16
👀 #17 Multi-threading with background threads and queues in Xcode(23:48)
👀 #18 How to use weak self in Swift(20:32)
Swift使用自动引用计数(ARC)来管理应用程序的内存使用情况。作为开发者,你应该尽量减少ARC数量,这样你的应用才能快速高效地运行。在这个视频中,我们将学习如何使用“弱引用”而不是“强引用”来保持我们的计数较低
- 避免强引用,导致一直无效的等待无法deinit回收