Mark strong properties as strong

Versions of the OS X 10.11 SDK prior to 10.11.4 require this to
be done explicitly. This fixes the build on OS X 10.10 when
using the OS X 10.11 SDK from Xcode 7.2.1 and earlier.
This commit is contained in:
Ryan Schmidt
2018-02-03 21:24:39 -06:00
committed by Allan Odgaard
parent 0c8817e57a
commit bade4054dc
2 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@
@property (nonatomic) OakDocumentView* documentView;
@property (nonatomic) BundleGrammar* grammar;
@property (nonatomic) void(^callback)(SelectGrammarResponse, BundleGrammar*);
@property (nonatomic, strong) void(^callback)(SelectGrammarResponse, BundleGrammar*);
@end
static NSButton* OakSmallButton (NSString* title, SEL action, id target, NSInteger tag)

View File

@@ -13,8 +13,8 @@ NS_ENUM(NSInteger) {
PUBLIC @interface OakCommand : NSObject
@property (nonatomic, weak) NSResponder* firstResponder;
@property (nonatomic, readonly) NSUUID* identifier;
@property (nonatomic) void(^modalEventLoopRunner)(OakCommand*, BOOL* didTerminate);
@property (nonatomic) void(^terminationHandler)(OakCommand*, BOOL normalExit);
@property (nonatomic, strong) void(^modalEventLoopRunner)(OakCommand*, BOOL* didTerminate);
@property (nonatomic, strong) void(^terminationHandler)(OakCommand*, BOOL normalExit);
@property (nonatomic) BOOL updateHTMLViewAtomically;
@property (nonatomic, readonly) OakHTMLOutputView* htmlOutputView;
- (instancetype)initWithBundleCommand:(bundle_command_t const&)aCommand;