반응형
https://medium.com/@almalehdev/you-dont-always-need-weak-self-a778bec505ef
You don’t (always) need [weak self]
We will talk about weak self inside of Swift closures to avoid retain cycles & explore cases where it may not be necessary to capture self weakly.
medium.com
반응형
'Programming > Swift' 카테고리의 다른 글
swift 구조체에서 protocol 사용 예제 1 (0) | 2022.08.15 |
---|---|
Rick and Morty API (0) | 2022.08.15 |
애플 공식사이트에서 제공하는 SwiftUI 강좌 (0) | 2022.05.30 |
swift argument parser를 통한 CLI 앱 생성 (0) | 2021.10.13 |
[Swift] allSatisfy(_:) method (0) | 2021.08.24 |