On 19/04/2012, at 4:10 PM, Sanjay Arora wrote: > I am creating the NSWindow programmatically, and does not have a > NSWindowController.
Well, it should. > I want to associate some model with the window. That is exactly what NSWindowController does. > But I don't find anything in Cocoa. It's called NSWindowController. Cocoa's architecture is nothing like Carbon's. You cannot port a Carbon app to Cocoa in a 1:1 fashion. Instead, you have to learn the idioms and architecture of Cocoa. It's a big undertaking, but you'll glad you did. Even a fairly sketchy read of the overview documentation will quickly lead you to realise how naive your question was. --Graham _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com