Revision: 28585
          http://sourceforge.net/p/bibdesk/svn/28585
Author:   hofman
Date:     2024-01-10 22:35:51 +0000 (Wed, 10 Jan 2024)
Log Message:
-----------
synthesize prrivate property accessors

Modified Paths:
--------------
    trunk/bibdesk/BDSKFileSearch.m

Modified: trunk/bibdesk/BDSKFileSearch.m
===================================================================
--- trunk/bibdesk/BDSKFileSearch.m      2024-01-10 22:14:47 UTC (rev 28584)
+++ trunk/bibdesk/BDSKFileSearch.m      2024-01-10 22:35:51 UTC (rev 28585)
@@ -65,12 +65,13 @@
 
 @end
 
-@interface BDSKFileSearch (Private)
+@interface BDSKFileSearch ()
 
-- (void)setSearchString:(NSString *)aString;
-- (void)setOptions:(SKSearchOptions)opts;
+@property (nonatomic) SKSearchRef search;
+@property (nonatomic, copy) NSString *searchString;
+@property (nonatomic) SKSearchOptions options;
+
 - (void)updateSearchResults;
-- (void)setSearch:(SKSearchRef)aSearch;
 - (void)normalizeScoresWithMaximumValue:(double)maxValue;
 
 @end
@@ -77,7 +78,7 @@
 
 @implementation BDSKFileSearch
 
-@synthesize delegate;
+@synthesize delegate, searchString, options, search;
 
 - (id)initWithIndex:(BDSKFileSearchIndex *)anIndex delegate:(id 
<BDSKSearchDelegate>)aDelegate;
 {
@@ -148,11 +149,6 @@
     delegate = aDelegate;
 }
 
-@end
-
-
-@implementation BDSKFileSearch (Private)
-
 - (void)setSearch:(SKSearchRef)aSearch;
 {
     if (aSearch)
@@ -250,18 +246,6 @@
     }
 }
 
-- (void)setSearchString:(NSString *)aString;
-{
-    if (searchString != aString) {
-        searchString = [aString copy];
-    }
-}
-
-- (void)setOptions:(SKSearchOptions)opts;
-{
-    options = opts;
-}
-
 @end
 
 

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



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to