delegate, block 에서의 Retain Cycle (ARC)
1. 간단한 Retain Cycle @interface Item : NSObject@property (nonatomic, strong) Item* value1;@property (nonatomic, strong) Item* value2;@end - (void)someMethod {Item *a1 = [[Item alloc] init];Item *a2 = [[Item alloc] init];a1.value2 = a2;} 객체 참조카운트 a1 1 a2 2 @interface Item : NSObject@property (nonatomic, strong) Item* value1;@property (nonatomic, strong) Item* value2;@end - (void)someMethod {Item *..
iOS 개발/ObjectiveC
2016. 11. 9. 01:03
[iOS10] CallKit (Call Blocking & Identification) 의 문제점들 및 해결 방법
보호되어 있는 글입니다.
보호글
2016. 9. 20. 17:47
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Block
- string
- Swfit
- HTTP
- applicationWillResignActive
- coredata
- 꺼내먹어요
- docker
- set
- Arc
- workerThread
- UIView
- dictionary
- Swift 3
- CIImage
- RunLoop
- CGImage
- Swift
- optional
- delegate
- NSManagedObjectModel
- NSManagedObject
- AWS
- ios
- thread
- Swift 3.0
- NSManagedObjectContext
- 읽기 좋은 코드가 좋은 코드다
- EffectiveObjectiveC
- Swift3
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함