上一页 1 2 3 4 5 6 7 8 9 10 ··· 34 下一页
摘要: https://blog.csdn.net/potato512/article/details/25994729 阅读全文
posted @ 2020-11-11 01:11 逆欢 阅读(68) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/u012701023/article/details/47828669 阅读全文
posted @ 2020-11-08 14:20 逆欢 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 通过代理 delegate VCSecond。h #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN //定义一个协议 视图控制器二协议 @protocol VCSecondDelegate <NSObject> //定义一个协议函数,改变背景颜色 -(v 阅读全文
posted @ 2020-10-14 22:50 逆欢 阅读(104) 评论(0) 推荐(0) 编辑
摘要: ViewController.m #import "ViewController.h" @interface ViewController () @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad] 阅读全文
posted @ 2020-10-09 22:33 逆欢 阅读(83) 评论(0) 推荐(0) 编辑
摘要: ViewController.h #import <UIKit/UIKit.h> @interface ViewController : UIViewController < //普通协议代理,处理视图选取普通事件协议功能 UIPickerViewDelegate, //数据代理协议 获取数据代理函 阅读全文
posted @ 2020-10-09 21:48 逆欢 阅读(115) 评论(0) 推荐(0) 编辑
摘要: scenedelegate.m #import "SceneDelegate.h" #import "VCFirst.h" #import "VCSecond.h" #import "VCThird.h" @interface SceneDelegate () @end @implementatio 阅读全文
posted @ 2020-09-28 22:31 逆欢 阅读(130) 评论(0) 推荐(0) 编辑
摘要: secendelegate.m #import "SceneDelegate.h" #import "VCRoot.h" @interface SceneDelegate () @end @implementation SceneDelegate - (void)scene:(UIScene *)s 阅读全文
posted @ 2020-09-28 21:40 逆欢 阅读(165) 评论(0) 推荐(0) 编辑
摘要: scenedelegate.m #import "SceneDelegate.h" #import "VCRoot.h" @interface SceneDelegate () @end @implementation SceneDelegate - (void)scene:(UIScene *)s 阅读全文
posted @ 2020-09-28 21:36 逆欢 阅读(172) 评论(0) 推荐(0) 编辑
摘要: scenedelegate.m #import "SceneDelegate.h" #import "VCRoot.h" @interface SceneDelegate () @end @implementation SceneDelegate - (void)scene:(UIScene *)s 阅读全文
posted @ 2020-09-26 22:05 逆欢 阅读(242) 评论(0) 推荐(0) 编辑
摘要: VCRoot.h #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface VCRoot : UIViewController //XIB创建UILabel属性 //IBOutlet属性是在XIB中创建的 @property (weak, 阅读全文
posted @ 2020-09-22 23:00 逆欢 阅读(113) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 34 下一页