Magnetic
Magnetic is a customizable bubble picker like the Apple Music genre selection.
$ pod try Magnetic
Features
- [x] Adding/Removing Nodes
- [x] Selection/Deselection/Removed Animations
- [x] Multiple Selection
- [x] Images
- [x] Multiline Label
- [x] Documentation
Requirements
- iOS 9.0+
- Xcode 9.0+
- Swift 5 (Magnetic 3.x), Swift 4 (Magnetic 2.x), Swift 3 (Magnetic 1.x)
Usage
A Magnetic
object is an SKScene.
To display, you present it from an SKView object.
Properties
Nodes
A Node
object is a SKShapeNode subclass.
Interaction
Properties
Animations
Delegation
The MagneticDelegate
protocol provides a number of functions for observing the current state of nodes.
Customization
Subclass the Node for customization.
For example, a node with an image by default:
Installation
CocoaPods
To install with CocoaPods, simply add this in your Podfile
:
Carthage
To install with Carthage, simply add this in your Cartfile
:
Mentions
Communication
- If you found a bug, open an issue.
- If you have a feature request, open an issue.
- If you want to contribute, submit a pull request.
Credits
https://github.com/igalata/Bubble-Picker
License
Magnetic is available under the MIT license. See the LICENSE file for more info.