Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- + (id)sharedInstance
- {
- static dispatch_once_t once;
- static id instance;
- dispatch_once(&once, ^{
- instance = self.new;
- });
- return instance;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement