Jul 27

Objective C에는 Java의 메모리 모델과 유사하게 메모리 풀과 참조 모델을 사용하고 있다. (ㅡㅡ; 용어는 좀 갖다 붙인 것이고).

아무튼 MARKJNET에는 이 Objective C의 메모리 모델에 관한 비디오 튜토리얼을 제공해서 포스팅 해봤다.

alloc, retain, release, autorelease 등에 대해서 기본적인 concept을 예제와 sequential diagram으로 설명해주고 있다.

다들 retain 때문에 한 번쯤은 고생해봤을 것인데 그냥 점심 시간에 한 번 볼만하다. 보면서 졸 수도 있고 ㅋㅋ

Memory Management Basics Tutorial Video

Part 1: retain counts

Part 2: auto-release pool and the event loop

Part 3: auto-release pool and the event loop with retain

Part 4: auto-release pool wrap up

Part 5: properties, dealloc, bugs, auto-release rule of thumb

Related posts:

  1. [iPhone] 아이폰 메모리 관리 관련 자료들 (from Mobile Orchard) iPhone의 메모리가 Java와 유사하게 Reference 모델이긴 하나 retain count 때문에...

Related posts brought to you by Yet Another Related Posts Plugin.

View Comments to “[iPhone] 메모리 관리 Video 튜토리얼 – Memory Management Basics Tutorial Video”

  1. [...] 2.X 대의 방식대로 iPhone의 IOKit library를 가져와서 [6] 간단히 앱을 만들어 테스트해보면 1% 단위로 정확하게 모니터링 할 수 있던데 왜 이것을 문서화/공식화 하지 않는지 모르겠습니다. [...]

Leave a Reply

blog comments powered by Disqus
preload preload preload