반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- URL(string:)
- typeorm
- Creating Operators
- SwiftUI
- swift6
- dismiss
- NullObject
- ios14
- @Environment
- Operater
- RxCocoa
- IOS
- @State
- Operators
- init?
- Bug
- vim
- Xcode
- init
- nonisolated
- subject
- NavigationLink
- graphql
- SWIFT
- nestjs
- operator
- @Binding
- @EnvironmentObject
- RxSwift
- RFC1738/1808
Archives
- Today
- Total
목록ARC (1)
Tunko Development Diary

ARC(Automatic Reference Counting) 을 통해서 대부분의 문제를 해결했지만 Velue Type 이 아닌 Reference type 에서는 Retain Count를 관리해야 합니다. Swift 코딩중에 클로저와 같은 것을 사용하게 되면 종종 [weak self] 가필요합니다. 이게 왜 필요한지 차근차근 알아보려고 합니다. ARC란? Automatic Reference Counting - The Swift Programming Language (Swift 5.7) Swift에서 우리는 코드의 관계 사이에 필요한 정보를 ARC에서 제공하기 위해 weak self 와 unowned self를 사용해야 합니다. weak self 와 unowned self를 사용하지 않으면 기본적으로 str..
Development/iOS 개발
2022. 6. 15. 20:48