Re: NSViewController KVO compliance
Re: NSViewController KVO compliance
- Subject: Re: NSViewController KVO compliance
- From: Scott Anguish <email@hidden>
- Date: Mon, 05 Dec 2011 14:24:15 -0500
Unfortunately, if the doc doesn’t mention it specifically, don’t assume that it is and always will be, even with evidence. You can check the headers to see (and if there is a mismatch, mention it in a bug)
File a bug asking for clarification. which you have.
This goes for all hopefully-KVO compliant properties.
Sending a bug that says please document all KVO-compliant properties isn’t necessary (or really helpful) because that’s in progress as we come across them. But on a per class basis, if you’re not sure about a property, go and file the bug.
And a single bug for multiple properties in a class is fine, so Kyle didn’t need to knock himself out. :-)
But thanks for filing.
Scott
On Dec 2, 2011, at 2:30 PM, Kyle Sluder wrote:
> The NSViewController documentation and header file do not mention if
> NSViewController is KVO-compliant for its view property. The docs
> mention that it is KVO-compliant for title and representedObject, and
> the headerdoc comments mention KVO-compliance for representedObject
> but not for title.
>
> Can anyone on this list give a definitive answer to the KVO-compliance
> of NSViewController.view? I've already filed rdar://problem/10497897
> and rdar://problem/10498295 about view and title respectively.
_______________________________________________
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