Giter Club home page Giter Club logo

tabview's Introduction

Tab View

TiltedTabViewTabViewInputAssistantGit


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.

tabview's People

Contributors

ian-mcdowell avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.