marcosgriselli / ViewAnimator

ViewAnimator brings your UI to life with just one line
MIT License
7.3k stars 488 forks source link

Add UIViewAnimationOptions parameter #37

Closed vburojevic closed 6 years ago

vburojevic commented 6 years ago

I've added UIViewAnimationOptions parameter which defaults to [].

I've also changed the delay code, I think it's safe to use delay from UIView.animate here, not sure why dispatch queue was used instead. Let me know if there is a reason and I can revert it.

marcosgriselli commented 6 years ago

Looks good, can you adjust the spacing?

vburojevic commented 6 years ago

Done! Switched to spaces instead of tabs.