New File Dialog in Doc Based App
New File Dialog in Doc Based App
- Subject: New File Dialog in Doc Based App
- From: "Edward Hebert, Jr." <email@hidden>
- Date: Wed, 18 Oct 2006 10:17:27 -0400
I am currently writing a CAD like app. I am representing the "world"
as an object within the MyDocument class.
Anyway, I can open a file and parse it using loadDataRepresentation:
but I would like to have a dialog box come up when I select File->New
that asks the user to input the dimensions of the new room.
I think the way would be to override newDocument within my subclass
of NSDocumentController and hook that up with a .nib, but not exactly
sure what goes where.
Any examples out there of this?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden