Projetos
Ver no GitHub
JazysYu/JZTableViewRowAction
Sobre
Using UITableViewRowAction on iOS >= 5.0
Desenvolvimento web e de aplicativosCrescimento 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
OriginalJZTableViewRowAction
Using UITableViewRowAction on iOS >= 5.0, you can set an image or enable status for UITableViewRowAction.
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…