URL:
  <http://savannah.gnu.org/bugs/?25116>

                 Summary: NSDocument should handle loading of "known"
types....
                 Project: GNUstep
            Submitted by: gcasa
            Submitted on: Wed 17 Dec 2008 08:11:37 PM EST
                Category: Gui/AppKit
                Severity: 3 - Normal
              Item Group: Change Request
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

It seems as though NSDocument on Mac OS X understands RTF, RTFD, and a few
other formats by default and lets you load those if your NSDocument subclass
doesn't override loadFileWrapperRepresentation:ofType:.

You can see this in Bean.app. (Please see the gap project under
ported-apps/Utils for the code)

Currently it is almost completely working in Gap, but it's  unable to open
and save files.... editing a new one, however, is not an issue.

On Mac OS X, this works just fine... it can load and save RTF, RTFD, etc
etc... no problems even though it's MyDocument.m doesn't  override
loadFileWrapper..., so, apparently, the implementation of that method on Cocoa
will attempt to read "known" formats.

Please let me know if you think this is correct. 

Thanks, GC




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?25116>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to