본 글은 아래의 책에서 참고된 내용입니다.
Sams Teach Yourself iOS 6 Application Development in 24 Hours, 4th Edition
전 강좌에서는 코코아 터치가 iOS에서 어떠한 위상을 차지하는지 배웠다.
이번에는 코코아터치 레이어가 다루는 클래스에 대해서 알아보고자 한다.
$$ Cocoa Fundamentals
코코아 터치는 다음과 같은 클래스들로 이루어져 있다.
$ Core Application Classes
$ Data Type Classes
$ Interface Classes
---------------------------------------------------------------------------------------------
각각의 클래 집합들은 아래와 같다.
When you create a new application with even the most basic user interaction, you’ll be taking
advantage of a collection of common core classes. Many of these you won’t be touching, but
they still perform an important role. Let’s review several of these classes now.
- The Root Class ( NSObject )
- The Application Object ( UIApplication )
- Window Objects ( UIWindow )
- Views ( UIView )
- Responders ( UIResponder )
- Onscreen Controls ( UIControl )
- View Controllers ( UIViewController )
$ Data Type Classes
An object can potentially hold data. In fact, most of the classes we’ll be using contain a number
of properties that store information about an object. There are, however, a set of Foundation
classes that you use throughout this book for the sole purpose of storing and manipulating infor-
mation
- Strings ( NSString/NSMutableString )
- NSMutableString
- Arrays ( NSArray/NSMutableArray)
- Dictionaries ( NSDictionary/NSMutableDictionary )
- Numbers ( NSNumber/NSDecimalNumber )
- Dates ( NSDate )
- URLs ( NSURL )
$ Interface Classes
'메모' 카테고리의 다른 글
MVVM 간단한 정의 (영어) (0) | 2013.05.07 |
---|---|
[본문스크랩] HTML_테이블만들기 (0) | 2013.05.05 |
[MS-SQL] 테이블 스키마 조회 (0) | 2013.02.07 |
[자바스크립트] 랜덤함수 응용 (0) | 2013.02.07 |
[MS-SQL] 함수와 프로시저의 차이점 (0) | 2013.02.07 |