Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • ok, thanks a bunch. Just as an additional side question, Is there any real difference/best practices between uiTextFields and uiTExtViews...(Besides the dimensions)? Commented Oct 28, 2014 at 14:07
  • 2
    To be honest, I just look up how the class or protocol is implemented behind the scenes and all the available functions, properties, etc. Then I read all the Apple text comments and think about the intent of each class/protocol and why the different features are available. Commented Oct 28, 2014 at 14:15
  • 1
    In Swift 1.2 it should be func textView(textView: UITextView, shouldChangeTextInRange range: NSRange, replacementText text: String) -> Bool Commented May 29, 2015 at 8:05
  • var isNewline: Bool { get } iOS 8+ Commented Jan 29, 2024 at 8:06