Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/AlexLittlejohn/ALRadialMenu
A radial/circular menu featuring spring animations.
https://github.com/AlexLittlejohn/ALRadialMenu
Last synced: 3 months ago
JSON representation
A radial/circular menu featuring spring animations.
- Host: GitHub
- URL: https://github.com/AlexLittlejohn/ALRadialMenu
- Owner: AlexLittlejohn
- License: mit
- Archived: true
- Created: 2015-04-26T22:07:14.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-07-01T08:16:22.000Z (over 2 years ago)
- Last Synced: 2024-08-04T02:07:50.259Z (3 months ago)
- Language: Swift
- Homepage:
- Size: 1.32 MB
- Stars: 51
- Watchers: 6
- Forks: 20
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ios - ALRadialMenu - A radial/circular menu featuring spring animations. Written in swift (UI / Menu)
- awesome-ios-star - ALRadialMenu - A radial/circular menu featuring spring animations. Written in swift (UI / Menu)
README
# :warning: This project is unmaintained
# ALRadialMenu
A radial/circular menu featuring spring animations. Written in swift.
Experimenting with fluent interfaces (https://github.com/vandadnp/swift-weekly/blob/master/issue05/README.md)![Screen](https://cloud.githubusercontent.com/assets/932822/7349115/18865370-ecf7-11e4-839d-ad8c225c2283.png)
### Usage
```swift
override func viewDidLoad() {
super.viewDidLoad()
let gesture = UITapGestureRecognizer(target: self, action: "showMenu:")
view.addGestureRecognizer(gesture)
}func showMenu(sender: UITapGestureRecognizer) {
var buttons = [ALRadialMenuButton]()
...
/// create buttons
...ALRadialMenu()
.setButtons(buttons)
.setAnimationOrigin(sender.locationInView(view))
.presentInView(view)
}
```## License
ALRadialMenu is available under the MIT license. See the LICENSE file for more info.