Revision: 12958
          http://sourceforge.net/p/skim-app/code/12958
Author:   hofman
Date:     2022-06-26 21:45:46 +0000 (Sun, 26 Jun 2022)
Log Message:
-----------
return type for objectSpecifier methods

Modified Paths:
--------------
    trunk/PDFOutline_SKExtensions.h
    trunk/PDFOutline_SKExtensions.m
    trunk/SKBookmark.m
    trunk/SKDownload.m

Modified: trunk/PDFOutline_SKExtensions.h
===================================================================
--- trunk/PDFOutline_SKExtensions.h     2022-06-26 21:38:10 UTC (rev 12957)
+++ trunk/PDFOutline_SKExtensions.h     2022-06-26 21:45:46 UTC (rev 12958)
@@ -49,7 +49,7 @@
 
 - (void)clearDocument;
 
-- (id)objectSpecifier;
+- (NSScriptObjectSpecifier *)objectSpecifier;
 - (PDFOutline *)scriptingParent;
 - (NSArray *)entireContents;
 - (NSUInteger)countOfOutlines;

Modified: trunk/PDFOutline_SKExtensions.m
===================================================================
--- trunk/PDFOutline_SKExtensions.m     2022-06-26 21:38:10 UTC (rev 12957)
+++ trunk/PDFOutline_SKExtensions.m     2022-06-26 21:45:46 UTC (rev 12958)
@@ -83,7 +83,7 @@
     [self setDocument:nil];
 }
 
-- (id)objectSpecifier {
+- (NSScriptObjectSpecifier *)objectSpecifier {
     NSUInteger idx = [self index];
     if (idx != NSNotFound) {
         NSScriptObjectSpecifier *containerRef = nil;

Modified: trunk/SKBookmark.m
===================================================================
--- trunk/SKBookmark.m  2022-06-26 21:38:10 UTC (rev 12957)
+++ trunk/SKBookmark.m  2022-06-26 21:45:46 UTC (rev 12958)
@@ -239,7 +239,7 @@
 - (void)removeObjectFromChildrenAtIndex:(NSUInteger)anIndex {}
 - (void)removeChildrenAtIndexes:(NSIndexSet *)indexes {}
 
-- (id)objectSpecifier {
+- (NSScriptObjectSpecifier *)objectSpecifier {
     NSUInteger idx = [[parent children] indexOfObjectIdenticalTo:self];
     if (idx != NSNotFound) {
         NSScriptObjectSpecifier *containerRef = nil;

Modified: trunk/SKDownload.m
===================================================================
--- trunk/SKDownload.m  2022-06-26 21:38:10 UTC (rev 12957)
+++ trunk/SKDownload.m  2022-06-26 21:45:46 UTC (rev 12958)
@@ -244,7 +244,7 @@
     return [self expectedContentLength] > 0;
 }
 
-- (id)objectSpecifier {
+- (NSScriptObjectSpecifier *)objectSpecifier {
     NSUInteger idx = [[[SKDownloadController sharedDownloadController] 
downloads] indexOfObjectIdenticalTo:self];
     if (idx != NSNotFound) {
         NSScriptClassDescription *containerClassDescription = 
[NSScriptClassDescription classDescriptionForClass:[NSApp class]];

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



_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to