diff --git a/Frameworks/DocumentWindow/src/FileTypeDialog.mm b/Frameworks/DocumentWindow/src/FileTypeDialog.mm index 16d5b4cb..e2b11473 100644 --- a/Frameworks/DocumentWindow/src/FileTypeDialog.mm +++ b/Frameworks/DocumentWindow/src/FileTypeDialog.mm @@ -208,7 +208,7 @@ static bool is_installed (oak::uuid_t const& uuid) { [installingBundleActivityTextField bind:NSValueBinding toObject:[BundlesManager sharedInstance] withKeyPath:@"activityText" options:nil]; [installingBundleProgressIndicator bind:NSValueBinding toObject:[BundlesManager sharedInstance] withKeyPath:@"progress" options:nil]; - [installingBundleProgressIndicator bind:NSIsIndeterminateBinding toObject:[BundlesManager sharedInstance] withKeyPath:@"determinateProgress" options:@{ NSValueTransformerNameBindingOption: @"NSNegateBoolean" }]; + [installingBundleProgressIndicator bind:NSIsIndeterminateBinding toObject:[BundlesManager sharedInstance] withKeyPath:@"determinateProgress" options:@{ NSValueTransformerNameBindingOption: NSNegateBooleanTransformerName }]; [installingBundleProgressIndicator startAnimation:self]; OakShowSheetForWindow(installingBundleWindow, aWindow, ^(NSInteger returnCode){ }); diff --git a/Frameworks/Find/src/Find.mm b/Frameworks/Find/src/Find.mm index 85412183..95b30711 100644 --- a/Frameworks/Find/src/Find.mm +++ b/Frameworks/Find/src/Find.mm @@ -1052,7 +1052,7 @@ NSString* const FFFindWasTriggeredByEnter = @"FFFindWasTriggeredByEnter"; res = button = OakCreateCheckBox(nil); button.identifier = identifier; [[button cell] setControlSize:NSSmallControlSize]; - [button bind:@"enabled" toObject:self withKeyPath:@"performedReplaceAll" options:@{ NSValueTransformerNameBindingOption: @"NSNegateBoolean" }]; + [button bind:@"enabled" toObject:self withKeyPath:@"performedReplaceAll" options:@{ NSValueTransformerNameBindingOption: NSNegateBooleanTransformerName }]; button.action = @selector(toggleExcludedCheckbox:); button.target = self; } @@ -1061,7 +1061,7 @@ NSString* const FFFindWasTriggeredByEnter = @"FFFindWasTriggeredByEnter"; [button unbind:NSValueBinding]; } - [button bind:NSValueBinding toObject:item withKeyPath:@"excluded" options:@{ NSValueTransformerNameBindingOption: @"NSNegateBoolean" }]; + [button bind:NSValueBinding toObject:item withKeyPath:@"excluded" options:@{ NSValueTransformerNameBindingOption: NSNegateBooleanTransformerName }]; button.state = item.excluded ? NSOffState : NSOnState; } else if([identifier isEqualToString:@"match"]) diff --git a/Frameworks/Find/src/FindWindowController.mm b/Frameworks/Find/src/FindWindowController.mm index a19af97e..90d54f6f 100644 --- a/Frameworks/Find/src/FindWindowController.mm +++ b/Frameworks/Find/src/FindWindowController.mm @@ -301,7 +301,7 @@ static NSButton* OakCreateStopSearchButton () [self.regularExpressionCheckBox bind:NSValueBinding toObject:_objectController withKeyPath:@"content.regularExpression" options:nil]; [self.wrapAroundCheckBox bind:NSValueBinding toObject:_objectController withKeyPath:@"content.wrapAround" options:nil]; [self.ignoreWhitespaceCheckBox bind:NSEnabledBinding toObject:_objectController withKeyPath:@"content.canIgnoreWhitespace" options:nil]; - [self.replaceAndFindButton bind:NSEnabledBinding toObject:_objectController withKeyPath:@"content.folderSearch" options:@{ NSValueTransformerNameBindingOption: @"NSNegateBoolean" }]; + [self.replaceAndFindButton bind:NSEnabledBinding toObject:_objectController withKeyPath:@"content.folderSearch" options:@{ NSValueTransformerNameBindingOption: NSNegateBooleanTransformerName }]; NSView* contentView = self.window.contentView; for(NSView* view in [self.allViews allValues])