RepositorySwiftITItaly
MA

malcommac/Owl

A declarative type-safe framework for building fast and flexible lists with UITableViews & UICollectionViews

426stars
30forks
10issues
0views

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: swift-framework

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: swiftlang

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: uitableview

#1 Repository Của Tháng

🦉 Owl: Framework danh sách khai báo an toàn, nhanh và linh hoạt cho iOS

Xây dựng danh sách với UITableView & UICollectionView mà không cần viết delegate hay datasource.

Owl là một framework Swift cho phép xây dựng danh sách nhanh và linh hoạt trên iOS theo cách tiếp cận khai báo an toàn về kiểu. Dự án được tạo và duy trì bởi Daniele Margutti, hỗ trợ cả UICollectionView và UITableView, đồng thời đang phát triển hỗ trợ UIStackView.

✨ Điểm nổi bật

  • Không cần delegate/datasource: Tiếp cận nội dung khai báo đầy đủ kiểu an toàn.
  • Kiến trúc tái sử dụng linh hoạt: Tách rời dữ liệu khỏi giao diện người dùng.
  • Tự động hoá hoá động: Thay đổi nội dung được hoạt ảnh tự động, không cần reloadData hay performBatchUpdates.
  • Thuật toán diff nhanh: Dựa trên DifferenceKit để tính toán thay đổi hiệu quả.
  • Sử dụng UIKit chuẩn: Không áp dụng kỹ thuật đặc biệt nào, giữ nguyên nguyên tắc hoạt động của UIKit.
  • Hỗ trợ Storyboard/Xib: Dễ dàng tải cell từ các nguồn khác nhau.
  • Tự động động hoá phần tử: Quản lý header/footer và hoạt ảnh tự động.

💡 Vì sao đáng chú ý

Owl khác biệt so với cách truyền thống bằng cách loại bỏ hoàn toàn việc triển khai delegate và datasource thủ công. Thay vào đó, nó cung cấp một kiến trúc dựa trên adapter, giúp mỗi cặp Model & Cell được quản lý độc lập và rõ ràng. Điều này giúp giảm lỗi và tăng khả năng bảo trì, đồng thời tận dụng thuật toán diff mạnh mẽ để cập nhật giao diện một cách mượt mà và hiệu quả.


#Swift #iOS #UIKit #OpenSource #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositorySwift
marcosgriselli/ViewAnimator

ViewAnimator brings your UI to life with just one line

7.3k
Mar 31, 2024
RepositorySwift
HeroTransitions/Hero

Elegant transition library for iOS & tvOS

22.5k
Jan 23, 2025
RepositorySwift
SwifterSwift/SwifterSwift

A handy collection of more than 500 native Swift extensions to boost your productivity.

15.2k
Oct 20, 2026
RepositorySwift
Juanpe/SkeletonView

☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting

12.9k
Jun 23, 2026
RepositorySwift
SwipeCellKit/SwipeCellKit

Swipeable UITableViewCell/UICollectionViewCell based on the stock Mail.app, implemented in Swift.

6.3k
May 19, 2024
RepositorySwift
Yalantis/Persei

Animated top menu for UITableView / UICollectionView / UIScrollView written in Swift

3.4k
Apr 22, 2020
RepositorySwift
amirdew/CollectionViewPagingLayout

A simple but highly customizable UICollectionViewLayout for UICollectionView -- Simple SwiftUI views that let you make page-view effects.

2.8k
Apr 2, 2023
RepositorySwift
yacir/CollectionViewSlantedLayout

A CollectionView Layout displaying a slanted cells

2.3k
May 1, 2021
RepositorySwift
HamzaGhazouani/HGPlaceholders

Nice library to show placeholders and Empty States for any UITableView/UICollectionView in your project

2.2k
Jan 13, 2022