WobbleView alternatives and similar libraries
Based on the "UI" category
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of WobbleView or a related project?
WobbleView is an implementation of a recently popular wobble effect for any view in your app. It can be used to easily add dynamics to user interactions and transitions.
Check this project on Dribble.
There are two options:
- WobbleView is available via CocoaPods.
- Manually add the files into your Xcode project. Slightly simpler, but updates are also manual.
Just create a WobbleView and change its position.
self.wobbleView.frame.origin = CGPoint(x: randomX, y: randomY)
self.wobbleView.center = CGPoint(x: randomX, y: randomY)
or animate the view's constraints.
internal var frequency: CGFloat = 3
The frequency of oscillation for the wobble behavior.
internal var damping: CGFloat = 0.3
The amount of damping to apply to the wobble behavior.
var edges: ViewEdge = ViewEdge.Right
A bitmask value that identifies the edges that you want to wobble. You can use this parameter to wobble only a subset of the sides of the rectangle.
- Swift 2.0
- Xcode 7
Released under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the WobbleView README section above are relevant to that project's source code only.