Skip to content

Instantly share code, notes, and snippets.

@brotchie
Created January 4, 2013 23:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brotchie/4458379 to your computer and use it in GitHub Desktop.
Save brotchie/4458379 to your computer and use it in GitHub Desktop.
Work around for dispatch_release deprecation in iOS 6.0
// Work around for dispatch_release deprecation in
// iOS 6.0.
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 60000
#undef dispatch_release
#define dispatch_release(X) (X)
#undef dispatch_retain
#define dispatch_retain(X) (X)
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment