Hi,
I think there is a problem with selection cell. I have a selection cell set up like this:
SCSelectionCell *belgelerCell = [SCSelectionCell cellWithText:@"Cell title"
withBoundObject:myObject
withSelectedIndexesPropertyName:@"selectedItems"
withItems:[NSArray arrayWithObjects:@"Item 1",
@"Item 2", @"Item3", nil]
allowMultipleSelection:YES];
belgelerCell.textLabel.font = [UIFont boldSystemFontOfSize:16];
belgelerCell.displaySelection = NO;
belgelerCell.detailTableViewStyle = UITableViewStyleGrouped;
My selectedItems description:
@property (nonatomic, readonly) NSMutableSet *selectedItems;
The selection cell remembers which items are selected. I need change the accessory type of this cell, if all the items are selected. However, no matter what I try this type doesn't change, if I don't select the cell and go to the detail view and come back. I need to change it at start. The most basic one I've tried is:
[belgelerCell setAccessoryType:UITableViewCellAccessoryCheckmark];
This goes before the cell is added to the model. I can't imagine why this doesn't work. I believe this is a bug and I'd really appreciate if you can help me out real soon.
Thanks,
Oguz Kocer