https://developer.apple.com/library/content/documentation/Swift/Conceptual/BuildingCocoaApps/WorkingWithCocoaDataTypes.html#//apple_ref/doc/uid/TP40014216-CH6
Objective-C Reference Type
|
Swift Value Type
|
---|---|
NSAffineTransform | AffineTransform |
NSArray | Array |
NSCalendar | Calendar |
NSCharacterSet | CharacterSet |
NSData | Data |
NSDateComponents | DateComponents |
NSDateInterval | DateInterval |
NSDate | Date |
NSDecimalNumber | Decimal |
NSDictionary | Dictionary |
NSIndexPath | IndexPath |
NSIndexSet | IndexSet |
NSLocale | Locale |
NSMeasurement | Measurement |
NSNotification | Notification |
NSNumber |
Swift numeric types (
Int , Float , and so on.) |
NSPersonNameComponents | PersonNameComponents |
NSSet | Set |
NSString | String |
NSTimeZone | TimeZone |
NSURLComponents | URLComponents |
NSURLQueryItem | URLQueryItem |
NSURL | URL |
NSURLComponents | URLComponents |
NSURLQueryItem | URLQueryItem |
NSURLRequest | URLRequest |
NSUUID | UUID |
https://developer.apple.com/library/content/documentation/Swift/Conceptual/BuildingCocoaApps/InteractingWithObjective-CAPIs.html#//apple_ref/doc/uid/TP40014216-CH4-ID35
여길 보면 결국 포인터의 굴레에서 벗어나지는 못한다.
하긴 양자 컴퓨터가 나오지 않는 이상 CPU와 메모리의 장난일 뿐인 프로그래밍.
댓글 없음:
댓글 쓰기
국정원의 댓글 공작을 지탄합니다.