home.social

#uiviewrepresentable — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #uiviewrepresentable, aggregated by home.social.

  1. #SwiftUI #UIViewRepresentable #ScrollView #LazyVStack

    I’m working on a gnarly problem with LazyVStack in a scroll view, where the rows contain UITextView subclasses. When I focus on text view and keyboard comes up, the text view immediately loses focus if it’s towards the bottom of scroll view.

    I’m debugging my views with `Self._printChanges()`, and it often tells me: `MyView: @self changed.` I suspect it’s related. Docs aren’t really clear: what does `@self changed` really mean here? 😀

  2. #SwiftUI #UIViewRepresentable #ScrollView #LazyVStack

    I’m working on a gnarly problem with LazyVStack in a scroll view, where the rows contain UITextView subclasses. When I focus on text view and keyboard comes up, the text view immediately loses focus if it’s towards the bottom of scroll view.

    I’m debugging my views with `Self._printChanges()`, and it often tells me: `MyView: @self changed.` I suspect it’s related. Docs aren’t really clear: what does `@self changed` really mean here? 😀

  3. #SwiftUI #UIViewRepresentable #ScrollView #LazyVStack

    I’m working on a gnarly problem with LazyVStack in a scroll view, where the rows contain UITextView subclasses. When I focus on text view and keyboard comes up, the text view immediately loses focus if it’s towards the bottom of scroll view.

    I’m debugging my views with `Self._printChanges()`, and it often tells me: `MyView: @self changed.` I suspect it’s related. Docs aren’t really clear: what does `@self changed` really mean here? 😀

  4. #SwiftUI #UIViewRepresentable #ScrollView #LazyVStack

    I’m working on a gnarly problem with LazyVStack in a scroll view, where the rows contain UITextView subclasses. When I focus on text view and keyboard comes up, the text view immediately loses focus if it’s towards the bottom of scroll view.

    I’m debugging my views with `Self._printChanges()`, and it often tells me: `MyView: @self changed.` I suspect it’s related. Docs aren’t really clear: what does `@self changed` really mean here? 😀

  5. #SwiftUI #UIViewRepresentable #ScrollView #LazyVStack

    I’m working on a gnarly problem with LazyVStack in a scroll view, where the rows contain UITextView subclasses. When I focus on text view and keyboard comes up, the text view immediately loses focus if it’s towards the bottom of scroll view.

    I’m debugging my views with `Self._printChanges()`, and it often tells me: `MyView: @self changed.` I suspect it’s related. Docs aren’t really clear: what does `@self changed` really mean here? 😀