I know this is simple, but I can't find a simple answer! I have a regular UITableView and I just added a text view to a custom cell. I'm not sure how to access this textview in cellForRowAtIndexPath. I tried making it an iboutlet, but it doesn't show up when I do cell.??!?!?!?. The reuse is set also. Any ideas?
Edit: I also did all the connections in ib
In the .h file...
@property(nonatomic, strong) IBOutlet UITextView *myTextView;
In the .m file...
@synthesize myTextView = _myTextView;
static NSString *CellIdentifier = @"all_table_reuse_identifier";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier forIndexPath:indexPath];
if (nil == cell) {
cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier];
NSLog(@"%s", __PRETTY_FUNCTION__);
}
The problem is I should be able to do cell.myTextView, but it's not there