NSTextView bindings

  • Hi guys,

    Point 1:

    I'm having a few problems with the NSTextView "data" binding.

    I'm attempting to bind the data with a NSString, I am sure this is
    possible (I've spotted it done around a few times) but I'm getting an
    exception

    <NSInternalInconsistencyException> Cannot create NSData from object
    Start your day with all the latest news, sport, business and weather
    from the BBC's Breakfast team. of class NSCFString

    Obviously I could setup the table view by passing NSData instead of
    NSString but this isn't really what I want to do as it would involve
    alot of work for something I'm hoping is solvable in a simple way.

    Cheers, Neil
    _______________________________________________
    cocoa-dev mailing list | <cocoa-dev...>
    Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
    Do not post admin requests to the list. They will be ignored.
  • On Aug 25, 2004, at 3:24 PM, Neil Dunn wrote:

    > I'm having a few problems with the NSTextView "data" binding.
    > I'm attempting to bind the data with a NSString, I am sure this is
    > possible (I've spotted it done around a few times) but I'm getting an
    > exception
    >
    <http://homepage.mac.com/mmalc/CocoaExamples/controllers.html>
    See "NSTextView."

    mmalc
    _______________________________________________
    cocoa-dev mailing list | <cocoa-dev...>
    Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
    Do not post admin requests to the list. They will be ignored.