Revision: 7613
http://skim-app.svn.sourceforge.net/skim-app/?rev=7613&view=rev
Author: hofman
Date: 2011-12-29 18:38:06 +0000 (Thu, 29 Dec 2011)
Log Message:
-----------
keep ivar value private, remove unused accessor
Modified Paths:
--------------
trunk/SKTypeSelectHelper.h
trunk/SKTypeSelectHelper.m
Modified: trunk/SKTypeSelectHelper.h
===================================================================
--- trunk/SKTypeSelectHelper.h 2011-12-29 18:29:43 UTC (rev 7612)
+++ trunk/SKTypeSelectHelper.h 2011-12-29 18:38:06 UTC (rev 7613)
@@ -59,7 +59,6 @@
@property (nonatomic, assign) id <SKTypeSelectDelegate> delegate;
@property (nonatomic) SKTypeSelectMatchOption matchOption;
-@property (nonatomic, retain) NSString *searchString;
+ (id)typeSelectHelper;
+ (id)typeSelectHelperWithMatchOption:(SKTypeSelectMatchOption)aMatchOption;
Modified: trunk/SKTypeSelectHelper.m
===================================================================
--- trunk/SKTypeSelectHelper.m 2011-12-29 18:29:43 UTC (rev 7612)
+++ trunk/SKTypeSelectHelper.m 2011-12-29 18:38:06 UTC (rev 7613)
@@ -71,7 +71,7 @@
@implementation SKTypeSelectHelper
-@synthesize delegate, searchString, matchOption;
+@synthesize delegate, matchOption;
static NSCharacterSet *nonAlphanumericCharacterSet = nil;
@@ -161,7 +161,8 @@
// Append the new character to the search string
[fieldEditor interpretKeyEvents:[NSArray arrayWithObject:keyEvent]];
- [self setSearchString:[fieldEditor string]];
+ [searchString release];
+ searchString = [[fieldEditor string] retain];
if ([delegate
respondsToSelector:@selector(typeSelectHelper:updateSearchString:)])
[delegate typeSelectHelper:self updateSearchString:searchString];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit