fix compatability for Xcode 11

This commit is contained in:
Daniel Shelley 2019-06-04 09:26:31 -06:00
parent 42a5e6f6ec
commit b6cfd802f9
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ static char TAG_ACTIVITY_SHOW;
}
- (void)setIndicatorStyle:(UIActivityIndicatorViewStyle)style{
objc_setAssociatedObject(self, &TAG_ACTIVITY_STYLE, [NSNumber numberWithInt:style], OBJC_ASSOCIATION_RETAIN);
objc_setAssociatedObject(self, &TAG_ACTIVITY_STYLE, [NSNumber numberWithInteger:style], OBJC_ASSOCIATION_RETAIN);
}
- (int)getIndicatorStyle{