Revision: 29658
          http://sourceforge.net/p/bibdesk/svn/29658
Author:   hofman
Date:     2025-10-03 21:42:10 +0000 (Fri, 03 Oct 2025)
Log Message:
-----------
declare new designated initializer for private classes

Modified Paths:
--------------
    trunk/bibdesk/BDSKSharingClient.m
    trunk/bibdesk/BDSKSharingServer.m

Modified: trunk/bibdesk/BDSKSharingClient.m
===================================================================
--- trunk/bibdesk/BDSKSharingClient.m   2025-10-03 17:11:25 UTC (rev 29657)
+++ trunk/bibdesk/BDSKSharingClient.m   2025-10-03 21:42:10 UTC (rev 29658)
@@ -65,7 +65,8 @@
 
 + (NSString *)supportedProtocolVersion;
 
-- (instancetype)initWithClient:(BDSKSharingClient *)aClient 
andService:(NSNetService *)aService;
+- (instancetype)initWithClient:(BDSKSharingClient *)aClient 
andService:(NSNetService *)aService NS_DESIGNATED_INITIALIZER;
+- (instancetype)init NS_UNAVAILABLE;
 
 @property (readonly) BOOL needsAuthentication;
 @property (readonly) BOOL authenticationFailed;

Modified: trunk/bibdesk/BDSKSharingServer.m
===================================================================
--- trunk/bibdesk/BDSKSharingServer.m   2025-10-03 17:11:25 UTC (rev 29657)
+++ trunk/bibdesk/BDSKSharingServer.m   2025-10-03 21:42:10 UTC (rev 29658)
@@ -137,7 +137,8 @@
 
 + (NSString *)requiredProtocolVersion;
 
-- (instancetype)initForSharingServer:(BDSKSharingServer *)aSharingServer;
+- (instancetype)initForSharingServer:(BDSKSharingServer *)aSharingServer 
NS_DESIGNATED_INITIALIZER;
+- (instancetype)init NS_UNAVAILABLE;
 
 @property NSUInteger numberOfConnections;
 

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