MenuController
An easy-to-use Action Menu Modal Controller inspired by iOS 13 Apple's native app implementation
Install / Use
/learn @anmolrajpal/MenuControllerREADME
MenuController
An easy-to-use Action Menu Modal Controller inspired by iOS 13 Apple's native app implementation
<p align="center"> <img src="Public/menu.PNG", width=250, height=450> </p>Features
- Supports Portrait and Landscape orientation
- Glossy vibrant dark menu
- Infinite Actions
Usage
import MenuController
let actions:[UIControlMenuAction] = [
UIControlMenuAction(title: "Send Message", image: UIImage(systemName: "paperplane")!, handler: { _ in print("Sending Message") }),
UIControlMenuAction(title: "Enable Wifi", image: UIImage(systemName: "wifi")!, handler: { _ in print("Wifi ON") }),
UIControlMenuAction(title: "Delete", image: UIImage(systemName: "trash.fill")!, handler: { _ in print("Deleted ✅") })
]
let vc = MenuController(actions: actions)
self.present(vc, animated: true, completion: nil)
Requirements
- iOS 13.0+
- Xcode 11
Installation
Swift Package Manager:
dependencies: [
.package(url: "https://github.com/anmolrajpal/MenuController", from: "1.0.0")
]
Meta
Related Skills
node-connect
340.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
340.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.2kCommit, push, and open a PR
