12345678910111213141516171819202122232425262728 |
-
-
-
-
-
-
-
-
- #ifndef IOS7Polyfill_h
- #define IOS7Polyfill_h
-
- @interface NSString (Contains)
-
- - (BOOL)RNFBContainsString:(NSString*)other;
-
- @end
-
- @implementation NSString (Contains)
-
- - (BOOL)RNFBContainsString:(NSString*)other {
- NSRange range = [self rangeOfString:other];
- return range.length != 0;
- }
-
-
- @end
- #endif /* IOS7Polyfill_h */
|