Revision: 29688
          http://sourceforge.net/p/bibdesk/svn/29688
Author:   hofman
Date:     2025-10-10 09:29:31 +0000 (Fri, 10 Oct 2025)
Log Message:
-----------
declare deignated initializers in private classes

Modified Paths:
--------------
    trunk/bibdesk/BDSKDownloadManager.m
    trunk/bibdesk/BDSKStatusBar.m
    trunk/bibdesk/BDSKTeXTask.m
    trunk/bibdesk/BibPref_Display.m

Modified: trunk/bibdesk/BDSKDownloadManager.m
===================================================================
--- trunk/bibdesk/BDSKDownloadManager.m 2025-10-09 14:58:47 UTC (rev 29687)
+++ trunk/bibdesk/BDSKDownloadManager.m 2025-10-10 09:29:31 UTC (rev 29688)
@@ -66,7 +66,8 @@
 @interface BDSKDownloadDelegate : NSObject {
     __weak BDSKDownloadManager *downloadManager;
 }
-- (instancetype)initWithDownloadManager:(BDSKDownloadManager 
*)aDownloadManager;
+- (instancetype)initWithDownloadManager:(BDSKDownloadManager 
*)aDownloadManager NS_DESIGNATED_INITIALIZER;
+- (instancetype)init NS_UNAVAILABLE;
 @end
 
 @interface BDSKWebDownloadDelegate : BDSKDownloadDelegate <WebDownloadDelegate>

Modified: trunk/bibdesk/BDSKStatusBar.m
===================================================================
--- trunk/bibdesk/BDSKStatusBar.m       2025-10-09 14:58:47 UTC (rev 29687)
+++ trunk/bibdesk/BDSKStatusBar.m       2025-10-10 09:29:31 UTC (rev 29688)
@@ -55,7 +55,8 @@
     NSString *toolTip;
     __weak id parent;
 }
-- (instancetype)initWithIdentifier:(NSString *)anIdentnfier image:(NSImage 
*)anImage toolTip:(NSString *)aToolTip parent:(id)aParent;
+- (instancetype)initWithIdentifier:(NSString *)anIdentnfier image:(NSImage 
*)anImage toolTip:(NSString *)aToolTip parent:(id)aParent 
NS_DESIGNATED_INITIALIZER;
+- (instancetype)init NS_UNAVAILABLE;
 @property (nonatomic, readonly) NSImage *image;
 @property (nonatomic, readonly) NSString *identifier;
 @property (nonatomic, readonly) NSString *toolTip;

Modified: trunk/bibdesk/BDSKTeXTask.m
===================================================================
--- trunk/bibdesk/BDSKTeXTask.m 2025-10-09 14:58:47 UTC (rev 29687)
+++ trunk/bibdesk/BDSKTeXTask.m 2025-10-10 09:29:31 UTC (rev 29688)
@@ -56,7 +56,7 @@
     NSTask *task;
     NSUInteger generatedType;
 }
-- (instancetype)initWithTask:(NSTask *)aTask generatedType:(NSUInteger)type;
+- (instancetype)initWithTask:(NSTask *)aTask generatedType:(NSUInteger)type 
NS_DESIGNATED_INITIALIZER;
 @property (nonatomic, readonly) NSTask *task;
 @property (nonatomic, readonly) NSUInteger generatedType;
 @end
@@ -67,7 +67,8 @@
 {
     NSString *fullPathWithoutExtension;
 }
-- (instancetype)initWithBasePath:(NSString *)fullPath;
+- (instancetype)initWithBasePath:(NSString *)fullPath 
NS_DESIGNATED_INITIALIZER;
+- (instancetype)init NS_UNAVAILABLE;
 @property (nonatomic, readonly) NSString *baseNameWithoutExtension;
 @property (nonatomic, readonly) NSString *workingDirectory;
 @property (nonatomic, readonly) NSString *texFilePath;

Modified: trunk/bibdesk/BibPref_Display.m
===================================================================
--- trunk/bibdesk/BibPref_Display.m     2025-10-09 14:58:47 UTC (rev 29687)
+++ trunk/bibdesk/BibPref_Display.m     2025-10-10 09:29:31 UTC (rev 29688)
@@ -52,7 +52,8 @@
 @interface BDSKAuthorNameDisplayTransformer : NSValueTransformer {
     NSInteger bit;
 }
-- (instancetype)initWithBit:(NSInteger)aBit;
+- (instancetype)initWithBit:(NSInteger)aBit NS_DESIGNATED_INITIALIZER;
+- (instancetype)init NS_UNAVAILABLE;
 @end
 
 

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

Reply via email to