Cocoa Touch Framework

Grace·2022년 4월 19일
0

Cocoa Touch Framework란?


iOS Application의 다양한 기능 구현에 필요한 여러 Framework를 포함하는 최상위 계층의 Framework입니다. 핵심 Framework에는 UIKit과 Foundation이 있습니다.

UIKit

iOS Application의 UI(User Interface)를 구현하고 Event를 관리하는 Framework.

View and Control, View Controller, Animation and Haptics, Window and Screen, Touch / Press / Gesture, Keyboard and Menu, Drag and Drop 등

cf. UIKit 클래스 중 UIResponder에서 파생된 클래스사용자 인터페이스에 관련된 클래스는 애플리케이션의 메인 스레드(혹은 메인 디스패치 큐)에서만 사용하세요.

⚠️ Why? UIKit이 Thread-Safe하지 않기 때문이다. 현실적으로 모든 거대한 UIKit들을 Thread-Safe하게 구현하는 것은 한계가 있다.

Foundation

iOS Application 운영체제 서비스와 기본 기능을 포함하는 Framework.

타입(Number, Data, String), Collection(Array, Dictionary, Set 등), Data and Time, Error and Exceptions, Resources, Notification, App Extension, File System, Serialization, URL Loading System 등

profile
Day By Day

0개의 댓글