Skip to content
Ubaguruma is a photo select picker like LINE.
Swift Ruby
Branch: master
Clone or download
Latest commit 6e11b14 Jul 30, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Demo The ubaguruma stick out when the keyboard is shown Jul 27, 2019
Sources Toggle interactivePopGestureRecognizer Jul 27, 2019
Ubaguruma Initial Commit 👶 Jul 26, 2019
Ubaguruma.xcodeproj Some bugfixes Jul 26, 2019
Ubaguruma.xcworkspace Initial Commit 👶 Jul 26, 2019
UbagurumaTests Initial Commit 👶 Jul 26, 2019
.gitignore Initial Commit 👶 Jul 26, 2019
LICENSE Initial Commit 👶 Jul 26, 2019
README.md Update README.md Jul 30, 2019
Ubaguruma.png Initial Commit 👶 Jul 26, 2019
Ubaguruma.podspec v0.0.1 Jul 27, 2019
demo.gif Add demo Jul 26, 2019

README.md

Ubaguruma

Ubaguruma is a photo select picker like LINE.



Carthage Version License Platform Language

Demo

Requirements

  • Xcode 10.2+
  • Swift 5.0+
  • iOS 11+

Installation

CocoaPods

Ubaguruma is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "Ubaguruma"

Carthage

Carthage is a decentralized dependency manager for Cocoa application.

$ brew update
$ brew install carthage

To integrate Ubaguruma into your Xcode project using Carthage, specify it in your Cartfile:

github "nakajijapan/Ubaguruma"

Then, run the following command to build the Ubaguruma framework:

$ carthage update

Usage

Initialize

let imagePickerController = Ubaguruma.ImagePickerController()
let safeAreaInsetBottom = view.safeAreaInsets.bottom
let defaultKeyboardMinY: CGFloat = 346
chatToolbarViewBottomConstraint.constant = defaultKeyboardMinY - safeAreaInsetBottom
imagePickerController?.visibleHeight = defaultKeyboardMinY
imagePickerController?.present(containerController: navigationController, animated: animated)

Author

nakajijapan

License

Ubaguruma is available under the MIT license. See the LICENSE file for more info.

You can’t perform that action at this time.