Revision: 13975
http://sourceforge.net/p/skim-app/code/13975
Author: hofman
Date: 2023-12-24 15:56:54 +0000 (Sun, 24 Dec 2023)
Log Message:
-----------
no need to have pages accessor
Modified Paths:
--------------
trunk/NSDocument_SKExtensions.h
trunk/NSDocument_SKExtensions.m
Modified: trunk/NSDocument_SKExtensions.h
===================================================================
--- trunk/NSDocument_SKExtensions.h 2023-12-24 15:22:44 UTC (rev 13974)
+++ trunk/NSDocument_SKExtensions.h 2023-12-24 15:56:54 UTC (rev 13975)
@@ -105,7 +105,6 @@
#pragma mark Scripting
-- (nullable NSArray<PDFPage *> *)pages;
- (NSUInteger)countOfPages;
- (PDFPage *)objectInPagesAtIndex:(NSUInteger)theIndex;
Modified: trunk/NSDocument_SKExtensions.m
===================================================================
--- trunk/NSDocument_SKExtensions.m 2023-12-24 15:22:44 UTC (rev 13974)
+++ trunk/NSDocument_SKExtensions.m 2023-12-24 15:56:54 UTC (rev 13975)
@@ -314,14 +314,6 @@
#pragma mark Scripting
-- (NSArray *)pages {
- NSMutableArray *pages = [NSMutableArray array];
- NSInteger i, count = [[self pdfDocument] pageCount];
- for (i = 0; i < count; i++)
- [pages addObject:[[self pdfDocument] pageAtIndex:i]];
- return pages;
-}
-
- (NSUInteger)countOfPages {
return [[self pdfDocument] pageCount];
}
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