Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class DatabaseAccessor {
- // The instance of DatabaseAccessor
- static let sharedInstance = DatabaseAccessor()
- // Private initializer to avoid instancing by other class.
- private init() {}
- /* ... */
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement