File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ extension NSAttributedString {
7474 /// - list: The list.
7575 /// - location: The location of the item.
7676 ///
77- /// - Returns: Returns the total number of items within the list.
77+ /// - Returns: Returns the total number of items within the list or NSNotFound if no list is available at location .
7878 ///
7979 func numberOfItems( in list: TextList , at location: Int ) -> Int {
8080 guard
@@ -102,7 +102,7 @@ extension NSAttributedString {
102102 /// - list: The list.
103103 /// - location: The location of the item.
104104 ///
105- /// - Returns: Returns the index within the list.
105+ /// - Returns: Returns the index within the list or NSNotFound is no list is available at location .
106106 ///
107107 func itemNumber( in list: TextList , at location: Int ) -> Int {
108108 guard
You can’t perform that action at this time.
0 commit comments