By Brett Romero

Watch: Singleton Patterns in Swift

By Brett Romero

No, the singleton pattern isn’t an odd dating technique. It’s a powerful construct that lets you utilize classes without creating new instances each time. It’s a fairly basic construct to explain and implement but can reap tons of benefit. In this short video, we’ll see how it is implemented in Swift.

Loading the player…

  • Eve

    Thats a Global “variable”

Get the latest in Mobile, once a week, for free.