我希望能够结合每个索引,以便我得到@“Biology Teacher A BK 1”,但到目前为止我一直没有成功。这是我到目前为止所拥有的,但我不知道从这里去哪里。
@interface ListTableViewController () <UISearchDisplayDelegate>
@property (strong, nonatomic) NSArray *className;
@property (strong, nonatomic) NSArray *teacherName;
@property (strong, nonatomic) NSArray *blockNumber;
@end
@implementation ListTableViewController
- (void)viewDidLoad {
[super viewDidLoad];
self.className = [NSArray arrayWithObjects:
@"Biology",
@"English III",
@"Chemistry",
@"Algebra II",
@"Morality", nil];
self.teacherName = [NSArray arrayWithObjects:
@"Teacher A",
@"Teacher B",
@"Teacher C",
@"Teacher D",
@"Teacher E", nil];
self.blockNumber = [NSArray arrayWithObjects:
@"BK 1",
@"BK 3",
@"BK 6",
@"BK 2",
@"BK 1", nil];
}