你的位置:首页 > 软件开发 > 操作系统 > UITableView传值(自己使用)(属性,代理传值)

UITableView传值(自己使用)(属性,代理传值)

发布时间:2016-03-16 21:00:24
今天有些匆忙。效果图如下: 代码如下:#import <UIKit/UIKit.h>#import "FirstViewController.h"@interface AppDelegate : UIResp ...

UITableView传值(自己使用)(属性,代理传值)

今天有些匆忙。

效果图如下:

 

 

UITableView传值(自己使用)(属性,代理传值)

UITableView传值(自己使用)(属性,代理传值)

 

UITableView传值(自己使用)(属性,代理传值)

 

UITableView传值(自己使用)(属性,代理传值)

 

 

 

代码如下:

#import <UIKit/UIKit.h>#import "FirstViewController.h"@interface AppDelegate : UIResponder <UIApplicationDelegate>@property (strong, nonatomic) UIWindow *window;@end

#import <UIKit/UIKit.h>//创建协议,声明方法@protocol postValueDelegate <NSObject>-(void)postvalue:(NSString* )str;@end@interface SecondViewController : UIViewController<UITextFieldDelegate>@property(strong,nonatomic) UITextField * textName;@property(strong,nonatomic) NSString *str;@property(strong,nonatomic) id<postValueDelegate> delegate;@end

 

海外公司注册、海外银行开户、跨境平台代入驻、VAT、EPR等知识和在线办理:https://www.xlkjsw.com

原标题:UITableView传值(自己使用)(属性,代理传值)

关键词:ie

ie
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。