• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How send XML data to document window?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How send XML data to document window?


  • Subject: How send XML data to document window?
  • From: "McLaughlin, Michael P." <email@hidden>
  • Date: Tue, 25 Jan 2011 11:18:30 -0500
  • Acceptlanguage: en-US
  • Thread-topic: How send XML data to document window?

In my app, I read an XML file, init an NSXMLDocument and also display the
file contents in an NSTextField in a document window.  The user can then
change parts of the XML via several dialogs.  The XML data is eventually
sent to subprocesses for computation.

The NSTextField is set to non-editable because some error-checking must be
done with user entries.  Also, some fields are filenames and changing them
involves the FileManager dialog.

Question:
What is the recommended method for writing the changed XML to the document
window for user feedback?  I don't want to write the changed XML to a file
and read it back in because most changes are only temporary.

TIA.

--
Mike McLaughlin

_______________________________________________

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

  • Follow-Ups:
    • Re: How send XML data to document window?
      • From: Uli Kusterer <email@hidden>
  • Prev by Date: Re: [iPhone] can't get views not to slide off by the height of the status bar
  • Next by Date: Re: [iPhone] can't get views not to slide off by the height of the status bar
  • Previous by thread: Re: @property and Garbage Collection
  • Next by thread: Re: How send XML data to document window?
  • Index(es):
    • Date
    • Thread