NextGrowingTextView alternatives and similar libraries
Based on the "TextField & TextView" category
-
JVFloatLabeledTextField
UITextField subclass with floating labels. -
PYSearch
An elegant search controller which replaces the UISearchController for iOS (iPhone & iPad). -
SkyFloatingLabelTextField
A beautiful and flexible text field control implementation of "Float Label Pattern". Written in Swift. -
StatefulViewController
Placeholder views based on content, loading, error or empty states -
MLPAutoCompleteTextField
a subclass of UITextField that behaves like a typical UITextField with one notable exception: it manages a drop down table of autocomplete suggestions that update as the user types. -
RPFloatingPlaceholders
UITextField and UITextView subclasses with placeholders that change into floating labels when the fields are populated with text. -
SearchTextField
UITextField subclass with autocompletion suggestions list -
AnimatedTextInput
Animated UITextField and UITextView replacement for iOS -
KMPlaceholderTextView
A UITextView subclass that adds support for multiline placeholder written in Swift. -
InputBarAccessoryView
A simple and easily customizable InputAccessoryView for making powerful input bars with autocomplete and attachments. -
GrowingTextView
An UITextView in Swift3 and Swift2.3. Support auto growing, placeholder and length limit. -
InstantSearch iOS
A library of widgets and helpers to build instant-search applications on iOS. -
UITextField-Navigation
UITextField-Navigation adds next, previous and done buttons to the keyboard for your UITextFields.[e] -
VMaskTextField
VMaskTextField is a library which create an input mask for iOS. -
TweeTextField
Lightweight set of text fields with nice animation and functionality. -
TextFieldCounter
UITextField character counter with lovable UX. -
ARAutocompleteTextView
subclass of UITextView that automatically displays text suggestions in real-time. Perfect for email Textviews. -
styled-text
Declarative text styles and streamlined Dynamic Type support for iOS. -
PasswordTextField
A custom TextField with a switchable icon which shows or hides the password and enforce good password policies -
AwesomeTextField
Awesome TextField is a nice and simple libriary for iOS. It's highly customisable and easy-to-use tool. Works perfectly for any registration or login forms in your app. -
DTTextField
DTTextField is a custom textfield with floating placeholder and error label in Swift3.0. -
CBPinEntryView
A customisable view written in Swift 3.0 for any numerical pin or code entry. -
MBAutoGrowingTextView
An auto-layout base UITextView subclass which automatically grows with user input and can be constrained by maximal and minimal height -
RSKPlaceholderTextView
A light-weight UITextView subclass that adds support for placeholder. -
MVAutocompletePlaceSearchTextField
A drop-in Autocompletion control for Place Search like Google Places, Uber, etc. -
SRKControls
A Custom control which turns UITextfield to item-picker & date-picker. -
RSFloatInputView
A Float Input View with smooth animation and supporting icon and seperator written with Swift. -
AutoCompleteTextField
Auto complete with suggestion textfield -
TaniwhaTextField
TaniwhaTextField is a lightweight and beautiful swift textfield framework. It has float label pattern, and also you can highly customise it. it's written with Swift. -
NxEnabled
Library which allows you binding enabled property of button with textable elements (TextView, TextField) -
MeasurementTextField
UITextField-based control for (NS)Measurement values input.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of NextGrowingTextView or a related project?
README
NextGrowingTextView
The next in the generations of 'growing textviews' optimized for iOS 8 and above.
[example1](sample1.gif)
As a successor to HPGrowingTextView, NextGrowingTextView was redesigned from scratch to provide the most elegant architecture for iOS 8 and above.
Most autoresizing textviews are implemented with UITextView subclasses. The problem with that approach is that each iOS version changed UITextView's layout behavior, and so most of the implementations are laden with iOS version-specific workarounds to fix bugs and errant behavior. With NextGrowingTextView, the battle with the framework is now over.
NextGrowingTextView approaches the problem differently by wrapping UITextView within a UIScrollView and aligning the textView to the scrollView's contentSize.
- public NextGrowingTextView: UIScrollView
- internal NextGrowingInternalTextView: UITextView
Usage
To run the example project, clone the repo, and run pod install
from the Example directory first.
Properties
public class Delegates {
public var willChangeHeight: (CGFloat) -> Void
public var didChangeHeight: (CGFloat) -> Void
}
public var delegates: Delegates
public override init(frame: CGRect)
Delegates
let growingTextView: NextGrowingTextView
growingTextView.delegates.didChangeHeight = { [weak self] height in
guard let `self` = self else { return }
// Do something
}
Requirements
iOS 9.0+ Swift 4.2+
Installation
CocoaPods
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
CocoaPods 0.39.0+ is required to build NextGrowingTextView
To integrate NextGrowingTextView into your Xcode project using CocoaPods, specify it in your Podfile
:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
pod 'NextGrowingTextView'
Then, run the following command:
$ pod install
Carthage
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
You can install Carthage with Homebrew using the following command:
$ brew update
$ brew install carthage
To integrate NextGrowingTextView into your Xcode project using Carthage, specify it in your Cartfile
:
github "muukii/NextGrowingTextView"
Run carthage update
to build the framework and drag the built NextGrowingTextView.framework
into your Xcode project.
Author
muukii, m@muukii.me
License
NextGrowingTextView is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the NextGrowingTextView README section above
are relevant to that project's source code only.