• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: static void declaration in apple example code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: static void declaration in apple example code


  • Subject: Re: static void declaration in apple example code
  • From: William Sumner <email@hidden>
  • Date: Fri, 12 Oct 2012 09:32:34 -0600

On Sep 22, 2012, at 5:46 PM, Boris Dobroslav <email@hidden> 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@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

References: 
 >static void declaration in apple example code (From: Boris Dobroslav <email@hidden>)

  • Prev by Date: Re: Self contained command line tool
  • Next by Date: Re: filtering an array of entities using NSPredicate
  • Previous by thread: Re: static void declaration in apple example code
  • Next by thread: custom slider for video trimming application... how i can implement(help needed)
  • Index(es):
    • Date
    • Thread