Objective-C 类与属性 减号表示对象方法 加号表示静态方法(类方法)

1、减号表示对象方法。语法:-(返回值类型)方法名:(参数类型)参数名

@interface LoginViewController : UIViewController<UIGestureRecognizerDelegate, UITextFieldDelegate, UITextViewDelegate>

@property (weak, nonatomic) IBOutlet UITextField *usercodeTextField;

@property (we [阅读全文]