标签:
//让数组中得每个元素都调用 @selector 中的get方法
[self.buttons makeObjectsPerformSelector:@selector(get)];
NSString *name = @"";
//让数组中的每个元素都调用selector中得方法,并且将withObject 的参数传递
[self.buttons makeObjectsPerformSelector:@selector(get:) withObject:name];
makeObjectsPerformSelector: 方法的用法
标签:
原文地址:http://www.cnblogs.com/741162830qq/p/4660914.html