Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. iOS
  3. BSZoomGridScrollView

BSZoomGridScrollView

MITSwift

A SwiftUI and UIKit grid scroll view for iOS that supports zooming and touch tracking on image arrays.

GitHubGitHub
161 stars12 forks0 contributors

What is BSZoomGridScrollView?

BSZoomGridScrollView is an iOS UI framework that provides a grid scroll view capable of displaying arrays of images with zooming and touch tracking functionality. It solves the problem of creating interactive, gesture-responsive grid interfaces in both SwiftUI and UIKit environments. The framework handles complex UI interactions like long press and drag gestures out of the box.

Target Audience

iOS developers building apps that require interactive image grids, such as photo galleries, browsing interfaces, or any application needing zoomable and scrollable grid layouts. It is particularly useful for those working with both SwiftUI and UIKit.

Value Proposition

Developers choose BSZoomGridScrollView for its seamless integration with both SwiftUI and UIKit, reducing the need to build custom grid solutions from scratch. Its unique selling point is the combination of zoom, touch tracking, and gesture-driven image selection in a single, easy-to-implement component.

Overview

Fun GridScrollView written in SwiftUI + Combine, bridging between UIKit

Use Cases

Best For

  • Building interactive photo galleries with zoom and scroll
  • Creating image browsing interfaces similar to the Observable app
  • Implementing grid-based UI with touch and gesture tracking
  • Developing SwiftUI apps that require complex grid layouts
  • Adding zoomable grid scroll views to UIKit projects
  • Prototyping apps with interactive image grids quickly

Not Ideal For

  • Projects needing to display non-image content (e.g., text, custom views) in a grid
  • Applications requiring high-performance scrolling with thousands of dynamic items
  • Teams prioritizing long-term support and extensive documentation over quick prototyping
  • Use cases where grid layout must be dynamically updated or animated beyond basic configuration

Pros & Cons

Pros

SwiftUI & UIKit Compatibility

Fully supports both SwiftUI and UIKit with separate code examples, enabling unified development across modern iOS projects without rewriting UI layers.

Out-of-the-Box Interactivity

Provides zoom, touch tracking, and gesture-driven selection (long press and drag) automatically, as shown in the GIF demo and code snippets, reducing custom gesture handling.

Easy Customization

Allows configuration of columns, rows, and zoom effects through simple parameters like numberOfColumns and powerOfZoomBounce, demonstrated in the SwiftUI example.

Quick Integration

With minimal code—just importing and initializing—developers can add a functional grid scroll view, highlighted in the 'At a Glance' snippet with few steps.

Cons

Image-Only Content

Designed specifically for UIImage arrays (itemsToZoom parameter), limiting use for grids with other data types like text or videos without modifications.

Informal Maintenance

The README states it was 'done for my fun,' suggesting potential lack of ongoing updates, bug fixes, or professional support, which could be risky for production apps.

Performance Scalability

Example usage shows high column counts (e.g., 200 columns), but without optimizations like lazy loading, it might struggle with large image sets, leading to memory or scrolling issues.

Limited Advanced Features

Missing common grid library features such as dynamic item insertion/deletion, advanced animations, or accessibility hooks, focusing only on basic zoom and selection.

Frequently Asked Questions

Quick Stats

Stars161
Forks12
Contributors0
Open Issues0
Last commit5 years ago
CreatedSince 2019

Tags

#ios#grid-view#combine#ui-components#swiftui#image-gallery#swift-framework#uikit

Built With

C
Combine
S
SwiftUI
U
UIKit

Included in

iOS51.7k
Auto-fetched 7 hours ago

Related Projects

GPU ImageGPU Image

An open source iOS framework for GPU-based image and video processing

Stars20,297
Forks4,556
Last commit2 years ago
FastImageCacheFastImageCache

iOS library for quickly displaying images while scrolling

Stars8,066
Forks921
Last commit3 years ago
GPUImage2GPUImage2

GPUImage 2 is a BSD-licensed Swift framework for GPU-accelerated video and image processing.

Stars4,942
Forks616
Last commit2 years ago
AlamofireImageAlamofireImage

AlamofireImage is an image component library for Alamofire

Stars4,026
Forks518
Last commit1 month ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub