9. Data in Your iPhone App (February 2, 2010) 1:15:47 10. 2. 6. Chris Marcellino Stanford Software engineering, application development, programming language, computer science, iPhone operating system, OS 3.2, iPad, core data, local data, property lists, disk storage, XML, binary, array, dictionary, file system, mutability, security, privacy,
중 59'에 NSUserDefaults 얘기를 잠깐 언급한다.
NSUserDefaults가 결국 property list를 쓰는 거네.
Resource > settings bundle 을 만들 수 있다. 그럼 설정에서도 볼 수 있다.



추가로 internationalization
비슷하게 resource를 쓰는 거니까.

iPhone Development Foundation Videos
Session 374 - Internationalizing Your Software 1:02:42 08. 6. 13. Apple Developer Developer on iTunes
17'까지는 unicode에 대해서 자세히 가르쳐준다. 
13' 에는 "김"을 예로 드는데, “김정일”의 김이라고 알려준다. 역시 김정일이 세계에서 제일 유명한 조선인.
17'부터는 NSString 설명 간단히.
wchar_t는 mac에서는 다른 데서와 달리 16 bit 이 아니다.
.strings files를 쓸 때는 UTF-16 을 써야 한다.
26' 에는 bundles 간단히 설명 lproj =< language project
30' locale
이건 오래된 거니까 보지 말고,

WWDC 2010 Session Videos - HD


iPhone Application Development (Winter 2010) http://deimos3.apple.com/WebObjects/Core.woa/Feed/itunes.stanford.edu-dz.4331559337.04331559339
18. Unit Testing; Fun with Objective-C; Localization (March 4, 2010) 1:16:41 10. 3. 11. Josh Shaffer Stanford Software engineering, application development, programming language, computer science, iPhone operating system, OS 3.2, iPad, SDK, test, QA, quality assurance, syntax, semantics, frameworks, bugs, OCUnit, SenTestCase, subset of behavior, runtime, objc.h,



 

by 언제나19 2011. 11. 25. 17:06

Core data가 엄청 좋은 거였네.

sqlite를 쓰다가, export, import fetch하는 기능이 필요해서 controller를 만들려고 했는데,
이미 core data에서 더 좋은 기능들을 알맞은 구조로 제공하고 있었다.
공부를 해야지.

iPhone Development Advanced Videos

Working with Core Data 51:07 10. 3. 3. Apple Developer Developer on iTunes

wwdc 2011에 video 가 2개 더 있다. 뭔가 발전된 게 있나보다.

xcode가 master, detail sample code 초기 버전을 만들어줬는데, 여기에 이미 적용돼 있었다.


막상 쓰려는데, 실제 coding에 적용하려니, xcode version이  다른 것 같다.
Session 303 - What's New in Core Data on iOS 47:44 11. 6. 16. Apple Developer Developer on iTunes
Session 315 - What's New in Core Data on Mac OS X 44:34 11. 6. 16. Apple Developer Developer on iTunes

중 ios 것만 대충 흘려 봤다.
처음에는 concurrency 관련 내용이 많이 나왔다. 나한테는 별로 당장 필요 없는 것.
42'부터는 developer's tool 변경 사항 얘기도 한다.
 

data protection 기능은 쓸지도 모르겠다.

user가 암호를 걸었을 때만 쓸 수 있는 것 같다.


ordered relationship. order를 부여할 수도 있다.

37'

NSIncrementalStore
persistent store를 sqlite 외 새로운 것을 추가할 수 있나보다.
이게 나한테 당장 필요한 내용인데, 자세히 가르쳐주지는 않는다. 

이런 모든 게 icloud랑 관련이 있나보더라.
꼭 필요한 것들을 중요하게 여기고, 멋있게 만들어 두고,
유기적으로 얽혀 있는 모습이 보기 좋다.
 
--- 여기까지는  (2011/09/21 16:11)

아래는 2011-10-07

Core Data Tutorial for iOS
2010-11-15
 
를 읽었다. 간단한 기본 사용법에 대한 예제 설명이 있다. UITableView랑 함께 써볼 수 있는 예제.

Core data에 대해 더 자세한 것을 알기 위해서는

Core Data Programming Guide
2010-11-15
등을 읽어야할지도 모르겠다.

--- 여기까지는 (2011/10/07 15:13)

video를 더 찾았다.
Mac Development Essential Videos                   
Session 105 - Optimizing Your Core Data Application    1:03:27    07. 7. 25.    Apple Developer    Developer on iTunes   
Session 105 - Optimizing Your Core Data Application    책    07. 7. 25.    Apple Developer    Developer on iTunes   

03'에 따르면, NSAtomicStore 를 통해서, sqlite가 아닌, 다른 custom persistance store를 쓸 수 있다.
sample:

CustomAtomicStoreSubclass

- 이거 참고해서 개발해야겠다.

이건 2007년 video니까 좀 오래된 것이긴 하다. 내용도 오래된 내용.
36' multithreading 얘기
Use separate contexts in each thread
coordinator를 여러 개 둘 수도 있는데, coordinator마다 cache를 갖는다.

/Developer/Examples/CoreData/BackgroundFetching sample을 실행해볼 수 있다고 한다.





'공부 > Computers' 카테고리의 다른 글

video about blocks in wwdc  (0) 2011.11.12
멋진 Cocoa autolayout videos  (0) 2011.11.10
Pittarese javascript 배우기  (0) 2011.11.03
node js 관련 자료  (0) 2011.10.29
iphone foundation video는 기초부터  (0) 2011.10.25
Xcode Instruments tutorials  (0) 2011.10.13
mac unit test ocunit 외  (0) 2011.09.28
wwdc 2011 중 interface builder tutorial 인상적  (0) 2011.09.16
Effective cpp 시작  (0) 2011.09.09
ios push notification  (0) 2011.09.02
by 언제나19 2011. 10. 20. 20:45

WWDC 2011 Session Videos - HD                   
Session 310 - What's New In Instruments    47:38    11. 6. 16.    Apple Developer    Developer on iTunes   
Session 312 - iOS Performance and Power Optimization with Instruments    55:37    11. 6. 16.    Apple Developer    Developer on iTunes   


Session 310 - What's New In Instruments    47:38    11. 6. 16.    Apple Developer    Developer on iTunes   
부터.

deferred mode 는 지금 즉시 말고 나중에 적용되게 하는 건가보다.
thread tenure 중 tenure는 재임기간

copy on write page fault, zero fill page fault 등 multi processor에서 thread 간 자원 공유하는 개념에 대해서도 설명해준다.
이런 설명이 필요할만큼 어려운 내용.

29' 부터는 system trace demo 에서 정말 속도 향상시키는 예를 보여주면 좋으련만, 그 정도 demo는 없다.

38' 부터가 내가 보고 싶어했던 automatic reference counting 얘기
기대하고, 이것만을 기다렸는데, cycle 검사를 통해 leak 찾는 얘기밖에 안해준다.

Session 312 - iOS Performance and Power Optimization with Instruments    55:37    11. 6. 16.    Apple Developer    Developer on iTunes   
Session 318 - iOS Performance in Depth    58:37    11. 6. 16.    Apple Developer    Developer on iTunes   
Session 322 - Objective-C Advancements in Depth    58:31    11. 6. 16.    Apple Developer    Developer on iTunes   
가 관련 프로그램이네. 이런 것들까지 봐야겠네.

그 중 Session 312 - iOS Performance and Power Optimization with Instruments    55:37    11. 6. 16.    Apple Developer    Developer on iTunes   
는 앞부분 볼 때, arc에 대해 내용이 없는 것 같아서,
Session 322 - Objective-C Advancements in Depth    58:31    11. 6. 16.    Apple Developer    Developer on iTunes   
부터 본다.
08' 부터 advanced arc
cocoa convention을 지켜야 한다.
- copyxxx() ~> hump (혹) 없이
+ newXxx()
아니면 NS_RETURNS_NOT_RETAINED 같은 걸 붙이던지

__strong 은 retain 하고, __weak 은 retain 안 한다.
헉, __weak 은 ios5, macosx 10.7 에서밖에 안되네.
NSWindow, NSViewController 등을 weak reference 하면, 확 죽을 수도 있다니,, 호환성이 뭐 이래..

unsafe_unretained 는 assign하고 같은 거.

block에서 self에 cycle 안생기게 weak, strong 섞어서 self->member 쓰는 건 괜히 복잡하면서도 필수겠다.

non-arc에서 default는 __unsafe_unretained

실제 release되는 시점을 알려면 30'쯤 가르쳐주는 arc internals 부분을 잘 알아야겠는데,
아직 정확히 모르겠다.
objc_retain, objc_release, objc_autorelease
objc_loadWeak, objc_storeWeak
objc_autoreleasePoolPush/Pop


36' Death of an Object

CF object를 쓸 때는 __bridged 를 쓰라는데, 이게 어떻게 돌아가는 건가.. 하응.
또는 CFBridgingRetain, CFBridgingRelease 로 묶으래.


iPhone Development Foundation Videos                   
Session 916 - Getting Started with Instruments    53:23    08. 6. 13.    Apple Developer    Developer on iTunes   

timeline에서 option + drag하면, 선택한 부분에 대한 통계만 filtering해서 보여준다.

ObjectAlloc, Leaks 사용법도 중간에 가르쳐주긴 한다.
autorelease stack을 하나 더 두어서 alloc spike를 줄이는 것을 demo.

자세히화살표를 클릭하면 자세한 내용을 보여주고, extended details 에서 call tree도 볼 수 있다.
previous run 하고 비교하는 기능도 있네.

NSString leaks 고치는 것도 demo해준다.
release를 안한 경우에 대해서 autorelease 로 고친다.
흠.. 근데, 동영상에서는 고치는 것을 실패했다. ^_^;;

-

iPhone Development Foundation Videos                   
Session 901 - Introduction to the iPhone Development Tools    1:04:41    08. 6. 13.    Apple Developer    Developer on iTunes   
iPhone Development Essential Videos                   
iPhone Development Tools Overview    1:13:14    09. 3. 18.    Apple Developer    Developer on iTunes   

는 안봐야지. 진작에 익숙하지 않을 때 볼 껄 그랬다.

그보다는 2010년 것에 관련 내용이 많네.
그 중 memory analysis 가르쳐주는 걸 봐야겠다.

WWDC 2010 Session Videos - HD                   
Session 304 - What's New in Instruments    45:01    10. 6. 16.    Apple Developer    Developer on iTunes   
Session 306 - Automating User Interface Testing with Instruments    40:15    10. 6. 16.    Apple Developer    Developer on iTunes   
Session 309 - Advanced Performance Analysis with Instruments    58:08    10. 6. 16.    Apple Developer    Developer on iTunes   
Session 311 - Advanced Memory Analysis with Instruments    52:02    10. 6. 16.    Apple Developer    Developer on iTunes   

Session 311 - Advanced Memory Analysis with Instruments    52:02    10. 6. 16.    Apple Developer    Developer on iTunes   
에서 정말 자세하게 잘 가르쳐준다. 이 시기가 막 가르쳐주던 시기였나보다.
앞부분만 보고, 뒤는 잘 안봤다. 중간쯤부터 다시 봐야겠다.








'공부 > Computers' 카테고리의 다른 글

멋진 Cocoa autolayout videos  (0) 2011.11.10
Pittarese javascript 배우기  (0) 2011.11.03
node js 관련 자료  (0) 2011.10.29
iphone foundation video는 기초부터  (0) 2011.10.25
Core data video  (0) 2011.10.20
mac unit test ocunit 외  (0) 2011.09.28
wwdc 2011 중 interface builder tutorial 인상적  (0) 2011.09.16
Effective cpp 시작  (0) 2011.09.09
ios push notification  (0) 2011.09.02
wwdc web 중 앞부분  (1) 2011.08.31
by 언제나19 2011. 10. 13. 16:43


WWDC 2011 Session Videos - HD
에서 interface builder로 filtering하면 tutorial 이 3개 나온다.

그 중 story board는 진정 인상적이다.
그리고, nib으로부터 자연스럽게 발전했다는 것을 알 수 있다.
Session 309 - Introducing Interface Builder Storyboarding 50:04 11. 6. 16. Apple Developer Developer on iTunes

하지만, 혼자서 사용법을 익히는 것은 쉽지 않다.
도움말이 있어야 하겠는데, 아직 ios5가 release 되지 않아서 그런지, 도움말이 부족하다.
그래서 더욱 tutorial은 필수로 보고 시작해야겠다.

Session 302 - Using Interface builder in Xcode 4 53:44 11. 6. 16. Apple Developer Developer on iTunes
도 봤다.
앞부분에서는 nib 사용법을 가르쳐주고, 뒷부분에서는 autolayout 을 비롯한 layout 배치를 demo한다. 

그 외에도 3개 더 봐야겠네.
Autolayout 내용이랑 TableView 내용이 더 있었네~
Cocoa Autolayout

Session 120 - View Based NSTableView 53:44 11. 6. 16. Apple Developer Developer on iTunes
는 반절쯤 봤다. mac 에만 적용되는 거래. 아직 필요 없다.
Session 125 - UITableView Changes, Tips, Tricks 47:29 11. 6. 16. Apple Developer Developer on iTunes
는 너무 대충 봐서 내용은 잘 모르지만, 인상적인 건 없던 것 같다. 새로 추가된 작은 기능들 얘기만 있었던 것 같다.
 

'공부 > Computers' 카테고리의 다른 글

node js 관련 자료  (0) 2011.10.29
iphone foundation video는 기초부터  (0) 2011.10.25
Core data video  (0) 2011.10.20
Xcode Instruments tutorials  (0) 2011.10.13
mac unit test ocunit 외  (0) 2011.09.28
Effective cpp 시작  (0) 2011.09.09
ios push notification  (0) 2011.09.02
wwdc web 중 앞부분  (1) 2011.08.31
developer apple com video  (0) 2011.08.31
Graphics architecture 강의  (0) 2011.08.26
by 언제나19 2011. 9. 16. 17:05


Apple Push Notification Service 7:42 09. 3. 18. Apple Developer Developer on iTunes

Implementing Push Notification 38:56 10. 3. 3. Apple Developer Developer on iTunes

iPhone Development Essential Videos

iPhone Development Advanced Videos
에서 찾았다.

아나운서처럼 냉정하고 진지하고 신속하게 설명해준다.

길지 않은 주제들도 있어 좋다.

server가 필요하고,
certificate를 받아야 한다.
처음에는 token만 보낸다.
id는 device별 하나인가보다.
 

'공부 > Computers' 카테고리의 다른 글

Core data video  (0) 2011.10.20
Xcode Instruments tutorials  (0) 2011.10.13
mac unit test ocunit 외  (0) 2011.09.28
wwdc 2011 중 interface builder tutorial 인상적  (0) 2011.09.16
Effective cpp 시작  (0) 2011.09.09
wwdc web 중 앞부분  (1) 2011.08.31
developer apple com video  (0) 2011.08.31
Graphics architecture 강의  (0) 2011.08.26
Standford machine learning  (0) 2011.08.26
The 3n+1 problem 부터도 실패  (1) 2011.08.15
by 언제나19 2011. 9. 2. 20:08
| 1 2 3 |