uitableview - UIView mail-like staple animation -
i want implement special animation , i'm wondering if did that. knows cool staple effect form ipad mail, when selecting multiple mails.
i want bring animation ipad app. have uitableview available in-app purchases , want user able buy multiple purchases @ once.
the user can select multiple products in tableview , want images custom uitableviewcell "staple together" cool ipad effect.
i want cells move stack. code (most experience performance issues photo cell):
- (ibaction)seteditingtableview:(id)sender { if ([itemstableview isediting]) { (nsindexpath *cellpath in [itemstableview indexpathsforselectedrows]) { uitableviewcell *cell = [itemstableview cellforrowatindexpath:cellpath]; if ([cell isselected]) { [uiview animatewithduration:1.0 animations:^{ [[cell image] setframe:[stackview frame]]; [[cell image] setcenter:[stackview center]]; }]; } } [itemstableview setediting:no]; [sender setstyle:uibarbuttonitemstylebordered]; } else { [itemstableview setediting:yes]; [sender setstyle:uibarbuttonitemstyledone]; } }
can help?
thanks, kind regards, julian
Comments
Post a Comment