Open osorioabel opened 10 years ago
The easier way to adde the expandable cell is to call the helper
- (ACEExpandableTextCell *)expandableTextCellWithId:(NSString *)cellId
in
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
If you added the cell to the UITableView added with storyboard, you have to manually set the link the table view with the cell, so in
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
ACEExpandableTextCell *cell = [tableView dequeueCell....
cell.expandableTableView = tableView;
}
when i do that appears an error, because the expandableTableView is a readonly property
updated the repo, I'll update the pod later
dude, i don't know if its me or what im doing its wrong but the cell behavior its like a empty cell, nothing happens, the expandableTableView now isn't nil but the cell its still empty..
I didn't test with Storyboard yet, I will do it later and get back to you
Did you test it with storyboard?
is it supported with storyboard ?, i am doing the same but nothing happens
Don't use the prototype cell, it will work fine
Hi, im trying to use the controller with storyboards, but doesnt work, i set the custom class to the cell, and set delegate protocol but nothing happens, i debug a little but the expandabletableview property on the cell is always nil.. Any suggestion?