ian-mcdowell/TiltedTabView
关于
iOS control to replicate the tab switcher in Safari for iOS.
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Tilted Tab View
TiltedTabView • TabView • InputAssistant • Git
This library aims to replicate the tab switcher in Safari on iOS. It handles both compact width (tilted) and regular width (grid) layouts.
Requirements
- Xcode 9 or later
- iOS 10.0 or later
Usage
The main class in this library is the TiltedTabViewController. It is a subclass of UICollectionViewController, that contains a custom collection view and layout.
To get started, create a view controller that subclasses TiltedTabViewController
The TiltedTabViewController has data source and delegate properties, similar to those of a UICollectionView.
Set an object that conforms to the TiltedTabViewControllerDataSource and TiltedTabViewControllerDelegate protocols as the dataSource and delegate properties, respectively.
Provide implementations for all required methods of each protocol, and you're off to the races.
Installation
Carthage
To install TiltedTabView using Carthage, add the following line to your Cartfile:
github "IMcD23/TiltedTabView" "master"
Submodule
To install TiltedTabView as a submodule into your git repository, run the following command:
git submodule add -b master https://github.com/IMcD23/TiltedTabView.git Path/To/TiltedTabView
git submodule update --init --recursive
Then, add the .xcodeproj in the root of the repository into your Xcode project, and add it as a build dependency.
ibuild
A Swift static library of this project is also available for the ibuild build system. Learn more about ibuild here
Author
Created by Ian McDowell
License
All code in this project is available under the license specified in the LICENSE file. However, since this project also bundles code from other projects, you are subject to those projects' licenses as well.
探索相关项目
加载中…