Revision: 14658
          http://sourceforge.net/p/skim-app/code/14658
Author:   hofman
Date:     2024-11-07 17:35:16 +0000 (Thu, 07 Nov 2024)
Log Message:
-----------
use kvc to set parent

Modified Paths:
--------------
    trunk/SKBookmark.m

Modified: trunk/SKBookmark.m
===================================================================
--- trunk/SKBookmark.m  2024-11-07 17:30:57 UTC (rev 14657)
+++ trunk/SKBookmark.m  2024-11-07 17:35:16 UTC (rev 14658)
@@ -579,7 +579,7 @@
     if (self) {
         label = [aLabel copy];
         children = [[NSMutableArray alloc] initWithArray:aChildren];
-        [children makeObjectsPerformSelector:@selector(setParent:) 
withObject:self];
+        [children setValue:self forKey:@"parent"];
     }
     return self;
 }

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to