On Sep 22, 2012, at 5:46 PM, Boris Dobroslav <[email protected]> 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 ([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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to