Post

Replies

Boosts

Views

Activity

Dynamic height for TextEditor
I'm trying to fit the TextEditor inside a ScrollView. Is there a way to make TextEditor only takes up the space that it needs to fit all text? or simply, how to change the height of the TextEditor dynamically to fit all the text?
4
0
7.6k
Jul ’20
Fetch data from CoreData for iOS 14 widget
I want to display data fetched from Core Data in a widget. But @FetchRequest doesn’t work on widgets. As I understand, we have to create an app group and make a shared persistent container. What I want to know is how to read (fetch) data on widgets from that shared persistent container.  or simply, how to display data fetched from Core Data in widgets. Please help me. Thanks.
1
0
3.7k
Sep ’20