Latest | 1.1.2 |
---|---|
Homepage | https://github.com/gloubibou/HHTabListController |
License | BSD Copyright (c) 2012-2013, Pierre Bernard & Houdah Software s.à r.l. All rights reserved. Redistribution and use in source and binary forms, with or without THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND |
Platforms | ios 5.1, requires ARC |
Frameworks | CoreGraphics |
HHTabListController – Vertical tab view controller
HHTabListController is an implementation of a tab controller where tabs are listed in a table view hidden behind the active view controller.
The list of tabs may be revealed using a swipe gesture or by touching a button.
Visually the implementation is similar to the sliding menu or navigation bar seen in many iOS applications. To my knowledge the idea was pioneered by the Facebook app.
The HHTabListController implementation was written for the ACTPrinter 4.0 application.
The code presented here is identical to the one used in the shipped product.
Features
- Tab controller implemented using view controller containment
- API similar to UITabBarController
- "Unlimited" number of tabs
- Works on both iPhone and iPad
- Supports all iPhone screen sizes
Requirements
- iOS 5.1 or later
- ARC memory management. Code for retain/release is included, but not tested
Usage
- Copy the following to your project:
- HHTabListCell.h
- HHTabListCell.m
- HHTabListContainerView.h
- HHTabListContainerView.m
- HHTabListController.h
- HHTabListController.m
- HHTabListTabsView.h
- HHTabListTabsView.m
- Initialize an instance of HHTabListController with an array of view controllers
- Use this HHTabListController as a root view controller
- Optionally add -[HHTabListController revealTabListBarButtonItem] to your navigation bars
- Refer to the demo application for details
License
This code is made available under the terms of the BSD license as included in the source files.
Latest podspec
{ "name": "HHTabListController", "version": "1.1.2", "summary": "HHTabListController - Vertical tab view controller.", "description": " HHTabListController is an implementation of a tab controller where tabs are listed in a table view hidden behind the active view controller. The list of tabs may be revealed using a swipe gesture or by touching a button.nnVisually the implementation is similar to the sliding menu or navigation bar seen in many iOS applications. To my knowledge the idea was pioneered by the Facebook app.nnThe HHTabListController implementation was written for the [ACTPrinter 4.0 application](https://itunes.apple.com/app/actprinter-virtual-printer/id296083171?mt=8).nThe code presented here is identical to the one used in the shipped product.n", "homepage": "https://github.com/gloubibou/HHTabListController", "license": { "type": "BSD", "text": " Copyright (c) 2012-2013, Pierre Bernard & Houdah Software s.u00e0 r.l.n All rights reserved.nn Redistribution and use in source and binary forms, with or withoutn modification, are permitted provided that the following conditions are met:n * Redistributions of source code must retain the above copyrightn notice, this list of conditions and the following disclaimer.n * Redistributions in binary form must reproduce the above copyrightn notice, this list of conditions and the following disclaimer in then documentation and/or other materials provided with the distribution.n * Neither the name of thenor then names of its contributors may be used to endorse or promote productsn derived from this software without specific prior written permission.nn THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" ANDn ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIEDn WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AREn DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANYn DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGESn (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED ANDn ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORTn (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THISn SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.n" }, "authors": "Pierre Bernard", "source": { "git": "https://github.com/gloubibou/HHTabListController.git", "tag": "v1.1.2" }, "platforms": { "ios": "5.1" }, "source_files": [ "Classes", "HHTabList/**/*.{h,m}" ], "public_header_files": "HHTabList/**/*.h", "resources": "HHTabList/**/*.{png}", "frameworks": "CoreGraphics", "requires_arc": true }
Sun, 28 Feb 2016 14:55:03 +0000