All Projects → rickharrison → Rhhorizontaltableview

rickharrison / Rhhorizontaltableview

UITableView subclass that scrolls horizontally instead of vertically.

Projects that are alternatives of or similar to Rhhorizontaltableview

Mbtwitterscroll
Recreate Twitter's profile page scrolling animation for UITableView and UIScrollViews.
Stars: ✭ 421 (+1519.23%)
Mutual labels:  uitableview
Swipecellkit
A swipeable UITableViewCell or UICollectionViewCell with support for:
Stars: ✭ 5,745 (+21996.15%)
Mutual labels:  uitableview
Brflabbytable
Bouncy and distorded table view cells, available on Cocoapods
Stars: ✭ 824 (+3069.23%)
Mutual labels:  uitableview
Dttableviewmanager
Protocol-oriented UITableView management, powered by generics and associated types.
Stars: ✭ 424 (+1530.77%)
Mutual labels:  uitableview
Tableflip
A simpler way to do cool UITableView animations! (╯°□°)╯︵ ┻━┻
Stars: ✭ 547 (+2003.85%)
Mutual labels:  uitableview
Tysnapshotscroll
一句代码保存截图,将 UIScrollView UITableView UICollectionView UIWebView WKWebView 网页 保存 为 长图 查看。Save the scroll view page as an image,support UIScrollView,UITableView,UICollectionView,UIWebView,WKWebView.(Support iOS13)
Stars: ✭ 709 (+2626.92%)
Mutual labels:  uitableview
Lpdmvvmkit
LPDMvvmKit - Elegant MVVM framework in Objective-C.
Stars: ✭ 400 (+1438.46%)
Mutual labels:  uitableview
Cascadingtabledelegate
A no-nonsense way to write cleaner UITableViewDelegate and UITableViewDataSource in Swift.
Stars: ✭ 931 (+3480.77%)
Mutual labels:  uitableview
Tablekit
Type-safe declarative table views.
Stars: ✭ 567 (+2080.77%)
Mutual labels:  uitableview
Changeset
Minimal edits from one collection to another
Stars: ✭ 807 (+3003.85%)
Mutual labels:  uitableview
Mylinearlayout
MyLayout is a powerful iOS UI framework implemented by Objective-C. It integrates the functions with Android Layout,iOS AutoLayout,SizeClass, HTML CSS float and flexbox and bootstrap. So you can use LinearLayout,RelativeLayout,FrameLayout,TableLayout,FlowLayout,FloatLayout,PathLayout,GridLayout,LayoutSizeClass to build your App 自动布局 UIView UITab…
Stars: ✭ 4,152 (+15869.23%)
Mutual labels:  uitableview
Tableviewdragger
A cells of UITableView can be rearranged by drag and drop.
Stars: ✭ 469 (+1703.85%)
Mutual labels:  uitableview
Flix
iOS reusable form library in Swift.
Stars: ✭ 725 (+2688.46%)
Mutual labels:  uitableview
Owl
A declarative type-safe framework for building fast and flexible lists with UITableViews & UICollectionViews
Stars: ✭ 423 (+1526.92%)
Mutual labels:  uitableview
Swiftyform
iOS framework for creating forms
Stars: ✭ 907 (+3388.46%)
Mutual labels:  uitableview
Flow
Declarative approach to populate and manage UITableViews (see https://github.com/malcommac/FlowKit)
Stars: ✭ 421 (+1519.23%)
Mutual labels:  uitableview
Gltablecollectionview
Netflix and App Store like UITableView with UICollectionView, written in pure Swift 4.2
Stars: ✭ 709 (+2626.92%)
Mutual labels:  uitableview
Thinningcoordinator
The UITableView/UICollectionView dataSource/delegate thinning coordinator, help thinning your UIViewController!
Stars: ✭ 25 (-3.85%)
Mutual labels:  uitableview
Multipletimers
Stars: ✭ 24 (-7.69%)
Mutual labels:  uitableview
Viewanimator
ViewAnimator brings your UI to life with just one line
Stars: ✭ 6,592 (+25253.85%)
Mutual labels:  uitableview

RHHorizontalTableView 0.1.0

RHHorizontalTableView is a subclass of UITableView, which is a part of UIKit. Instead of scrolling vertically, it scrolls horizontally and loads in new cells as they come onto the screen from the left or right.

Guidelines

Before implementation, make sure you understand the following:

  1. The height of the rows will be what you set as the height property for the table view
  2. Section headers will appear in the top left of the table view with the width and height as returned by the delegate methods. Instead of being pushed off the screen, subsequent section headers will scroll over top of other headers.
  3. You can either have the scroll bar be at the top or the bottom of the table view using the indicatorPosition property. Possible values are:
    • RHHorizontalTableViewScrollIndicatorPositionTop
    • RHHorizontalTableViewScrollIndicatorPositionBottom

Usage

  1. Clone or otherwise copy RHHorizontalTableView.h and RHHorizontalTableView.m into your project.
  2. Create a RHHorizontalTableView either in Interface Builder or in code with - (id)initWithFrame:(CGRect)frame style:(UITableViewStyle)style
  3. Implement the data source/delegate methods as you would usually with one caveat:
    • Return the desired width of a cell in - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath

To Do

  1. Support UITableViewStyleGrouped
  2. Allow section headers to push previous headers off the screen as in the vertical version

License

Copyright (c) 2011 Rick Harrison, http://rickharrison.me

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].