Skip to content
项目

关于

:octocat: ≡ GarlandView 可在多个内容列表之间流畅切换。由 @Ramotion 制作的 Swift UI 库。

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

GARLAND VIEW

Garland View seamlessly transitions between multiple lists of content.


We specialize in the designing and coding of custom UI for Mobile Apps and Websites.

Stay tuned for the latest updates:


Twitter Carthage compatible codebeat badge Donate

Requirements

  • iOS 10.0
  • Xcode 9
  • Swift 4.0

Installation

You can install garland-view in several ways:

  • Add source files to your project.

pod 'garland-view'

github "Ramotion/garland-view"

Usage

Garland View

Garland view can be used directly or by subclassing GarlandViewController. In both variants you need to implement UICollectionViewDataSource and UICollectionViewDelegate protocols.

let nib = UINib(nibName: "CollectionCell", bundle: nil)
garlandCollection.register(nib, forCellWithReuseIdentifier: "Cell")
garlandCollection.delegate = self
garlandCollection.dataSource = self

Control can be user with or without header view. Use setupHeader(:UIView) to customize collection header. Use GarlandConfig to make your custom configuration.

Take a look at the Example project for an integration example.

🗂 Check this library on other language:

📄 License

Garland View is released under the MIT license. See LICENSE for details.

This library is a part of a selection of our best UI open-source projects.

If you use the open-source library in your project, please make sure to credit and backlink to https://www.ramotion.com/

📱 Get the Showroom App for iOS to give it a try

Try this UI component and more like this in our iOS app. Contact us if interested.

探索相关项目

加载中…