fxjsort's Introduction
顶部按钮长按后可随意拖动排序,点击按钮,按钮会进入下一行。在第二行的按钮不可以拖动,点击时会跳上第一行
gif图500KB一张,加载有点慢~ 找不到好用的gif图制作工具 T T
![image](https://github.com/FengXJ/FXJSort/blob/master/FXJsort1.gif)
![image](https://github.com/FengXJ/FXJSort/blob/master/FXJSort2.gif)
使用方法:
1: 将Demo中的FXJSort文件夹拖入项目,#import "FXJSortView.h"
2:初始化继承FXJSortView的UIView,并加入到你所想加入的视图中
FXJSortView *sortView = [[FXJSortView alloc]initwithframe:];
[self.view addSubview:sortView];
3.调用firstTitleBtns:方法,参数为第一行section的NSArray;
[sortView firstTitleBtns:self.titleArr];(第一行)
[sortView secondTitleBtns:weixuanzhongArr];(第二行)
OK
写的时候脑子有些乱,而且本人水平不足,代码有些乱。请见谅。 如果发现不足可以联系我:[email protected] ^_^
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.