Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. COneha, thx for your reponse. Could you elaborate a little on how exactly to go about this? Im still a little confused on how to use the setSelected: method? Will the tableCell automatically adjust it height after calling expandCell/contractCell and more importantly would it appear as if the selected cell is expanding and not simply being reloaded which is the initial problem i ran into? I called reoloadRowsAtIndex in didSelectRowAtIndex and while that worked you could visually see the cell being reloaded, either from the top/bottom/etc. depending on the animation style chosen.
      singulars
    2. COOnce you create a class that subclasses uitablviewcell, the method "(void)setSelected:(BOOL)selected animated:(BOOL)animated" automatically appears in the created class which is explicitely called whenever you select a cell in tableview. It's meant for configuring the view for selected state of cell. Make sure to also create a nib of this uitableviewcell subclass and set the parent of this nib as your tableview's class. Yes, this will give you the effect you are expecting, it will show the cells expanding/contracting and not reloading.
      singulars
    3. COhi neha, thx again for replying. I seem to be making some progress however pls see above for changes i have tried and issues i am still having. Also what code exactly should go into the setSelected: method? Still trying to stumble through this unfortunately. thx
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload