Bureau

0.1.3

An easy way to use input view to display custom-view on iOS UIKit
FluidGroup/Bureau

What's New

0.1.3

2023-03-29T12:46:56Z

What's Changed

  • Support ViewController by @muukii in #2
  • Cleanup contents view controllers by @muukii in #3

New Contributors

  • @muukii made their first contribution in #2

Full Changelog: 0.1.2...0.1.3

Bureau - A Container to display your customized view on UIKit's InputView

An easy way to display a custom view on the input view in UIKit.

Importantly to supports floating keyboard on iPadOS

Requirements

  • Swift 5.1
  • iOS 10 +

Usage

class ViewController: UIViewController {

  // 💡 Step.1 Put BureauController
  private let bureauController = BureauController()

  override func viewDidLoad() {
    super.viewDidLoad()

    // 💡 Step.2 Set the viewController as an owner.
    bureauController.setOwner(viewController: self)

    // 💡 Step.3 Create an instance of your custom input view.
    let yourCustomInputView = ...

    // 💡 Step.4 To display your input view, do followings.
    bureauController.containerView.addSubviewToEdges(view: yourCustomInputView)

    // 💡 Step.5 Finally, Let's try to show it.
    bureauController.show()

  }
}

Installations

Currently, supports only CocoaPods.

In Podfile, please put the following.

pod 'Bureau'

Author

Hiroshi Kimura

LICENSE

MIT

Description

  • Swift Tools 5.5.0
View More Packages from this Author

Dependencies

  • None
Last updated: Tue May 28 2024 04:31:41 GMT-0900 (Hawaii-Aleutian Daylight Time)