Giter Club home page Giter Club logo

swpicselectcontainer's Introduction

SWPicSelectContainer

仿"探探"上传图片控件-支持滑动,拖拽,上传

Demo

Demo gif

Installation

git => "https://github.com/heartfly/SWPicSelectContainer.git"

Usage

  • Initialization
SWPicSelectViewContainer *picSelectView=[[SWPicSelectViewContainer alloc] initWithFrame:CGRectMake(0, 64, kWindowWidth,  kWindowWidth) andImageURLArray:nil];
picSelectView.deledate = (id)self;
[self.view addSubview:picSelectView];
    
    
  • DataSource & Delegate
     
NSMutableArray *imageArr = [NSMutableArray array];
[imageArr addObject:[NSURL URLWithString:@"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1491816805633&di=85e496d8da5d5c8ddae9898160127ae0&imgtype=0&src=http%3A%2F%2Fnpic7.edushi.com%2Fcn%2Fzixun%2Fzh-chs%2F2017-03%2F03%2F3824368-2017030316251198.jpg"]];
[imageArr addObject:[NSURL URLWithString:@"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1491824314063&di=651e79fc3599f6d4cc1b8d8086df45dc&imgtype=0&src=http%3A%2F%2Fimg.tupianzj.com%2Fuploads%2Fallimg%2F160821%2F9-160R1150K2.jpg"]];
[picSelectView setABNImageURLArray:imageArr];
    
    
#pragma  mark - ABNPicSelectViewContainerDelegate
- (void)changeSelectImageArray:(NSMutableArray *)imgArray
{
   //返回修改后的图片数组
}

swpicselectcontainer's People

Contributors

swain666 avatar

Watchers

 avatar

Forkers

dander521

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.