This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #import <UIKit/UIKit.h> | |
| @interface UIView (Recursion) | |
| /** | |
| Return YES from the block to recurse into the subview. | |
| Set stop to YES to return the subview. | |
| */ | |
| - (UIView*)findViewRecursively:(BOOL(^)(UIView* subview, BOOL* stop))recurse; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #import <Foundation/Foundation.h> | |
| @interface NSString (Extensions) | |
| + (NSString *)stringToSha1:(NSString *)str; | |
| - (NSNumber*)stringToNSNumber; | |
| - (BOOL)isEmpty; | |
| - (BOOL)stringContainsSubString:(NSString *)subString; | |
| - (NSString *)stringByReplacingStringsFromDictionary:(NSDictionary *)dict; |