Ejemplo n.º 1
0
        public static CGRect ContractingAnimationToCellRect(AssetListViewController toVC, AssetCell toCell)
        {
            var origin = new CGPoint(
                x: toCell.Frame.X,
                y: toCell.Frame.Y - toVC.CollectionView.ContentOffset.Y
                );

            return(new CGRect(origin, toCell.Frame.Size));
        }
Ejemplo n.º 2
0
        public static CGRect ExpandingAnimationFromCellRect(AssetListViewController fromVC, AssetCell fromCell)
        {
            var origin = new CGPoint(
                x: fromCell.Frame.X,
                y: fromCell.Frame.Y - fromVC.CollectionView.ContentOffset.Y
                );

            return(new CGRect(origin, fromCell.Frame.Size));
        }