Can any one give me example when do i need assign property only...??
+1
A:
- Primitives: int, float, structs, etc.
- Pointers to "non-objects": c arrays, functions.
- Helper properties that you intend to retain in other controller objects. Delegates and handlers are common throughout.
Otherwise, refer to the memory management docs here. Pay special attention to the section on retain cycles.
http://developer.apple.com/iphone/library/iPad/index.html#documentation/Cocoa/Conceptual/MemoryMgmt/Articles/mmObjectOwnership.html
falconcreek
2010-09-02 12:16:40