-
-
Save mr5z/7f6ca7f5ef6947bad1b5ae62bf71b009 to your computer and use it in GitHub Desktop.
Objective-C sucks!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@property (atomic, setter=setRunning:, getter=mIsRunning) BOOL mIsRunning; | |
@property (strong, nonatomic) FifoQueue *queue; | |
@end | |
@implementation BcxCommandQueueService | |
@synthesize mIsRunning; | |
#pragma mark - GETTERS | |
- (BOOL)mIsRunning { | |
@synchronized(self) { | |
return _mIsRunning; | |
} | |
} | |
- (void)setRunning:(BOOL)isRunning { | |
self.mIsRunning = isRunning; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment