A tiny dropdown library for usage with UINavigationController
in Swift.
-
Import
SwiftDrop.swift
-
Setup within your desired view controller:
swiftDrop = SwiftDrop()
swiftDrop.menuItems = ["Two roads diverged", "Then took the other"]
swiftDrop.navigationController = navigationController
swiftDrop.delegate = self
See the embedded SwiftDropExample project for a working example.
This repository is licensed under the MIT license, more under LICENSE.