Revision: 29657
http://sourceforge.net/p/bibdesk/svn/29657
Author: hofman
Date: 2025-10-03 17:11:25 +0000 (Fri, 03 Oct 2025)
Log Message:
-----------
oveeride super's designated init
Modified Paths:
--------------
trunk/bibdesk/BDSKFilterController.h
trunk/bibdesk/BDSKFilterController.m
Modified: trunk/bibdesk/BDSKFilterController.h
===================================================================
--- trunk/bibdesk/BDSKFilterController.h 2025-10-03 16:59:28 UTC (rev
29656)
+++ trunk/bibdesk/BDSKFilterController.h 2025-10-03 17:11:25 UTC (rev
29657)
@@ -56,7 +56,6 @@
- (instancetype)initWithFilter:(BDSKFilter *)aFilter NS_DESIGNATED_INITIALIZER;
-- (instancetype)initWithWindow:(nullable NSWindow *)window NS_UNAVAILABLE;
- (nullable instancetype)initWithCoder:(NSCoder *)coder NS_UNAVAILABLE;
@property (nonatomic, nullable, strong) IBOutlet NSView *conditionsView;
Modified: trunk/bibdesk/BDSKFilterController.m
===================================================================
--- trunk/bibdesk/BDSKFilterController.m 2025-10-03 16:59:28 UTC (rev
29656)
+++ trunk/bibdesk/BDSKFilterController.m 2025-10-03 17:11:25 UTC (rev
29657)
@@ -65,11 +65,9 @@
return keyPaths;
}
-- (instancetype)init
+- (instancetype)initWithWindow:(NSWindow *)window
{
- BDSKFilter *aFilter = [[BDSKFilter alloc] init];
- self = [self initWithFilter:aFilter];
- return self;
+ return [self initWithFilter:[[BDSKFilter alloc] init]];
}
- (instancetype)initWithFilter:(BDSKFilter *)filter
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