-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
http://i.imgur.com/cGDwp3M.gif
Hello, great animation, I am having a small problem that I cannot quite put my finger on. You can see the issue in the gif above. The code I am using to call the transition:
if([segue.identifier isEqual: @"pushToEdit"]){
NSIndexPath *indexPath = [self.tableView indexPathForSelectedRow];
self.zoomTransition.sourceView = [self.tableView cellForRowAtIndexPath:indexPath];
// pass the custom transition to the destination controller
// so it can use it when setting up its gesture recognizers
[[segue destinationViewController] setGestureTarget:self.zoomTransition];
EditViewController *edit = segue.destinationViewController;
NSManagedObjectContext *mo = [_fetchedResultsController objectAtIndexPath:indexPath];
[edit setManagedObjectContext:mo];
id appDelegate= [[UIApplication sharedApplication] delegate];
self.managedObjectContext = [appDelegate managedObjectContext];
OweInfo *info = [_fetchedResultsController objectAtIndexPath:indexPath];
self.editView = edit;
self.editView.delegate = self;
self.editView.info = info;
self.editView.managedObjectContext = self.managedObjectContext;
edit.managedObjectContext = self.managedObjectContext;
edit.info = info;
edit.delegate = self;
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels