Revision: 29654
http://sourceforge.net/p/bibdesk/svn/29654
Author: hofman
Date: 2025-10-03 09:44:12 +0000 (Fri, 03 Oct 2025)
Log Message:
-----------
don't make init designated initializer of field sheet controller
Modified Paths:
--------------
trunk/bibdesk/BDSKFieldSheetController.h
trunk/bibdesk/BDSKFieldSheetController.m
Modified: trunk/bibdesk/BDSKFieldSheetController.h
===================================================================
--- trunk/bibdesk/BDSKFieldSheetController.h 2025-10-03 09:31:15 UTC (rev
29653)
+++ trunk/bibdesk/BDSKFieldSheetController.h 2025-10-03 09:44:12 UTC (rev
29654)
@@ -63,10 +63,6 @@
+ (instancetype)fieldSheetControllerWithSelectableFields:(NSArray
*)selectableFields label:(NSString *)selectedFieldLabel;
+ (instancetype)fieldSheetControllerWithChoosableFields:(NSArray
*)choosableFields label:(NSString *)chosenFieldLabel;
-- (instancetype)init NS_DESIGNATED_INITIALIZER;
-- (instancetype)initWithWindow:(nullable NSWindow *)window NS_UNAVAILABLE;
-- (nullable instancetype)initWithCoder:(NSCoder *)coder NS_UNAVAILABLE;
-
@property (nonatomic, nullable, strong) IBOutlet NSObjectController
*objectController;
@property (nonatomic, nullable, strong) IBOutlet NSPopUpButton
*selectedFieldPopUpButton;
@property (nonatomic, nullable, strong) IBOutlet NSComboBox
*chosenFieldComboBox;
Modified: trunk/bibdesk/BDSKFieldSheetController.m
===================================================================
--- trunk/bibdesk/BDSKFieldSheetController.m 2025-10-03 09:31:15 UTC (rev
29653)
+++ trunk/bibdesk/BDSKFieldSheetController.m 2025-10-03 09:44:12 UTC (rev
29654)
@@ -71,7 +71,7 @@
return [self fieldSheetControllerWithSelectableFields:nil label:nil
choosableFields:choosableFields label:chosenFieldLabel];
}
-- (instancetype)init {
+- (instancetype)initWithWindow:(NSWindow *)window {
self = [super initWithWindow:nil];
if (self) {
[self setCancelButtonTitle:NSLocalizedString(@"Cancel", @"Button
title")];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit