Skip to content

Instantly share code, notes, and snippets.

@jfuellert
jfuellert / ScrollableView.swift
Last active April 24, 2025 01:55
A scrollable SwiftUI view, UIScrollView wrapper. ScrollableView lets you read and write content offsets for scrollview in SwiftUI, with and without animations.
import SwiftUI
struct ScrollableView<Content: View>: UIViewControllerRepresentable, Equatable {
// MARK: - Coordinator
final class Coordinator: NSObject, UIScrollViewDelegate {
// MARK: - Properties
private let scrollView: UIScrollView
var offset: Binding<CGPoint>
@IsaacXen
IsaacXen / README.md
Last active July 1, 2025 10:24
(Almost) Every WWDC videos download links for aria2c.