It occurs to me, based solely on the code you posted, that there's
really no need for a TaskController at all. Why isn't your document
subclass itself the task controller? It's as much work to make the
document subclass keep track of the TaskController as it is to make
the document subclass keep track of the NSTask directly (if not more).
The only reason for a separate TaskController would be if it had to
run in a separate thread, which you were talking about earlier. But
everything that you show TaskController doing looks like it would work
fine in the main thread.
_______________________________________________
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