Latest reply on Jul 27, 2016 2:16 AM by eskimo . Feb 22nd, 2015. UITextView placeholder text in Storyboards not getting localized... 2862 Views 2 Replies. In UITextField there is already property exist for placeholder and there is no need to create custom codes for placeholder but there is limitation in UITextField that it can allow only one line in text Visibility but sometime in same cases we need to make more lines visible in input methods also like send messages or take reviews and etc.,. It takes all the burden from the view controller and is a real plug-in: it won’t interfere with existing code and only requires you add the file to your project. MarqueeLabel is a UILabel subclass adds a scrolling marquee effect when the text of the label outgrows the available width. Don't get me wrong, but there were some compelling reasons for me to use UITextView.The reason being, I wanted to add a clickable link to the text and when user taps on it, execute a certain action. The 2 classes (.xib and .swift) can be dropped into any project and specified as the custom class of a UIView in your Storyboard or Xib, with the placeholder text configurable in Interface Builder. It might not be enough if you have want to display multiple lines of text. 17 January 2020 DSTextView to get rid of placeholder and its color issue of UITextView of UIKit in swift 5 Last week I was working on one of the projects that required using UITextView instead of more standard UILabel instance. @manolosavi For the notification version (which, in my view, is an important improvement over hijacking the delegate), it would be better to set the last argument to self instead of nil, so the selector only gets called for changes to the text of our own text, not every UITextView instance. Setting Placeholder in UITextView – Overview. Kevin McNeish created a Swift extension for UITextView to show a placeholder text when a text field is still empty. UITextView with Placeholder. Plug-in a UITextView Placeholder Label Extension. It is implemented as a subclass of UIView using a Xib, and supports IBDesignable and IBInspectable.. The UITextField, however, limits the display to be one line. Traditionally, UITextField comes with placeholder field (a default text displayed in the textfield that disappears once the user inputs some text). This post is a brief tutorial of a UITextView with placeholder text, written in Swift.. Posted on May 26, 2013 by yunmingzhang17.