Projets
Voir sur GitHub
JazysYu/JZTableViewRowAction
À propos
Using UITableViewRowAction on iOS >= 5.0
Développement web et applicatifProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
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_雨与我交流
Explorer des projets similaires
Chargement…