about IPhone and Mac OS X
description
Transcript of about IPhone and Mac OS X
![Page 1: about IPhone and Mac OS X](https://reader036.fdocument.pub/reader036/viewer/2022062419/5588fa25d8b42af8678b46df/html5/thumbnails/1.jpg)
IPhone 과 Mac OS 에 대해서 .
하늘소 19 기 박지수
![Page 2: about IPhone and Mac OS X](https://reader036.fdocument.pub/reader036/viewer/2022062419/5588fa25d8b42af8678b46df/html5/thumbnails/2.jpg)
Content
copyright@ hanulso 19gi Park Ji_Su
1. We where to start?2. IPhone Operation
System3. Foundation Framwork4. Application Kit and UI Kit5. Window
6. Table View7. Events Handling8. Draw Screan9. Conclusion
![Page 3: about IPhone and Mac OS X](https://reader036.fdocument.pub/reader036/viewer/2022062419/5588fa25d8b42af8678b46df/html5/thumbnails/3.jpg)
But Apple fired Steve Jobs
DEV, LIB of NeXT
-> Openstep
CocoaAppleFormed
NeXTSoftware
with NeXTSTEP
Simple more than C++
Objective-C
We where to start?Cocoaprogramming
copyright@ hanulso 19gi Park Ji_Su
Cocoaprogramming Objective-CObjective-C
워즈니악 잡스워즈니악 잡스
스티브 잡스 스티브 잡스
CC
Objective-C
AppleBut Apple fired
Steve Jobs
DEV, LIB of NeXT
-> Openstep
CocoaFormed
NeXTSoftware
with NeXTSTEP
Simple more than C++
Cocoaprogramming Objective-CCocoaprogramming Objective-C
워즈니악 잡스
스티브 잡스 스티브 잡스
워즈니악 잡스
AppleAppleBut Apple fired
Steve Jobs But Apple fired
Steve Jobs
스티브 잡스 Formed
NeXTSoftware
with NeXTSTEP
Formed NeXT
Software with NeXTSTEP
스티브 잡스
DEV, LIB of NeXT
-> Openstep
DEV, LIB of NeXT
-> Openstep
Cocoa
CC
Simple more than C++
Simple more than C++
Objective-C
![Page 4: about IPhone and Mac OS X](https://reader036.fdocument.pub/reader036/viewer/2022062419/5588fa25d8b42af8678b46df/html5/thumbnails/4.jpg)
IPhone Operating System
Quartz
Darwin
OpenGL
Core Animatio
n
Carbon
Cocoa
Java
Applications Cocoa Touch
Media
Cocoa services
Core OS
Mac OS X
IPhone OS
Source code of Mac OS X
Core Graphics FrameWork Basic system API’s
Apply
OpenAL, OpenGL, Audio,Ani,3D Framework with c, objective-c
Foundation ,UI Kit Framework
copyright@ hanulso 19gi Park Ji_Su
![Page 5: about IPhone and Mac OS X](https://reader036.fdocument.pub/reader036/viewer/2022062419/5588fa25d8b42af8678b46df/html5/thumbnails/5.jpg)
Foundation Framework
• 아이폰 OS 에서는 코코아 바인딩을 사용할 수 없다 .
•가비지 컬렉터를 사용할 수 없다
•애플스크립트는 사용할 수 없다 .
•취소하기 관리자를 사용할 수 없다 .
copyright@ hanulso 19gi Park Ji_Su
![Page 6: about IPhone and Mac OS X](https://reader036.fdocument.pub/reader036/viewer/2022062419/5588fa25d8b42af8678b46df/html5/thumbnails/6.jpg)
앱킷 과 UI 킷사용자가 애플리케이션 터치
main()UIApplicationMai
n()
loop
애플리케이션을 종료할 것인가 ?
어플리케이션 종료
applicationDidFinishLaunching;
이벤트 제어
applicationWillTerminate;
copyright@ hanulso 19gi Park Ji_Su
![Page 7: about IPhone and Mac OS X](https://reader036.fdocument.pub/reader036/viewer/2022062419/5588fa25d8b42af8678b46df/html5/thumbnails/7.jpg)
NSObject
NSWindow NSView
UIWindow
UIView
UIResponder
NSObject
NSResponder
UIView 에서 모든 이벤트
처리
copyright@ hanulso 19gi Park Ji_Su
![Page 8: about IPhone and Mac OS X](https://reader036.fdocument.pub/reader036/viewer/2022062419/5588fa25d8b42af8678b46df/html5/thumbnails/8.jpg)
Window, Table View
각 상황에 맞는 View
그 상황을 만족해줄때 에니메이션 효과
어떻게 ? 바로 코어 에니메이션을 이용하여
copyright@ hanulso 19gi Park Ji_Su
![Page 9: about IPhone and Mac OS X](https://reader036.fdocument.pub/reader036/viewer/2022062419/5588fa25d8b42af8678b46df/html5/thumbnails/9.jpg)
Events Handling
•기존에 있는 win, Mac OS X : 다양한 이벤트
•아이폰에서는 터치 시작 , 터치 이동 , 터치 끝
copyright@ hanulso 19gi Park Ji_Su
![Page 10: about IPhone and Mac OS X](https://reader036.fdocument.pub/reader036/viewer/2022062419/5588fa25d8b42af8678b46df/html5/thumbnails/10.jpg)
Draw Screen
•쿼트 , 코어 그래픽스 , 코어 이미지 , 코어 에니메이션 ,OpenGL 등 이용
•UI 만들 당시 UIView,Uiwindow 만으로 해도 됨 . 단 제한적
•또는 OpenGL 뷰로 직접 그려도 상관 없슴 .
copyright@ hanulso 19gi Park Ji_Su
![Page 11: about IPhone and Mac OS X](https://reader036.fdocument.pub/reader036/viewer/2022062419/5588fa25d8b42af8678b46df/html5/thumbnails/11.jpg)
마치며
•Q & A
copyright@ hanulso 19gi Park Ji_Su