Skip to content
Projetos

JazysYu/JZTableViewRowAction

Ver no GitHub

Sobre

Using UITableViewRowAction on iOS >= 5.0

Desenvolvimento web e de aplicativos

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
0
em 7 dias
0
em 15 dias
0
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

JZTableViewRowAction

Using UITableViewRowAction on iOS >= 5.0, you can set an image or enable status for UITableViewRowAction.

Overview

overview

Usage

  • Implement API in UITableViewDelegate:
- (nullable NSArray<UITableViewRowAction *> *)tableView:(UITableView *)tableView editActionsForRowAtIndexPath:(NSIndexPath *)indexPath
  • Create UITableViewRowAction with an image:
UITableViewRowAction *action = [UITableViewRowAction rowActionWithStyle:UITableViewRowActionStyleDefault image:"your image" handler:rowActionHandler];
```	

* 	Set enable status:

```objc
	action.enabled = false;

Installation

Drag all source files under floder JZTableViewRowAction to your project.

UITableViewRowAction+JZExtension.h	UITableViewRowAction+JZExtension.m
UITableViewCell+JZExtension.m		UITableViewRowAction.m

欢迎微博@J_雨与我交流

Explore projetos relacionados

Carregando…