TextEditor is a view in SwiftUI which allows you to display and edit text in your app. The text can consist of multiple lines and can be scrollable. Follow this tutorial to learn how to create, use and style TextEditor in SwiftUI. In order to initialize a TextEditor, you need to pass in a binding …