MBCircularProgressBar icon indicating copy to clipboard operation
MBCircularProgressBar copied to clipboard

Added nullability annotations and nil defaults.

Open dpyro opened this issue 8 years ago • 2 comments

I added nullability annotations for use in Swift (no more ugly !). I also allowed nil to be used as a default value and in the case of the font names, the default or an unfound font will use the system font (no more crashing in the Interface Builder). Font sizes < 0 revert to the default size, as all values less than 0.0 are not allowed according to the documentation. I had to push some default settings out of the view constructor but I believe this is an acceptable loss: what the default settings are is not important to the user.

dpyro avatar Mar 18 '16 20:03 dpyro

Sorry it took some time, Could you please fix the conflicts so I can merge your helpful changes? Thanks!

MatiBot avatar Nov 05 '16 17:11 MatiBot

Looking at the Travis-CI build output, it seems like the compiler is not understanding the “nullable” annotation. The SDK needs to be at least iOS 8.3 for it to work. Is there any way to update Travis-CI to use that?

dpyro avatar Nov 29 '16 20:11 dpyro