Revision: 29707
http://sourceforge.net/p/bibdesk/svn/29707
Author: hofman
Date: 2025-10-11 17:01:47 +0000 (Sat, 11 Oct 2025)
Log Message:
-----------
unresolvedNetServices can be a set, also supports member wise setValue:forKey:
Modified Paths:
--------------
trunk/bibdesk/BDSKSharingBrowser.h
trunk/bibdesk/BDSKSharingBrowser.m
Modified: trunk/bibdesk/BDSKSharingBrowser.h
===================================================================
--- trunk/bibdesk/BDSKSharingBrowser.h 2025-10-11 16:40:40 UTC (rev 29706)
+++ trunk/bibdesk/BDSKSharingBrowser.h 2025-10-11 17:01:47 UTC (rev 29707)
@@ -45,7 +45,7 @@
@interface BDSKSharingBrowser : NSObject <NSNetServiceDelegate,
NSNetServiceBrowserDelegate> {
NSMutableSet *sharingClients;
NSNetServiceBrowser *browser;
- NSMutableArray *unresolvedNetServices;
+ NSMutableSet *unresolvedNetServices;
NSMutableSet *undecidedNetServices;
}
Modified: trunk/bibdesk/BDSKSharingBrowser.m
===================================================================
--- trunk/bibdesk/BDSKSharingBrowser.m 2025-10-11 16:40:40 UTC (rev 29706)
+++ trunk/bibdesk/BDSKSharingBrowser.m 2025-10-11 17:01:47 UTC (rev 29707)
@@ -196,7 +196,7 @@
browser = [[NSNetServiceBrowser alloc] init];
[browser setDelegate:self];
[browser searchForServicesOfType:BDSKNetServiceDomain inDomain:@""];
- unresolvedNetServices = [[NSMutableArray alloc] initWithCapacity:5];
+ unresolvedNetServices = [[NSMutableSet alloc] initWithCapacity:5];
undecidedNetServices = [[NSMutableSet alloc] initWithCapacity:1];
NSNotificationCenter *nc = [NSNotificationCenter defaultCenter];
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