ios - uitableview re-order won't work, source always equal to destination -


i have tableview won't reorder. looks moverowatindexpath never called sourceindexpath different destinationindexpath. when pull row, bounces starting location if row didn't support movement.

i tried implementing "canmove/canedit/propose" methods return yes, observe same behavior. what's going on?

- (void) tableview:(uitableview *)tableview moverowatindexpath:(nsindexpath *)sourceindexpath        toindexpath:(nsindexpath *)destinationindexpath {      nslog(@"%d -> %d", [sourceindexpath row], [destinationindexpath row]);     if ([sourceindexpath row] == [destinationindexpath row]) {         return;     }      mydomain *domain = [self getobject];     [domain.stuff exchangeobjectatindex:(nsuinteger) [sourceindexpath row] withobjectatindex:(nsuinteger) [destinationindexpath row]]; } 

i'm using iiviewdeckcontroller, cancels panning in views.

when setting viewdeckcontroller, this: self.panningcancelstouchesinview = no;


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -