• 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
Mirrored data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mirrored data


  • Subject: Mirrored data
  • From: Thomas Davie <email@hidden>
  • Date: Fri, 6 May 2005 14:17:19 +0100

Hi,
I've been playing around with a core data application that needs to output web pages built from a database. To do this I've been dumping core data xml files and then using an xslt transform to make the web pages I need. However, one of the fields that I want to display is an Attributed string (stored as NSData in the model), so of course this comes out as a string of hex.


So what I would like to do is set up a field in the data model that `mirrors' the attributed string, but passes it through a method that either (a) strips out all of the formatting data, or (b) converts as much formatting as it can into html.

Is there a way to get this functionality?

Bob

_______________________________________________
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


  • Follow-Ups:
    • Re: Mirrored data
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Re: NSTextView with RTF as string?
  • Next by Date: Re: programmaticaly modify .nib files
  • Previous by thread: Re: NSTextView with RTF as string?
  • Next by thread: Re: Mirrored data
  • Index(es):
    • Date
    • Thread