Skip to content
프로젝트

소개

iOS control to replicate the tab switcher in Safari for iOS.

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
업데이트 지연

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

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.

Build Status Version Package Managers Contact

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.

관련 프로젝트 살펴보기

불러오는 중…