Code Monkey home page Code Monkey logo

expandabletableview's Introduction

ExpandableTableView

GitHub:HeYang | Blog:HeYang(Chinese)

Contents

Getting Started 【开始使用】

Manually【手动导入】

  • Drag all source files under floder ExpandableTableView to your project.【将ExpandableTableView文件夹中的所有源代码拽入项目中】
  • Import the main header file:#import "ExpandableTableView.h"【导入主头文件:#import "ExpandableTableView.h"
  • How to use?

####Use Simple Example: In file 'ViewController.m'

#import "ViewController.h"

#import "ExpandableTableView.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    //1、创建ExpandableTableView
    ExpandableTableView* extb = [[ExpandableTableView alloc] initWithFrame:self.view.frame];
    //2、设置origin,主要是考虑在有状态栏的情况,就让他下移20
    extb.origin = CGPointMake(0, 20);
    //3、添加到父控件
    [self.view addSubview:extb];
    
}

@end

Examples【示例】

1、Intrduction Plist file configuration:

2、Copy plist item:

expandabletableview's People

Contributors

heyang123456789 avatar

Watchers

James Cloos avatar YI-FAN WU 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.