• Stars
    star
    190
  • Rank 203,739 (Top 5 %)
  • Language
    Swift
  • License
    MIT License
  • Created almost 7 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Easily add multiple tabs to your iOS app, styled similar to Safari for iPad.

Tab View

TiltedTabView • TabView • InputAssistant • Git


A replacement for UITabViewController, which mimics Safari tabs on iOS

Build Status Version Package Managers Contact

Requirements

  • Xcode 9 or later
  • iOS 11.0 or later

Usage

There are two primary view controllers in this library: TabViewController and TabViewContainerViewController. A TabViewController contains an array of tabs, a visible tab, and some methods to add and remove tabs. A TabViewContainerViewController contains TabViewControllers.

It's not necessary to use a TabViewContainerViewController, but it's suggested, as it allows for split screen on iPad.

To get started, take a look at the public API for both classes, and look at the sample app for an example of how to use both. At a minimum, you must subclass or instantiate a TabViewController, and add and remove tabs from it using its activateTab(_:) and closeTab(_:) methods.

Installation

Carthage

To install TabView using Carthage, add the following line to your Cartfile:

github "IMcD23/TabView" "master"

Submodule

To install TabView as a submodule into your git repository, run the following command:

git submodule add -b master https://github.com/IMcD23/TabView.git Path/To/TabView
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.

More Repositories

1

TiltedTabView

iOS control to replicate the tab switcher in Safari for iOS.
Swift
427
star
2

InputAssistant

Provide custom auto-completion options for the iOS keyboard.
Swift
104
star
3

ibuild

Build multi-architecture iOS libraries from build systems like CMake, Make, and Xcode.
Swift
18
star
4

Git

Swift library for interacting with git repositories. Based on libgit2.
Swift
15
star
5

IMTreeView

Display tree structures in a UITableView.
Swift
14
star
6

libcurl-ios

Curl, built for iOS as a static library & framework
Objective-C
12
star
7

openssl-ios

OpenSSL, built for iOS as a static library & framework
Objective-C
11
star
8

Shares

File Provider app connecting the Files app to servers over various protocols. For iOS 11+
Swift
9
star
9

NSExtension-Demo

Demo project showing how to use a private NSExtension API to create your own background process on iOS.
Objective-C
8
star
10

libgit2-ios

libgit2, built for iOS as a static library & framework
7
star
11

IMRemoteImageSize

a library for iOS that allows you to retrieve the size of a remote image without having to download it.
Shell
5
star
12

libssh2-ios

libSSH2, built for iOS as a static library & framework
Objective-C
5
star
13

UITableView-ForceTouch

Adds support for 3D touch to UITableViews, so each cell can respond to force applied to it.
Objective-C
4
star
14

techcrunch2017

Hackathon project for Techcrunch Disrupt Hackathon Fall 2017
Objective-C
4
star
15

IMDateScroll

Objective-C
3
star
16

UserInterface

iOS User Interface components and helpers
Swift
3
star
17

SFTPKit

Swift
3
star
18

ConnectionKit

iOS Framework to standardize remote file access protocols
Swift
3
star
19

DataUtilities

iOS utilities and helpers
Swift
2
star
20

MyDining-iOS

Swift
2
star
21

CLLocation-DirectionFromLocation

Objective-C
1
star
22

Proton

Platform for easily building iOS apps in Swift
Swift
1
star