Best approach to make session based applications
Best approach to make session based applications
- Subject: Best approach to make session based applications
- From: Marcus <email@hidden>
- Date: Sun, 10 May 2009 15:26:32 +0200
Hi.
This is something I've been thinking about for a while without making
much progress. Let's say that you have an application where you would
have one or many "documents" but where the documents itself are not
tied to a specific file. Examples of such applications could be
terminal emulators or FTP clients.
My first idea was to use a standard single window application and have
each "session" controlled by an instance of a controller object. That
however would give a lot of manual tasks, things like setting the
location of new windows stacked relative to the previous window etc.
That's things that I would more of less get for free by using
NSDocument and NSDocumentController, but they seem to be more tied to
the concept of working with files.
I have done some testing with both methods but I can't decide which
one is the most appropriate to use. How would you approach making that
kind of application?
Thanks
Marcus
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden