출처http://kka7.tistory.com/21https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/AutomaticReferenceCounting.html#//apple_ref/doc/uid/TP40014097-CH20-ID48 ARC (Automatic Reference Counting)ARC 는 클래스의 인스턴스에만 적용된다.구조체와 열거형은 값 타입이며, 참조 타입이 아니고참조로 저장되거나 전달되지 않는다. class Person { let name: String init(name: String) { self.name = name print("\(name) is be..
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 *..
- Total
- Today
- Yesterday
- EffectiveObjectiveC
- ios
- CIImage
- NSManagedObject
- docker
- Swift3
- dictionary
- Swift
- UIView
- Swift 3
- set
- RunLoop
- Block
- string
- Swift 3.0
- coredata
- thread
- optional
- delegate
- HTTP
- applicationWillResignActive
- AWS
- Arc
- 꺼내먹어요
- Swfit
- 읽기 좋은 코드가 좋은 코드다
- NSManagedObjectContext
- workerThread
- NSManagedObjectModel
- CGImage
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |