• 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: Binding to NSTextView, works on 10.5 but not 10.4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binding to NSTextView, works on 10.5 but not 10.4


  • Subject: Re: Binding to NSTextView, works on 10.5 but not 10.4
  • From: Stephen Zyszkiewicz <email@hidden>
  • Date: Sun, 17 Feb 2008 21:05:08 -0800

Jerry Krinock found that unchecking Bind for the text view and rechecking it seems to fix the issue.

I'm thankful to find a solution, but it seems strange that the problem occurred in both my main project and my example project, BindThisTextView.

I've filed a bug <rdar://5748839>

On Feb 16, 2008, at 7:41 PM, Stephen Zyszkiewicz wrote:

I'm having trouble binding to an NSTextView. I have a table view and I want to make notes in an NSTextView based on the selection in the table view.
http://www.ragehip.com/temp/BindThisTextView.zip


It works on Leopard, but crashes on launch on Tiger:
#0 0x92c0107c in _NSRaiseError
#1 0x92c00db8 in +[NSException raise:format:]
#2 0x93c38610 in _NSAttributedStringFromValue
#3 0x93c51bc8 in -[_NSTextPlugin showValue:inObject:]
#4 0x939ac84c in -[NSValueBinder showValue:inObject:]
#5 0x939ab9f0 in -[NSValueBinder _adjustObject:mode:observedController:observedKeyP ath:context:editableState:adjustState:]
#6 0x939ab5fc in -[NSValueBinder _observeValueForKeyPath:ofObject:context:]
#7 0x93c4e884 in -[NSTextValueBinder _observeValueForKeyPath:ofObject:context:]
#8 0x939a3cdc in -[NSObject(NSKeyValueBindingCreation) bind:toObject:withKeyPath:options:]
#9 0x9379bac8 in -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:]
#10 0x93787d7c in loadNib
#11 0x937877d4 in +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:]
#12 0x937deca4 in +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:]
#13 0x9386eb68 in +[NSBundle(NSNibLoading) loadNibNamed:owner:]
#14 0x9386e908 in NSApplicationMain
#15 0x0000efa8 in main at main.m:13
_______________________________________________

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: Binding to NSTextView, works on 10.5 but not 10.4
      • From: David Carlisle <email@hidden>
References: 
 >Binding to NSTextView, works on 10.5 but not 10.4 (From: Stephen Zyszkiewicz <email@hidden>)

  • Prev by Date: Re: A couple questions relevant to games
  • Next by Date: Re: Where to enforce paragraph-cohesion policy in text system?
  • Previous by thread: Re: Binding to NSTextView, works on 10.5 but not 10.4
  • Next by thread: Re: Binding to NSTextView, works on 10.5 but not 10.4
  • Index(es):
    • Date
    • Thread