Skip to content

Latest commit

 

History

History
3 lines (3 loc) · 359 Bytes

README.md

File metadata and controls

3 lines (3 loc) · 359 Bytes

SSSingletonDataExchange

Super simple singleton for passing data between UIViewControllers There are a lot of ways to pass data between view controllers. Most are funky at best. Here's an easy way to pass data using a singleton "data manager". GCD is being used to ensure the call is thread-safe and only called once during the app lifecylce. Simple stuff!