NextGrowingTextView alternatives and similar libraries
Based on the "UI" category.
Alternatively, view NextGrowingTextView alternatives based on common mentions on social networks and blogs.
-
Charts
Beautiful charts for iOS/tvOS/OSX! The Apple side of the crossplatform MPAndroidChart. -
Material
Express your creativity with Material, an animation and graphics framework for Google's Material Design and Apple's Flat UI in Swift. -
LTMorphingLabel
Graceful morphing effects for UILabel written in Swift. -
NVActivityIndicatorView
Collection of nice loading animations. -
Animated Tab Bar
RAMAnimatedTabBarController is a Swift module for adding animation to tabbar items. -
JTAppleCalendar
The final Apple calendar you will ever try. Built for iOS in Swift. -
AMScrollingNavbar
Scrollable UINavigationBar that follows the scrolling of a UIScrollView. -
SwiftMessages
A very flexible message bar for iOS written in Swift. -
FSPagerView
FSPagerView is an elegant Screen Slide Library. It is extremely helpful for making Banner View、Product Show、Welcome/Guide Pages、Screen/ViewController Sliders. -
SwipeCellKit
Swipeable UITableViewCell based on the stock Mail.app. -
TextFieldEffects
Several ready to use effects for UITextFields -
PermissionScope
A Periscope-inspired way to ask for iOS permissions. -
Macaw
Powerful and easy-to-use vector graphics Swift library with SVG support. -
Scrollable-GraphView
An adaptive scrollable graph view for iOS to visualise simple discrete datasets. Written in Swift. Originally written for a small personal project. -
SideMenu
Simple side menu control for iOS in Swift inspired by Facebook. Right and Left sides. No coding required. -
Alerts Pickers
Advanced usage of UIAlertController with TextField, DatePicker, PickerView, TableView and CollectionView. -
ImagePicker
A nicely designed and super easy to use ImagePicker. -
Material Components for iOS
Modular and customizable Material Design UI components for iOS -
NotificationBanner
The easiest way to display highly customizable in app notification banners in iOS. -
ESTabBarController
A highly customizable TabBarController component, which is inherited from UITabBarController. -
Instructions
Create walkthroughs and guided tours (coach marks) in a simple way, with Swift. -
BulletinBoard
Generates and manages contextual cards displayed at the bottom of the screen. -
SPPermission
Simple request permission with native UI and interactive animation. -
SlideMenuControllerSwift
iOS Slide Menu View based on Google+, iQON, Feedly, Ameba iOS app. -
TLYShyNavBar
Unlike all those arrogant UINavigationBar, this one is shy and humble! Easily create auto-scrolling navigation bars! -
PopupDialog
A simple, customizable popup dialog. Replaces UIAlertController alert style. -
ActiveLabel
UILabel drop-in replacement supporting Hashtags (#), Mentions (@) and URLs (http://). -
DGElasticPullToRefresh
Elastic pull to refresh. -
StarWars.iOS
Transition animation to crumble view-controller into tiny pieces. -
Persei
Animated top menu for UITableView / UICollectionView / UIScrollView written in Swift. -
BouncyLayout
Is a collection view layout that makes your cells bounce. -
DOFavoriteButton
Cute Animated Button written in Swift. -
XLActionController
Fully customizable and extensible action sheet controller written in Swift 2. -
PaperOnboarding
PaperOnboarding is a material design UI slider. -
KMNavigationBarTransition
A drop-in universal library helps you to manage the navigation bar styles and makes transition animations smooth between different navigation bar styles while pushing or popping a view controller for all orientations. And you don't need to write any line of code for it, it all happens automatically. -
RazzleDazzle
A simple keyframe-based animation framework for iOS, written in Swift. Perfect for scrolling app intros. -
CircleMenu
CircleMenu is a simple, elegant UI menu with a circular layout and material design animations. -
PagingMenuController
Paging view controller with customizable menu in Swift.
Scout APM - Leading-edge performance monitoring starting at $39/month
* 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)
Use isFlashScrollIndicatorsEnabled
to enable/disable flash scroll indicators while text view height is less than max height.
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, [email protected]
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.