Giter Club home page Giter Club logo

shmultileveltable's Introduction

SHMultilevelTable

使用SHMultiLeveTable 可以让你非常容易的实现cell的分层展开,并且不限展开层数,你可以根据数据模型自由控制展开的层数,分层从未如此简单。

导入方法

将文件夹SHMultiLevelTable下面6个文件拷贝到你的工程
    SHMultilevelNodePath.h
    SHMultilevelNodePath.m
    SHMultilevelTableView.h
    SHMultilevelTableView.m
    SHMultilevelTableViewController.h
    SHMultilevelTableViewController.m

SHMultilevelTableView使用方法

如果你的项目中使用UITableView,具体实现方法可以参考SHTestOneView,SHTestTwoView,SHTestThreeView 这三个示例
    第1步 将SHMultilevelTableView作为你的tableView的父类。
    第2步 在你的控制器中实现SHMutilevelTableViewDelegate协议。
    第3步 实现SHMutilevelTableViewDelegate协议。

SHMultilevelTableViewController使用方法

如果你的项目中使用UITableViewController,具体实现方法可以参考SHTestFourViewController示例
    1 将SHMultilevelTableViewController作为你的tableViewcontroller的父类。
    2 在tableViewcontroller中实现SHMutilevelTableViewControllerDelegate协议。

## 下面是简单的演示
![pic1](https://github.com/cshai/SHMultilevelTable/blob/master/other/pic1.gif)

shmultileveltable's People

Contributors

cshai avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

blmyself wmzhoujw

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.