Memory management for NIB objects on iPhone and Mac

What is good about iPhone is that virtually all knowledge about Cocoa/Objective-C programming on Mac can be used. However, there are some differences, and they often make things confusing.

The most visible and famous one will be UIView / UIWindow vs. NSWindow / NSView.
As a Windows programmer ( hey.. why not? Most Mac programmers should be also Windows programmers. ), I should also consider CWnd, CWindow, CView, and so on. ( Still I don’t understand their design philosophy on the CWnd and CWindow. Why did they name the CWnd as CWnd? It is more about behaviour not visual thing. So, it should be like CWindowAction or CObjectAction. )
Anyway, so things are more confusing. :)

But here is more. How to manage objects connected with Interface Builder on iPhone? Or sometimes if you are addicted to iPhone programming and go back to Mac programming, you use the background knowledge used for iPhone for the Mac. Mostly they are the same, but there are subtle difference.

So, here I would like to post a link to documents which explains about it. ( just for convenience )


2 responses to this post.

  1. The one thing that drives me nuts switching between the two is the lack of bindings on Cocoa Touch


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: