Hi, I've a class that extends NSWindowController and that class lists an unknown number of entries. Double clicking on an entry will open a window where it will be possible to interact with the real world object that entry represents.
I plan to make the editing window extends NSDocument but I am still at a loss on something: how do I make sure manage the creation of an unknown number of windows on my app? I'm thinking about creating an instance of NSDictionary and saving each newly created window on it, removing from the dictionary when the window is closed. What would be the best way to manage an unknown number of windows? -- Best regards, Rui Pacheco _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com