🍦 SwiftServe Get

Menu / ui.pull-to-refresh

Can Swift packages do pull to refresh?

also known as: refresh control · swipe to refresh

PackageiOSmacOSwatchOStvOSvisionOSLinuxCatalyst

serves it · confidence 0.70 · as of 1.1.9

  • RefreshableScrollView
    Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift:70
    View the line on GitHub →
    Core pull-to-refresh container for any ScrollView; unguarded public struct.
  • RefreshableScrollView.init
    Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift:86
    View the line on GitHub →
    Callback-based initializer (onRefresh:, threshold:, shouldTriggerHapticFeedback:); unguarded.
  • View.refreshableCompat
    Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift:298
    View the line on GitHub →
    Drop-in modifier mirroring iOS 15 refreshable; declared outside the compiler(>=5.5) guards.
?

not verified yet · confidence 0.30 · as of 1.1.9

  • RefreshActivityIndicator.makeUIView
    Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift:205
    View the line on GitHub →
    Surface parses PRESENT (no os() guards anywhere), but the module unconditionally references UIKit-only types (UIViewRepresentable, UIActivityIndicatorView, and UIImpactFeedbackGenerator internally), so macOS compilation is doubtful. No guard/availability absence evidence exists, so status stays unknown.
?

not verified yet · confidence 0.30 · as of 1.1.9

  • RefreshActivityIndicator.makeUIView
    Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift:205
    View the line on GitHub →
    Surface parses PRESENT, but UIViewRepresentable/UIActivityIndicatorView are unavailable on watchOS and the reference is unguarded; no absence guard evidence, so unknown.
?

not verified yet · confidence 0.30 · as of 1.1.9

  • RefreshableScrollView.init
    Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift:86
    View the line on GitHub →
    Surface parses PRESENT, but the implementation uses UIImpactFeedbackGenerator (unavailable on tvOS) unguarded, and the pull gesture is not a tvOS interaction; no absence guard evidence, so unknown.
?

not verified yet · confidence 0.40 · as of 1.1.9

  • RefreshableScrollView
    Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift:70
    View the line on GitHub →
    Surface parses PRESENT and the SwiftUI+UIKit types used are generally available on visionOS, so compilation is plausible, but there is no visionOS-specific evidence or build verdict.
?

not verified yet · confidence 0.20 · as of 1.1.9

  • RefreshableScrollView
    Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift:70
    View the line on GitHub →
    Declared in a module that unconditionally imports SwiftUI, which does not exist on Linux; the digest records no os() guard, so this cannot be claimed unsupported, but Linux support is implausible.

serves it · confidence 0.60 · as of 1.1.9

  • RefreshableScrollView
    Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift:70
    View the line on GitHub →
    Unguarded declaration, PRESENT on macCatalyst per surface; Mac Catalyst inherits the iOS UIKit APIs the module uses (UIActivityIndicatorView, UIImpactFeedbackGenerator).
  • RefreshableScrollView.init
    Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift:86
    View the line on GitHub →
    Unguarded callback-based initializer, PRESENT on macCatalyst per surface.

✓ serves it · ◐ with conditions · ✕ not served (proven) · ? not verified yet — hover any verdict for the receipt, click to pin it