Skip to content

Instantly share code, notes, and snippets.

View sameersyd's full-sized avatar
🪄
Magic w/ Code

Sameer Nawaz sameersyd

🪄
Magic w/ Code
View GitHub Profile
@sameersyd
sameersyd / TwoDirectionalSnapList.swift
Last active September 18, 2023 06:41
SwiftUI - Two Directional SnapList
// Checkout the explanation article here - https://sameer-syd.medium.com/swiftui-two-directional-snaplist-95cb852957be
import SwiftUI
import Combine
struct HomeView: View {
@StateObject var viewModel: HomeViewModel