Re: Binding to NSTextView, works on 10.5 but not 10.4
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: David Carlisle <email@hidden>
- Date: Mon, 18 Feb 2008 23:45:40 -0700
This sounds like a bug I reported (5733695) where checking and
unchecking bindings to a NSCollectionView changed other bindings to
the same NSCollectionView.
I eventually gave up doing the bindings in IB3 and did the bindings
manually.
I created an example project and movie that replicated the problem
then sent it in with the bug report.
On Feb 17, 2008, at 10:05 PM, Stephen Zyszkiewicz wrote:
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
_______________________________________________
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