Advertisement
Guest User

Untitled

a guest
Dec 7th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. + (RecorderData *)sharedAudioRecorder
  2. {
  3. static dispatch_once_t pred;
  4. static RecorderData *sharedInstance = nil;
  5. dispatch_once(&pred, ^
  6. {
  7. sharedInstance = [[RecorderData alloc] init];
  8.  
  9. });
  10. return sharedInstance;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement