FROM : Quincey Morris
DATE : Sat Jun 21 22:47:59 2008
On Jun 21, 2008, at 13:17, Clayton Leitch wrote:
> Core data document application: I edited the MyDocument.nib file to
> add a few fields to one view and now when I start the application,
> the main window does not appear. Also, the new menu fails to
> produce a window. What caused this
The errors listed in the log caused the windows not to open. The
errors listed in the log were caused by something sending "value" keys
to NSTextView objects, which don't have a "value" property.
> and how do I avoid it.
Don't send "value" keys to NSTextView objects.
The most likely cause is that your bindings are wrong. For example,
you might have bound something to the text views instead of binding
the text views to something.
Look for places in MyDocument.nib where you used "value" as a key/
keypath. If there are any, those places are probably wrong.
> More information: The console tells me I have a key coding problem
> with an NSTextView. I went through all the NSTextViews and made
> sure they were correct. Problem still exists. Text from console
> show below.
>
> [Session started at 2008-06-21 16:15:30 -0400.]
> 2008-06-21 16:15:30.322 SoftCopyContract[1055:10b] [<NSTextView
> 0x1ab8b0> valueForUndefinedKey:]: this class is not key value coding-
> compliant for the key value.
> 2008-06-21 16:15:30.419 SoftCopyContract[1055:10b] [<NSTextView
> 0x282fee0> valueForUndefinedKey:]: this class is not key value
> coding-compliant for the key value.
DATE : Sat Jun 21 22:47:59 2008
On Jun 21, 2008, at 13:17, Clayton Leitch wrote:
> Core data document application: I edited the MyDocument.nib file to
> add a few fields to one view and now when I start the application,
> the main window does not appear. Also, the new menu fails to
> produce a window. What caused this
The errors listed in the log caused the windows not to open. The
errors listed in the log were caused by something sending "value" keys
to NSTextView objects, which don't have a "value" property.
> and how do I avoid it.
Don't send "value" keys to NSTextView objects.
The most likely cause is that your bindings are wrong. For example,
you might have bound something to the text views instead of binding
the text views to something.
Look for places in MyDocument.nib where you used "value" as a key/
keypath. If there are any, those places are probably wrong.
> More information: The console tells me I have a key coding problem
> with an NSTextView. I went through all the NSTextViews and made
> sure they were correct. Problem still exists. Text from console
> show below.
>
> [Session started at 2008-06-21 16:15:30 -0400.]
> 2008-06-21 16:15:30.322 SoftCopyContract[1055:10b] [<NSTextView
> 0x1ab8b0> valueForUndefinedKey:]: this class is not key value coding-
> compliant for the key value.
> 2008-06-21 16:15:30.419 SoftCopyContract[1055:10b] [<NSTextView
> 0x282fee0> valueForUndefinedKey:]: this class is not key value
> coding-compliant for the key value.
| Related mails | Author | Date |
|---|---|---|
| Clayton Leitch | Jun 21, 22:17 | |
| Quincey Morris | Jun 21, 22:47 | |
| Keary Suska | Jun 22, 19:19 |






Cocoa mail archive

