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

Binding to NSTextView, works on 10.5 but not 10.4


  • Subject: Binding to NSTextView, works on 10.5 but not 10.4
  • From: Stephen Zyszkiewicz <email@hidden>
  • Date: Sat, 16 Feb 2008 19:41:18 -0800

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



Thank you!! Steve _______________________________________________

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: Stephen Zyszkiewicz <email@hidden>
    • Re: Binding to NSTextView, works on 10.5 but not 10.4
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: How to capture a selected rectangle of desktop
  • Next by Date: Re: How to capture a selected rectangle of desktop
  • Previous by thread: Re: Xcode 2.5, ppc, link errors
  • Next by thread: Re: Binding to NSTextView, works on 10.5 but not 10.4
  • Index(es):
    • Date
    • Thread