Skip to content

Dismissal shrinks cells. #2

@128keaton

Description

@128keaton

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;





}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions