Closed simonsterckx closed 10 years ago
I think it is a fantastic idea, however i also think this is probably better wen added to a subclass. So i added a public header that a subclass can override to implement extra effects
- (void)didDisplaceSelectedAttributes:(UICollectionViewLayoutAttributes *)attributes withInitialCenter:(CGPoint)initialCenter;
You can added your fading code here! Thanks for the suggestion, much appreciated!
Yeah I agree. I’ve added an example ‘Fade' subclass to my forked repo. Is it good enough to be added to your repo? ;)
/Simon
On 27-Jan-2014, at 11:19 am, Lukman Sanusi notifications@github.com wrote:
I think it is a fantastic idea, however i also think this is probably better wen added to a subclass. So i added a public header that a subclass can override to implement extra effects
- (void)didDisplaceSelectedAttributes:(UICollectionViewLayoutAttributes *)attributes withInitialCenter:(CGPoint)initialCenter; You can added your fading code here! Thanks for the suggestion, much appreciated!
— Reply to this email directly or view it on GitHub.
Yup looks good! you can go ahead and submit another pull request and i will merge it into my repo. Cheers!
I've added an android like fade-during deletion. Thought of it immediately when I saw the swipe to delete ;)