#import @implementation REASharedElement - (instancetype)initWithSourceView:(REAUIView *)sourceView sourceViewSnapshot:(REASnapshot *)sourceViewSnapshot targetView:(REAUIView *)targetView targetViewSnapshot:(REASnapshot *)targetViewSnapshot { self = [super init]; _sourceView = sourceView; _sourceViewSnapshot = sourceViewSnapshot; _targetView = targetView; _targetViewSnapshot = targetViewSnapshot; _animationType = SHARED_ELEMENT_TRANSITION; return self; } @end