Open giovanepossebon opened 8 years ago
How will we named this lib?
Cool, another suggestion: "OCAnimatedHud"
Animated
suggest too much importance for the animation feature. Like if the diference against other HUDS is the animation, but it is not. Is just another HUD with a mix of common others features.
We need two things: a lib name, and class/struct name for usage.
We can use OCHud for the lib, and a struct with a simple name like "hud", which sounds natural and simple in the middle of the code and it's not reserved or similar to anything from native framework...
Some syntax examples:
I prefer the first example! But the last one is OK too!
I thing the SwiftLint will claim about the first character not capitalized.
The first version with SpinnerHUD was released: https://github.com/OpenCraft/OCHuds
@giovanepossebon I think we can close this issue, can't we?
Build a lib with a customized HUD, which you can set an array of images to animated the hud when instantiated, and if you don't, use a default spinner;
References:
https://github.com/jdg/MBProgressHUD -> Layout and Behavior; https://github.com/goktugyil/EZLoadingActivity -> Usage