Anand
Anand

Reputation: 1983

UITableViewCell Animation

I am stuck with a tableview where cell are displayed in stack format.Any suggestion from expertise how to implement this kind of tableview.

(i.e i need to display the one cell behind another cell. On Tapping any cell, the cell should animate and shows complete contents of cell)

enter image description here

EDITED:

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
     int defaultCellHeight = 30;

     if(isSelected)
        defaultCellHeight = 60;

    return defaultCellHeight; 
}

Upvotes: 1

Views: 959

Answers (2)

V.D
V.D

Reputation: 403

https://github.com/bobmccune/Core-Animation-Demos If you look for core animation,then hope this demo works for you.

Upvotes: 0

iPatel
iPatel

Reputation: 47119

You can create this type of TableView by giving shadow of UITableViewCell. Here i give you to Some links that might be helpful in your case.

https://github.com/mystcolor/jtgesturebasedtableviewdemo
https://github.com/OliverLetterer/UIExpandableTableView
https://github.com/binho/TicketSaldo

Follow This is best the Site for all Controller Ever.

Upvotes: 1

Related Questions