Revision: 16515
          http://sourceforge.net/p/skim-app/code/16515
Author:   hofman
Date:     2026-09-21 15:38:28 +0000 (Mon, 21 Sep 2026)
Log Message:
-----------
no need to redeclare string property

Modified Paths:
--------------
    trunk/SkimNotes/SKNPDFAnnotationNote.h
    trunk/SkimNotes/SKNPDFAnnotationNote.m

Modified: trunk/SkimNotes/SKNPDFAnnotationNote.h
===================================================================
--- trunk/SkimNotes/SKNPDFAnnotationNote.h      2026-09-21 14:43:07 UTC (rev 
16514)
+++ trunk/SkimNotes/SKNPDFAnnotationNote.h      2026-09-21 15:38:28 UTC (rev 
16515)
@@ -95,13 +95,6 @@
 }
 
 /*!
-    @abstract   This is overridden and different from the contents.
-    @discussion This should give a short string value for the anchored note 
annotation.  Setting this updates the contents using 
<code>updateContents</code>.
-    @result     A string representing the string value associated with the 
annotation.
-*/
-@property (nonatomic, copy, nullable) NSString *string;
-
-/*!
     @abstract   The rich text of the annotation.
     @discussion This is the longer rich text contents of the anchored note 
annotation.  Setting this updates the contents using 
<code>updateContents</code>.
 */

Modified: trunk/SkimNotes/SKNPDFAnnotationNote.m
===================================================================
--- trunk/SkimNotes/SKNPDFAnnotationNote.m      2026-09-21 14:43:07 UTC (rev 
16514)
+++ trunk/SkimNotes/SKNPDFAnnotationNote.m      2026-09-21 15:38:28 UTC (rev 
16515)
@@ -80,7 +80,6 @@
 
 @implementation SKNPDFAnnotationNote
 
-@synthesize string = _string;
 @synthesize text = _text;
 @synthesize image = _image;
 @synthesize drawsImage = _drawsImage;
@@ -158,6 +157,10 @@
         [self setValue:drawsImage ? @"/Stamp" : @"/Text" 
forAnnotationKey:@"/Subtype"];
 }
 
+- (NSString *)string {
+    return _string;
+}
+
 - (void)setString:(NSString *)string {
     if (_string != string) {
         _string = [string copy];

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