MFC and Cocoa have very different philosophy about programming model. The MFC is a wrapper of Win32 API and data types, while the Cocoa is written from the scratch to present new programmng model.
To set a text of an edit box, you should use SetWindowText. With NSTextField of Cocoa, you will use setStringValue. To understand why Set”WindowText”, you should understand that the CEdit is a subclass of a CWnd. So, the content of the CEdit is a kind of window text, although it sounds like a title of a window.
So, the Cocoa’s nomenclature is a lot easier to understand. Also, it is more readable, because of its capitalization. by mixing small and large letters, Cocoa helps you to see what is verb part and what is noun part. So, it is easier to recognize what the method means.
I think this is very good example how Apple and MS are different each other.
I have been seeing this kind of tradition from MS and Apple. It feels like that this is the very one which shows the two different cultures.