Skip to content

Commit

Permalink
Mark strong properties as strong
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ryandesign authored and sorbits committed Feb 6, 2018
1 parent 0c8817e commit bade405
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -21,7 +21,7 @@ @interface SelectGrammarViewController ()
@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)
Expand Down
4 changes: 2 additions & 2 deletions Frameworks/OakCommand/src/OakCommand.h
Expand Up @@ -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;
Expand Down

0 comments on commit bade405

Please sign in to comment.