Skip to main content
Desert MoonDesert Moon
  • Archive
  • Tags
  • About
  • RSS
  • Source

Singletons and dispatch_once

Mitch Chapman

2013-08-23 11:02

Source

Cocoa Samurai: Singletons: You're doing them wrong:
"If you must use singletons, use dispatch_once()"
In short: dispatch_once is thread-safe.
  • iOS
  • OS X
  • Software Development
  • Previous post
  • Next post
Contents © 2026 Mitch Chapman - Powered by Nikola