Skip navigation.
 
mlRe: NSDocumentController singleton problem, part 2
FROM : Brad Oliver
DATE : Thu Dec 19 19:18:19 2002

On 12/19/02 10:57 AM, "matt neuburg" <<email_removed>> wrote:

>>> But you don't need the document architecture to get
>>> those, as TextEdit proves.

>>
>> By that logic, I don't *need* anything in AppKit to do
>> what I'm doing.

>
> No, that doesn't follow at all from what I said. So please don't pervert my
> reasoning by claiming it does.


NSDocument does everything I want with a minimum of code, with one
exception. However, that exception means that I'd have to write a whole lot
of code. Given that one of Cocoa's main strengths is doing a lot with a
little bit of code, it's not a leap to suggest at all that Cocoa is not
well-suited for what I'm trying to do. Sure, it could do it, but in doing
so, it negates most of the advantages that I'm getting out of it.

I thank you - sincerely - for your advice and help (your other advice about
poseAsClass was right on), but that doesn't change the fact that I find this
solution very unsatisfying. This shouldn't be construed as a reflection on
your advice - it is a reflection of my surprise at what should be something
with a much simpler workaround, given my naive interpretation of what Cocoa
was before I started on this project.

--
Brad Oliver
<email_removed>
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlNSDocumentController singleton problem, part 2 Brad Oliver Dec 16, 07:42
mlRe: NSDocumentController singleton problem, part 2 matt neuburg Dec 17, 19:01
mlRe: NSDocumentController singleton problem, part 2 Brad Oliver Dec 17, 22:58
mlRe: NSDocumentController singleton problem, part 2 matt neuburg Dec 18, 18:49
mlRe: NSDocumentController singleton problem, part 2 Brad Oliver Dec 18, 20:36
mlRe: NSDocumentController singleton problem, part 2 matt neuburg Dec 19, 17:57
mlRe: NSDocumentController singleton problem, part 2 Brad Oliver Dec 19, 19:18
mlRe: NSDocumentController singleton problem, part 2 Mike Ferris Dec 20, 18:59
mlRe: NSDocumentController singleton problem, part 2 Brad Oliver Jan 3, 22:29