【发布时间】:2016-04-01 11:39:46
【问题描述】:
- (IBAction)buyHouse[6]:(id)sender;
我想通过执行上面显示的操作来创建一个 IBActions 数组。它不允许我。是否可以制作一个方法数组,以便如果我想实现它,我只需要这样做。
- (IBAction)buyHouse[3]:(id)sender{
_Price.text = [NSString formatWithString: @"hello"];
}
这个IBAction 是许多UIButton 的。
这是我的第一个问题,如果含糊不清,我真的很抱歉。我对 Objective-C 和这个社区很陌生。
【问题讨论】:
标签: objective-c arrays methods ibaction