Re: KVO, design and documentaion
Re: KVO, design and documentaion
- Subject: Re: KVO, design and documentaion
- From: Scott Stevenson <email@hidden>
- Date: Sat, 27 Jan 2007 17:04:06 -0800
On Jan 27, 2007, at 1:53 PM, Jim Correia wrote:
Using nil or NULL for options is pretty typical throughout Cocoa.
I don't know for sure if it's documented, but it's certainly
common in code.
It may be common, and the example in the documentation even uses
NULL, but it is certainly not recommended (by myself or others) for
KVO observers.
Actually I was talking about "options" not "context". :) A numeric 0
might be better in that case, though.
- Scott
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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