In a document based Tiger (10.4.11) app I have an Inspector.nib which
has an NSObjectController with content = current MyDocument.
It has an NSTextField (not editable) with value bound to
selection.displayName
When the Inspector gets loaded I get:
... KVO autonotifying only supports -set<Key>: methods that return
void. Autonotifying will not be done for invocations of -[MyDocument
_setDisplayName:].
It works ok: the text field does display the current display name.
But the error message in console.log irritates me.
Workaround:
implement in MyDocument:
- (NSString *) dysplayName { return [ self displayName ] }
and bind NSTextField to selection.dysplayName.
Why does displayName complain? What am I doing wrong?
Kind regards,
Gerriet.
_______________________________________________
Cocoa-dev mailing list ([email protected])
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]