links for 2009-07-26 Alones Twitter 2009년 7월 27일
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 때문에...
  2. [iPhone][Tutorial #3] URL Loading System – Http로 이미지를 받아서 보이기 (HttpManager 이용) iPhone은 NSURLRequest와 NSURLConnection 를 이용해서 http request와 response를 쉽게 처리할...
  3. [iPhone] App에서 사용자의 터치 이벤트를 잠시 받지 않게 설정하기 아주 간단하지만 포스팅 해본다. View를 transit 할 경우, 이동 중인...
  4. [iPhone] iPhone 3.0의 UIDevice를 이용한 Battery Level 모니터링에 대한 고찰 Free memory와 함께 battery level에 관련된 app은 이슈 [1]가 많았습니다....
  5. [iPhone] Parsing (파싱)을 위한 Objective C framework ParseKit (Obj-C Framework for Parsing, Tokenizing, and Language Processing) 아래 기능을 제공해주는 파싱 (Parsing) framework (Cocoa Framework 상의 Obj-C...

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

blog comments powered by Disqus
preload preload preload