coolbeet / CBStoreHouseRefreshControl

Fully customizable pull-to-refresh control inspired by Storehouse iOS app
MIT License
3.92k stars 480 forks source link

Way to change the color? #26

Closed klmitchell2 closed 9 years ago

klmitchell2 commented 9 years ago

Im trying to change the color:

self.storeHouseRefreshControl = [CBStoreHouseRefreshControl attachToScrollView:self.tableView target:self refreshAction:@selector(refreshTriggered:) plist:@"storehouse" color:[UIColor blackColor] lineWidth:1.5 dropHeight:80 scale:1 horizontalRandomness:150 reverseLoadingAnimation:YES internalAnimationFactor:0.5];

When I change the color nothing happens. Is this possible?

klmitchell2 commented 9 years ago

I was able to fix this by changing the color on line 114 of CBSStoreHouseRefreshControl

Natelegreat1 commented 9 years ago

[UIColor whiteColor] needs to be replaced with color -- any chance this can be done, @coolbeet ?

Thanks!!!