• 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
Re: AttributedString from NSData on iPhone.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AttributedString from NSData on iPhone.


  • Subject: Re: AttributedString from NSData on iPhone.
  • From: Sandro Noël <email@hidden>
  • Date: Thu, 5 Aug 2010 13:21:21 -0400

Thank you david,

I think i'll try serializing it and de-serializing it
that should do the trick.

Best regards.
Sandro.




On 2010-08-05, at 1:18 PM, David Duncan wrote:

> On Aug 5, 2010, at 10:13 AM, Sandro Noël wrote:
>
>> David, you do understand properly as that was my question.
>> how do i reassemble the NSAttributedString from a NSData where it was stored.
>
>
> That is the code you have to write basically. NSAttributedString has the methods you need for both getting and setting attributes and characters. You will have to use those methods along with your own storage scheme to save and restore the NSAttributedString.
>
> It primarily comes down to reading the documentation and asking more pointed questions if necessary :).
> --
> David Duncan
>

_______________________________________________

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: AttributedString from NSData on iPhone.
      • From: Douglas Davidson <email@hidden>
References: 
 >AttributedString from NSData on iPhone. (From: Sandro Noël <email@hidden>)
 >Re: AttributedString from NSData on iPhone. (From: Kyle Sluder <email@hidden>)
 >Re: AttributedString from NSData on iPhone. (From: David Duncan <email@hidden>)
 >Re: AttributedString from NSData on iPhone. (From: Sandro Noël <email@hidden>)
 >Re: AttributedString from NSData on iPhone. (From: David Duncan <email@hidden>)

  • Prev by Date: Re: Partially release NSMutableData
  • Next by Date: iOS4: remote / headset events and the remote control display
  • Previous by thread: Re: AttributedString from NSData on iPhone.
  • Next by thread: Re: AttributedString from NSData on iPhone.
  • Index(es):
    • Date
    • Thread