上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 34 下一页
摘要: scenedelegate.m #import "SceneDelegate.h" #import "VCRoot.h" @interface SceneDelegate () @end @implementation SceneDelegate - (void)scene:(UIScene *)s 阅读全文
posted @ 2020-09-26 22:05 逆欢 阅读(280) 评论(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 逆欢 阅读(116) 评论(0) 推荐(0)
摘要: sceneDelegate.m #import "ViewController.h" #import "SceneDelegate.h" #import "VCRoot.h" @interface SceneDelegate () @end @implementation SceneDelegate 阅读全文
posted @ 2020-09-22 22:16 逆欢 阅读(116) 评论(0) 推荐(0)
摘要: ViewController.h #import <UIKit/UIKit.h> @interface ViewController : UIViewController { //定义一个缩放手势 用来对视图可以进行放大缩小 //Pinch 捏合手势 UIPinchGestureRecognizer 阅读全文
posted @ 2020-09-19 22:34 逆欢 阅读(146) 评论(0) 推荐(0)
摘要: viewcontroller.h #import <UIKit/UIKit.h> @interface ViewController : UIViewController { // 定义试图对象 UIImageView* _imageView; } @end viewcontroller.m #im 阅读全文
posted @ 2020-09-19 21:20 逆欢 阅读(169) 评论(0) 推荐(0)
摘要: ViewController.h #import <UIKit/UIKit.h> @interface ViewController : UIViewController { CGPoint _mPtLast; } @end ViewController.m #import "ViewControl 阅读全文
posted @ 2020-09-17 22:18 逆欢 阅读(134) 评论(0) 推荐(0)
摘要: viewcontroller.m #import "ViewController.h" @interface ViewController () @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad] 阅读全文
posted @ 2020-09-16 23:09 逆欢 阅读(151) 评论(0) 推荐(0)
摘要: ViewController.h #import <UIKit/UIKit.h> @interface ViewController : UIViewController { //登录页面的组成 //登陆名提示 输入框 //密码提示 //登录按钮 //注册按钮 //作为私有 UILabel* _lb 阅读全文
posted @ 2020-09-16 21:47 逆欢 阅读(175) 评论(0) 推荐(0)
摘要: viewController.h #import <UIKit/UIKit.h> @interface ViewController : UIViewController<UITextFieldDelegate> { //定一个textField //文本输入区域 //例如 用户名 密码需要输入文本 阅读全文
posted @ 2020-09-14 22:36 逆欢 阅读(156) 评论(0) 推荐(0)
摘要: ViewController.h #import <UIKit/UIKit.h> @interface ViewController : UIViewController { //定义步进器对象 //按照一定的数值来调整某个数值 UIStepper* _stepper; //分栏控制器 UISegm 阅读全文
posted @ 2020-09-13 23:59 逆欢 阅读(197) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 34 下一页