.h 文件中
@property (strong,nonatomic) IBOutlet UIButton *publishBtton;
@property (strong,nonatomic) IBOutlet UIButton *timeLineButton;
@property (strong,nonatomic) IBOutlet UIButton *chatButton;
@property (strong,nonatomic) IBOutlet UIButton *topicButton;
.m 文件中
- (void)viewDidLoad
{
[superviewDidLoad];
_buttonArray=@[_publishBtton,_timeLineButton,_chatButton,_topicButton