Skip to content

Zaprogramiacz/GrowingTextView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Growing text view in SwiftUI

Swift: 5.2 SwiftUI

If you are planning to write a messaging feature or you are just a SwiftUI enthusiast, this repository can be interesting for you. SwiftUI doesn't provide us the equivalent of UITextView, so to use it in SwiftUI, you need to write a wrapper. Additionally, UITextView can't have a placeholder. I've made a component that can have a placeholder and grow to a predefined height. I hope that this piece of code will help in your SwiftIU adventure.

preview

About

Growing text view in SwiftUI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages