Revision: 16775
http://sourceforge.net/p/skim-app/code/16775
Author: hofman
Date: 2026-11-01 22:28:15 +0000 (Sun, 01 Nov 2026)
Log Message:
-----------
children can be nil
Modified Paths:
--------------
trunk/SKBookmark.h
Modified: trunk/SKBookmark.h
===================================================================
--- trunk/SKBookmark.h 2026-11-01 22:24:55 UTC (rev 16774)
+++ trunk/SKBookmark.h 2026-11-01 22:28:15 UTC (rev 16775)
@@ -81,10 +81,10 @@
@property (nonatomic, nullable, weak) SKBookmark *parent;
@property (nonatomic, readonly) NSArray<SKBookmark *> *containingBookmarks;
-@property (nonatomic, readonly) NSArray<SKBookmark *> *children;
+@property (nonatomic, nullable, readonly) NSArray<SKBookmark *> *children;
@property (nonatomic, readonly) NSUInteger countOfChildren;
-- (SKBookmark *)objectInChildrenAtIndex:(NSUInteger)anIndex;
-- (NSArray<SKBookmark *> *)childrenAtIndexes:(NSIndexSet *)indexes;
+- (nullable SKBookmark *)objectInChildrenAtIndex:(NSUInteger)anIndex;
+- (nullable NSArray<SKBookmark *> *)childrenAtIndexes:(NSIndexSet *)indexes;
- (void)insertObject:(SKBookmark *)child inChildrenAtIndex:(NSUInteger)anIndex;
- (void)insertChildren:(NSArray<SKBookmark *> *)newChildren
atIndexes:(NSIndexSet *)indexes;
- (void)removeObjectFromChildrenAtIndex:(NSUInteger)anIndex;
@@ -93,7 +93,7 @@
@property (nonatomic, nullable, readonly) SKBookmark *scriptingParent;
@property (nonatomic, nullable, readonly) NSArray<SKBookmark *>
*entireContents;
-@property (nonatomic, readonly) NSArray<SKBookmark *> *bookmarks;
+@property (nonatomic, nullable, readonly) NSArray<SKBookmark *> *bookmarks;
- (void)insertObject:(SKBookmark *)bookmark
inBookmarksAtIndex:(NSUInteger)anIndex;
- (void)removeObjectFromBookmarksAtIndex:(NSUInteger)anIndex;
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