On Sep 22, 2012, at 5:46 PM, Boris Dobroslav <bor...@gmx.com> wrote:

> I'm perplexed by one line that appears in the file AVSPDocument.h from the 
> apple example code project AVSimplePlayer:
> 
> staticvoid *AVSPPlayerItemStatusContext = &AVSPPlayerItemStatusContext;

This is my preferred method of generating unique KVO contexts. I first heard it 
from Mike Ash and have used it since.

Preston
_______________________________________________

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

This email sent to arch...@mail-archive.com

Reply via email to