UITextView

UITextView.playground is an starting point to experiment with UITextView in an interactive playground:

UIView

import UIKit
import PlaygroundSupport

class TextViewController : UIViewController {

    override func loadView() {

        let textView = UITextView()
        textView.text = "Hello World!\nHello Playground!"

        self.view = textView
    }
    
}

PlaygroundPage.current.liveView = TextViewController()
Btn training bbbdf557d2 Next iOS training: 25. Februar - 01. März 2019, Stuttgart
Btn about 5378472193 About me · Contact