pujiaxin33 / Jxmovablecelltableview
Licence: mit
The custom tableView which can start moving the cell with a long press gesture.
Stars: β 164
Labels
Projects that are alternatives of or similar to Jxmovablecelltableview
Giftsurfaceview
π· η΄ζι΄ιη€Όη©ζΌεΎζ‘ε¨η»ζ§δ»Ά
Stars: β 228 (+39.02%)
Mutual labels: move
Draggable Vue Directive
Vue2 directive that handles drag & drop
Stars: β 286 (+74.39%)
Mutual labels: move
Node Fs Extra
Node.js: extra methods for the fs object like copy(), remove(), mkdirs()
Stars: β 8,142 (+4864.63%)
Mutual labels: move
zenhub-pipeline
Automatically transfer issues in pipeline by commit message
Stars: β 14 (-91.46%)
Mutual labels: move
dicom-dimse-native
node js native addon for dimse services
Stars: β 33 (-79.88%)
Mutual labels: move
Dragmove.js
A super tiny Javascript library to make DOM elements draggable and movable. ~500 bytes and no dependencies.
Stars: β 757 (+361.59%)
Mutual labels: move
Move To Library Sketchplugin
You can now move symbol from your project to any library and re-attach all the symbol instances to this library. also it keep the overrides without any problems and it work with abstract that have libraries not in your local machine
Stars: β 174 (+6.1%)
Mutual labels: move
Fs extra
Expanding opportunities standard library std::fs and std::io
Stars: β 95 (-42.07%)
Mutual labels: move
Containercontroller
UI Component. This is a copy swipe-panel from app: Apple Maps, Stocks. Swift version
Stars: β 273 (+66.46%)
Mutual labels: move
Fcfilemanager
iOS File Manager on top of NSFileManager for simplifying files management. π
Stars: β 862 (+425.61%)
Mutual labels: move
node-movehub
Node.js interface for the Lego Boost Move Hub π€ π± πΈ π
Stars: β 57 (-65.24%)
Mutual labels: move
move.nvim
Gain the power to move lines and blocks and auto-indent them!
Stars: β 109 (-33.54%)
Mutual labels: move
React Move
React Move | Beautiful, data-driven animations for React
Stars: β 6,395 (+3799.39%)
Mutual labels: move
Zoomove
π π Enlarges the image with the mouse hover and move
Stars: β 339 (+106.71%)
Mutual labels: move
Displace
Minimal javascript library for creating movable DOM elements
Stars: β 127 (-22.56%)
Mutual labels: move
Leaflet.motion
A simple tool to animate polylines and polygons in different way
Stars: β 76 (-53.66%)
Mutual labels: move
137 Stopmove
Algorithms to automatically discover stops and moves in GPS trajectories.
Stars: β 19 (-88.41%)
Mutual labels: move
Overview
The custom tableView which can start moving the cell with a long press gesture.
The JXMovableCellTableView which added a UILongPressGestureRecognizer
. when gesture started take a snapshot for cell which pressed.Then you can customize movable cell and start move animation.
Check it out!
- Edge scroll
- Neon light
- Breath
Features
- Just need a long press gesture can start moving cell. Don't need call system api
[tableView setEditing:YES animated:YES];
. - Highly customizing the cell style being moved.
- Highly customizing start move cell animation.
- Support to move to the edge of the screen to scroll the tableview.
Usage
-
canEdgeScroll
Whether to allow dragging to the edge of the screen, turn on edge scrolling.default YES.
-
edgeScrollRange
The edge scrolls the trigger range, and the closer to the edge, the faster the speed. The default is 150.
-
JXMovableCellTableViewDelegate
/**
* The cell that will start moving the indexPath location
*/
- (void)tableView:(JXMovableCellTableView *)tableView willMoveCellAtIndexPath:(NSIndexPath *)indexPath;
/**
* Move cell `fromIndexPath` to `toIndexPath` completed
*/
- (void)tableView:(JXMovableCellTableView *)tableView didMoveCellFromIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSIndexPath *)toIndexPath;
/**
* Move cell ended
*/
- (void)tableView:(JXMovableCellTableView *)tableView endMoveCellAtIndexPath:(NSIndexPath *)indexPath;
/**
* The user tries to move a cell that is not allowed to move. You can make some prompts to inform the user.
*/
- (void)tableView:(JXMovableCellTableView *)tableView tryMoveUnmovableCellAtIndexPath:(NSIndexPath *)indexPath;
/**
* Customize the screenshot style of the movable cell
*/
- (void)tableView:(JXMovableCellTableView *)tableView customizeMovalbeCell:(UIImageView *)movableCellsnapshot;
/**
* Custom start moving cell animation
*/
- (void)tableView:(JXMovableCellTableView *)tableView customizeStartMovingAnimation:(UIImageView *)movableCellsnapshot fingerPoint:(CGPoint)fingerPoint;
JXMovableCellTableViewDataSource
/**
* Get the data source array of the tableView, each time you start the call to get the latest data source.
* The array in the data source must be a mutable array, otherwise it cannot be exchanged
* The format of the data source:@[@[sectionOneArray].mutableCopy, @[sectionTwoArray].mutableCopy, ....].mutableCopy
* Even if there is only one section, the outermost layer needs to be wrapped in an array, such as:@[@[sectionOneArray].mutableCopy].mutableCopy
*/
- (NSMutableArray *)dataSourceArrayInTableView:(JXMovableCellTableView *)tableView;
Installation
Manual
Download git reposity, decompress zip, drag JXMovableCellTableView.h&.m into your project.
CocoaPods
target '<Your Target Name>' do
pod 'JXMovableCellTableView'
end
You should run pod repo udpate
before pod install
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].