feat:fix warning

This commit is contained in:
pengfei.zhou 2019-12-14 14:51:18 +08:00
parent 97fc86a8b0
commit 8420980c45
3 changed files with 8 additions and 8 deletions

View File

@ -26,7 +26,7 @@ @protocol DoricFlowLayoutDelegate
- (CGFloat)doricFlowLayoutItemHeightAtIndexPath:(NSIndexPath *)indexPath; - (CGFloat)doricFlowLayoutItemHeightAtIndexPath:(NSIndexPath *)indexPath;
- (CGFloat)doricFlowLayoutItemWidthAtIndexPath:(NSIndexPath *)indexPath; - (CGFloat)doricFlowLayoutItemWidthAtIndexPath:(NSIndexPath *)indexPath;
- (BOOL)isLoadView:(NSIndexPath *)indexPath;
- (CGFloat)doricFlowLayoutColumnSpace; - (CGFloat)doricFlowLayoutColumnSpace;
- (CGFloat)doricFlowLayoutRowSpace; - (CGFloat)doricFlowLayoutRowSpace;

View File

@ -49,7 +49,7 @@ - (void)setupError:(NSException *)exception {
} }
- (BOOL)hasResult { - (BOOL)hasResult {
return self.result; return self.result != nil;
} }
- (id)getResult { - (id)getResult {

View File

@ -39,4 +39,4 @@ NSBundle *_Nonnull DoricBundle(void);
void ShowToast(NSString *_Nonnull text, DoricGravity gravity); void ShowToast(NSString *_Nonnull text, DoricGravity gravity);
UIImage *_Nonnull UIImageWithColor(UIColor *color); UIImage *_Nonnull UIImageWithColor(UIColor * _Nonnull color);