ok, this is maybe a newbie question but i need help with it.. I have a someview.m and in it a custom cell which is defined in customCell.h and .m So in someview.m i have
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
customCell *cell=[tableView dequeueReusableCellWithIdentifier:@"charCell"];
if (cell == nil || (![cell isKindOfClass: customCell.class]))
{
cell=[[customCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"charCell"];
}
return cell;
}
i have a method too
-(void) printStuff
{
NSLog(@"stuff");
}
Now the custom cells are working fine, but i need to access the method printStuff from
- (BOOL)textFieldShouldReturn:(UITextField *)textField
which is in customCell.m
i have tried stuff like [[self super] printStuff]
but i always get an error...
I hope i explained the problem correctly