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.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to