Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @interface Sync()
- @property (nonatomic) dispatch_queue_t syncQueue;
- @end
- @implementation Sync
- @synthesize syncQueue;
- - (id) init {
- self = [super init];
- if(self){
- self.syncQueue = dispatch_queue_create("com.example.sync", DISPATCH_QUEUE_SERIAL);
- }
- return self;
- }
- //...
- @end
Add Comment
Please, Sign In to add comment