资源简介
因业务需要需要将cell侧滑按钮多个竖向排布,使用系统代理基本上横向排布,所以捣鼓了个自定义cell竖向排布侧滑多个按钮。
使用说明:1.直接继承基类cell,不影响你的业务UI。仅仅只是具有了cell侧滑功能
代码片段和文件信息
//
// AppDelegate.m
// YPCellSwipe
//
// Created by hbck on 2018/11/19.
// Copyright © 2018年 com.hbck.mg. All rights reserved.
//
#import “AppDelegate.h“
#import “ViewController.h“
@interface AppDelegate ()
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
self.window = [[UIWindow alloc] initWithframe:[[UIScreen mainScreen] bounds]];
ViewController *vc = [[ViewController alloc]init];
UINavigationController *nav = [[UINavigationController alloc]initWithRootViewController:vc];
self.window.rootViewController = nav;
[self.window makeKeyAndVisible];
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)application {
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks disable timers and invalidate graphics rendering callbacks. Games should use this method to pause the game.
}
- (void)applicationDidEnterBackground:(UIApplication *)application {
// Use this method to release shared resources save user data invalidate timers and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution this method is called instead of applicationWillTerminate: when the user quits.
}
- (void)applicationWillEnterForeground:(UIApplication *)application {
// Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
}
- (void)applicationDidBecomeActive:(UIApplication *)application {
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background optionally refresh the user interface.
}
- (void)applicationWillTerminate:(UIApplication *)application {
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}
@end
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-11-19 11:02 YPCellSwipe\
目录 0 2018-11-19 11:37 YPCellSwipe\YPCellSwipe\
目录 0 2018-11-19 10:57 YPCellSwipe\YPCellSwipe\YPba
文件 6148 2018-11-19 10:57 YPCellSwipe\YPCellSwipe\YPba
目录 0 2018-11-29 01:30 __MACOSX\
目录 0 2018-11-29 01:30 __MACOSX\YPCellSwipe\
目录 0 2018-11-29 01:30 __MACOSX\YPCellSwipe\YPCellSwipe\
目录 0 2018-11-29 01:30 __MACOSX\YPCellSwipe\YPCellSwipe\YPba
文件 120 2018-11-19 10:57 __MACOSX\YPCellSwipe\YPCellSwipe\YPba
目录 0 2018-11-19 10:39 YPCellSwipe\YPCellSwipe\YPba
文件 629 2018-11-19 10:39 YPCellSwipe\YPCellSwipe\YPba
目录 0 2018-11-29 01:30 __MACOSX\YPCellSwipe\YPCellSwipe\YPba
文件 176 2018-11-19 10:39 __MACOSX\YPCellSwipe\YPCellSwipe\YPba
文件 1856 2018-11-19 10:39 YPCellSwipe\YPCellSwipe\YPba
文件 176 2018-11-19 10:39 __MACOSX\YPCellSwipe\YPCellSwipe\YPba
目录 0 2018-11-19 10:39 YPCellSwipe\YPCellSwipe\YPba
文件 121 2018-11-19 10:39 YPCellSwipe\YPCellSwipe\YPba
文件 728 2018-11-19 10:39 YPCellSwipe\YPCellSwipe\YPba
文件 369280 2018-11-19 10:53 YPCellSwipe\YPCellSwipe\YPba
文件 281 2018-11-19 11:00 YPCellSwipe\YPCellSwipe\AppDelegate.h
文件 171 2018-11-19 11:00 __MACOSX\YPCellSwipe\YPCellSwipe\._AppDelegate.h
文件 6148 2018-11-19 11:03 YPCellSwipe\YPCellSwipe\.DS_Store
文件 120 2018-11-19 11:03 __MACOSX\YPCellSwipe\YPCellSwipe\._.DS_Store
目录 0 2018-11-19 11:00 YPCellSwipe\YPCellSwipe\Assets.xcassets\
目录 0 2018-11-19 11:00 YPCellSwipe\YPCellSwipe\Assets.xcassets\AppIcon.appiconset\
文件 1590 2018-11-19 11:00 YPCellSwipe\YPCellSwipe\Assets.xcassets\AppIcon.appiconset\Contents.json
文件 62 2018-11-19 11:00 YPCellSwipe\YPCellSwipe\Assets.xcassets\Contents.json
目录 0 2018-11-29 01:30 __MACOSX\YPCellSwipe\YPCellSwipe\Assets.xcassets\
文件 171 2018-11-19 11:00 __MACOSX\YPCellSwipe\YPCellSwipe\Assets.xcassets\._Contents.json
文件 5033 2018-11-19 11:37 YPCellSwipe\YPCellSwipe\ViewController.m
文件 333 2018-11-19 11:37 __MACOSX\YPCellSwipe\YPCellSwipe\._ViewController.m
............此处省略127个文件信息
- 上一篇:RC滤波器计算器
- 下一篇:package control离线包
评论
共有 条评论