Revision: 6459
          http://skim-app.svn.sourceforge.net/skim-app/?rev=6459&view=rev
Author:   hofman
Date:     2010-04-11 12:07:32 +0000 (Sun, 11 Apr 2010)

Log Message:
-----------
declared properties

Modified Paths:
--------------
    trunk/SKTypeSelectHelper.h
    trunk/SKTypeSelectHelper.m

Modified: trunk/SKTypeSelectHelper.h
===================================================================
--- trunk/SKTypeSelectHelper.h  2010-04-10 14:46:04 UTC (rev 6458)
+++ trunk/SKTypeSelectHelper.h  2010-04-11 12:07:32 UTC (rev 6459)
@@ -61,28 +61,17 @@
     NSTimer *timer;
 }
 
+...@property (nonatomic, assign) id dataSource;
+...@property (nonatomic) BOOL cyclesSimilarResults, matchesImmediately;
+...@property (nonatomic) SKTypeSelectMatchOption matchOption;
+...@property (nonatomic, retain) NSString *searchString;
+...@property (nonatomic, readonly) BOOL isProcessing;
+
 + (id)typeSelectHelper;
 + (id)typeSelectHelperWithMatchOption:(SKTypeSelectMatchOption)aMatchOption;
 
 - (id)initWithMatchOption:(SKTypeSelectMatchOption)aMatchOption;
 
-- (id)dataSource;
-- (void)setDataSource:(id)anObject;
-
-- (BOOL)cyclesSimilarResults;
-- (void)setCyclesSimilarResults:(BOOL)newValue;
-
-- (BOOL)matchesImmediately;
-- (void)setMatchesImmediately:(BOOL)newValue;
-
-- (SKTypeSelectMatchOption)matchOption;
-- (void)setMatchOption:(SKTypeSelectMatchOption)newValue;
-    
-- (NSString *)searchString;
-- (void)setSearchString:(NSString *)newSearchString;
-
-- (BOOL)isProcessing;
-
 - (void)rebuildTypeSelectSearchCache;
 
 - (BOOL)processKeyDownEvent:(NSEvent *)keyEvent;

Modified: trunk/SKTypeSelectHelper.m
===================================================================
--- trunk/SKTypeSelectHelper.m  2010-04-10 14:46:04 UTC (rev 6458)
+++ trunk/SKTypeSelectHelper.m  2010-04-11 12:07:32 UTC (rev 6459)
@@ -63,7 +63,10 @@
 
 @implementation SKTypeSelectHelper
 
+...@synthesize dataSource, searchString;
+...@dynamic cyclesSimilarResults, matchesImmediately, matchOption, 
isProcessing;
 
+
 + (id)typeSelectHelper {
     return [[[self alloc] init] autorelease];
 }
@@ -100,10 +103,6 @@
 
 #pragma mark Accessors
 
-- (id)dataSource {
-    return dataSource;
-}
-
 - (void)setDataSource:(id)newDataSource {
     if (dataSource != newDataSource) {
         dataSource = newDataSource;
@@ -135,17 +134,6 @@
     tshFlags.matchOption = newValue;
 }
 
-- (NSString *)searchString {
-    return searchString;
-}
-
-- (void)setSearchString:(NSString *)newSearchString {
-    if (searchString != newSearchString) {
-        [searchString release];
-        searchString = [newSearchString retain];
-    }
-}
-
 - (BOOL)isProcessing {
     return tshFlags.processing;
 }


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

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to