Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 25 lines (19 sloc) 0.475 kB
/*
* NSTextFinder_LastFind.h
* Notation
*
* Created by Zachary Schneirov
*
*/
#import "NSTextFinder.h"
@implementation NSTextFinder (LastFind)
- (int)nv_lastFindWasSuccessful {
@try {
NSNumber *success = [self valueForKey:@"lastFindWasSuccessful"];
if (success)
return ([success boolValue] ? LAST_FIND_YES : LAST_FIND_NO);
} @catch (NSException *e) {}
NSLog(@"lastFindWasSuccessful ivar not found!");
return LAST_FIND_UNKNOWN;
}
@end
Jump to Line
Something went wrong with that request. Please try again.