Re: NSDocument app: combine multiple file contents to open one window instead of multiple windows
Re: NSDocument app: combine multiple file contents to open one window instead of multiple windows
- Subject: Re: NSDocument app: combine multiple file contents to open one window instead of multiple windows
- From: Gilles Celli <email@hidden>
- Date: Fri, 06 Apr 2012 17:29:53 +0200
Versions ? Well here in my case for now I don't need it for my application since it's kind a viewer / visualizer of the data, I'm not editing or changing anything
to the fileā¦it's a like a PDF viewer but here for data / graphs.
Maybe you got me wrong but it's simply to append the file's contents that the user selected in the "Open Panel" and put these selected file contents
(=NSString *fileContent1 + *fileContent 2 etc.) to one big appended NSString *multiContent, then of course call makeWindowControllers
to open the NSDocument Window.
The advantage of using NSDocument are multiple, and mainly printing to PDF works great etc. so it should be possible (since it's possible on Windows XP ;-)
Gilles
On Apr 6, 2012, at 4:59 PM, Kyle Sluder wrote:
> On Apr 6, 2012, at 7:39 AM, Gilles Celli <email@hidden> wrote:
>
>> It works and if a user opens multiple files there are of course separate files document windows, but I would prefer only one window:
>
> Question: how would this work with Versions?
>
> --Kyle Sluder
_______________________________________________
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