今天有些匆忙。效果图如下: 代码如下:#import <UIKit/UIKit.h>#import "FirstViewController.h"@interface AppDelegate : UIResp ...
今天有些匆忙。
效果图如下:
代码如下:
#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
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们:
admin#shaoqun.com
(#换成@)。