I think there is not a problem with segue.Problem is with coredata that you are searchin for entity name as product i think in this line
NSEntityDescription *entityDescription = [NSEntityDescription entityForName:@"product" inManagedObjectContext:appDelegateSharedObject.managedObjectContext];
but in your coredata file there is nor exist any Entity name as "product" so that,s problem.