danielamitay / DACircularProgress

DACircularProgress is a UIView subclass with circular UIProgressView properties.
Other
2.38k stars 341 forks source link

iOS 10 compatibility #73

Open damaex opened 8 years ago

damaex commented 8 years ago

I'm sorry to tell you, but your library doesn't build in iOS 10 anymore.

Here is the Fix:

DACircularProgressView.h line 11

replace:

@interface DACircularProgressView : UIView

with:

#if __IPHONE_OS_VERSION_MAX_ALLOWED < __IPHONE_10_0
@interface DACircularProgressView : UIView
#else
@interface DACircularProgressView : UIView <CAAnimationDelegate>
#endif
iwasrobbed commented 8 years ago

@damaex This repo isn't being maintained. Swift / iOS 10 version: https://github.com/iwasrobbed/RPCircularProgress