• 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: NSAttributedString and bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSAttributedString and bindings


  • Subject: Re: NSAttributedString and bindings
  • From: Allan Odgaard <email@hidden>
  • Date: Sun, 6 Jun 2004 05:56:22 +0200

On 6. Jun 2004, at 5:01, Matt Baker wrote:

Now if I bind "aText" to the column, I get a set of hex characters (like <7b5c7274 66315c6d...)

That would happen if aText was really an NSData instance.

If I bind to strText I get nothing in the view but the log shows:
[...] -[NSConcreteMutableData string]: selector not recognized

That would indicate that '_adText' is of type NSData :)

Am I wrong in using NSAttributedString to store styled text, or am I using the string converter wrong?

It seems that somehow your object stores an NSData object and not an NSAttributedString object.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: NSAttributedString and bindings
      • From: Matt Baker <email@hidden>
References: 
 >NSAttributedString and bindings (From: Matt Baker <email@hidden>)

  • Prev by Date: Re: NSAttributedString and bindings
  • Next by Date: Re: NSAttributedString and bindings
  • Previous by thread: Re: NSAttributedString and bindings
  • Next by thread: Re: NSAttributedString and bindings
  • Index(es):
    • Date
    • Thread