All Projects → tapptitude → TTInputVisibilityController

tapptitude / TTInputVisibilityController

Licence: MIT License
Lightweight controller to keep your inputs visible when the keyboard is presented.

Programming Languages

swift
15916 projects
objective c
16641 projects - #2 most used programming language
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to TTInputVisibilityController

FormToolbar
Simple, movable and powerful toolbar for UITextField and UITextView.
Stars: ✭ 85 (+304.76%)
Mutual labels:  keyboard, textview, textfield
Tkkeyboardcontrol
TKKeyboardControl adds keyboard awareness and scrolling dismissal (like iMessages app) to any view with only 1 line of code for Swift.
Stars: ✭ 110 (+423.81%)
Mutual labels:  keyboard, textview, textfield
Axel
Axel tries to accelerate the download process by using multiple connections per file, and can also balance the load between different servers.
Stars: ✭ 1,997 (+9409.52%)
Mutual labels:  light, lightweight
minidenticons
Super lightweight SVG identicon (icon avatar) generator
Stars: ✭ 89 (+323.81%)
Mutual labels:  light, lightweight
hat-view
Allow to put "hat" on TextView. Inspired by Telegram appbar title with Santa Claus hat 🎅🏻
Stars: ✭ 51 (+142.86%)
Mutual labels:  lightweight, textview
Keyboardavoidanceswiftui
How to move SwiftUI view up when keyboard appears https://www.vadimbulavin.com/how-to-move-swiftui-view-when-keyboard-covers-text-field/
Stars: ✭ 198 (+842.86%)
Mutual labels:  keyboard, textfield
Lwmem
Lightweight dynamic memory manager library for embedded systems with memory constraints. It implements malloc, calloc, realloc and free functions
Stars: ✭ 92 (+338.1%)
Mutual labels:  lightweight, manager
iOSUtilitiesSource
IOS Utilities Library for Swift
Stars: ✭ 46 (+119.05%)
Mutual labels:  keyboard, textfield
MatrixLib
Lightweight header-only matrix library (C++) for numerical optimization and machine learning. Contact me if there is an exciting opportunity.
Stars: ✭ 35 (+66.67%)
Mutual labels:  light, lightweight
Translucide
CMS efficient, léger, simple à prendre en main, customisable et écoconçu !
Stars: ✭ 31 (+47.62%)
Mutual labels:  light, lightweight
STTextView
📝 STTextView is a light-weight library that adds a placeholder to the UITextView.
Stars: ✭ 36 (+71.43%)
Mutual labels:  carthage, textview
Keyboardtextfield
KeyboardTextField is a lightweight, simple, non-invasive keyboard accompanying input box! Write in Swift!
Stars: ✭ 170 (+709.52%)
Mutual labels:  keyboard, textfield
Adafruit TSL2591 Library
This is an Arduino library for the TSL2591 digital luminosity (light) sensors.
Stars: ✭ 46 (+119.05%)
Mutual labels:  light, visible
Utox
µTox the lightest and fluffiest Tox client
Stars: ✭ 820 (+3804.76%)
Mutual labels:  light, lightweight
Keyboardhidemanager
Codeless manager to hide keyboard by tapping on views for iOS written in Swift
Stars: ✭ 57 (+171.43%)
Mutual labels:  keyboard, manager
Hotkey
Simple global shortcuts in macOS
Stars: ✭ 574 (+2633.33%)
Mutual labels:  keyboard, carthage
Cdmarkdownkit
An extensive Swift framework providing simple and customizable markdown parsing.
Stars: ✭ 158 (+652.38%)
Mutual labels:  carthage, textview
Uitextfield Navigation
🏄‍♂️ UITextField-Navigation makes it easier to navigate between UITextFields and UITextViews
Stars: ✭ 436 (+1976.19%)
Mutual labels:  keyboard, carthage
NumPad
Number Pad (inspired by Square)
Stars: ✭ 81 (+285.71%)
Mutual labels:  keyboard, carthage
vue-visible
v-visible directive for VueJS
Stars: ✭ 31 (+47.62%)
Mutual labels:  visibility, visible

TTInputVisibilityController

Twitter

About

Lightweight controller to keep your inputs visible when the keyboard is presented.

This project is maintained by Tapptitude, a mobile app development agency specialized in building high-quality iOS and Android mobile apps, for startups and brands alike. A lively team of skilled app developers and app designers based in Europe, we provide full-stack mobile app development services to entrepreneurs looking to innovate on mobile.




Features:

  • Lightweight & very easy to integrate
  • Works with any inputs or keyboard types
  • Automatic keyboard dismiss when tapping outside of the input
  • Ignore views that trigger dimissal
  • Custom additional distance from the keyboard
  • Add any view to be visible
  • Custom animation block when the keyboard is presented.

Requirements

  • iOS 8.0+
  • Xcode 7.3+

Installation

CocoaPods

Swift 4.0, 3.X

pod 'TTInputVisibilityController'

Carthage

github "tapptitude/TTInputVisibilityController"

Manually

Add the contents of TTInputVisibilityController files to your project.

Usage

Add the controller directly to your view

You can add the keyboardVisibilityController to the view property of any ViewController.

override func viewDidLoad() {
    super.viewDidLoad()
    self.view.addInputVisibilityController()
}

Custom space above the keyboard

You can add extra space above the keyboard by setting the swift extraSpaceAboveKeyboard property.

Ignore views that trigger dimissal

If you want some view to not trigger the dismissal of the keyboard(e.g. a login button) you can set

inputVisibilityController.dismissKeyboardTouchRecognizer?.ignoreViews = [myLoginButton] 

Additional animation block

You can also provide a block to be called when the keyboard is dismissed or presented, providing you the translation value. (e.g animating some constraints)

inputVisibilityController.additionallAnimatioBlock = { [weak self] translation in
    self?.loginButtonBottomConstraint.constant = initialConstraint + translation
    self?.view.layoutIfNeeded()
}

Contribution

Feel free to Fork, submit Pull Requests or send us your feedback and suggestions!

License

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].