hebertialmeida / hapaperviewcontroller Goto Github PK
View Code? Open in Web Editor NEW😵 [Deprecated] UICollectionView with layout transitions inspired by Facebook Paper App
😵 [Deprecated] UICollectionView with layout transitions inspired by Facebook Paper App
Hi, I just started to use your app and based on facebook's paper, you need to redraw your cell while zooming, otherwise, if you add something to the cell and zoom in and out, ui components will move to other places.
Thanks for the great component!
Hi! @hebertialmeida
I found a new bug, the Demo will run on the iphone 4 and iOS7 SDK bugs, but won't appear in the iphone 5.
Jack
Hello, Hebert! :)
First, I really admired you created this amazing project for me and others. I created custom cell, each cell has vertical scrollView as whole view. When I'm at main page, I could click any single cell then it shows out the full-screen cell. Problem comes when I pinch the cell to go back to the main page, which I couldn't tap it to let it shown anymore. Hope to get your help soon. Thank you very much.
Some of my applied code is shown below.
// ConanCell.m - my custom cell
// HASmallCollectionViewController.m
(void)collectionView:(UICollectionView )collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath
{
ConanCell *cell = (ConanCell)[collectionView cellForItemAtIndexPath:indexPath];
cell.scrollView.userInteractionEnabled = YES;
cell.scrollView.scrollEnabled = YES;
NSLog(@"Selected at %d",(int)indexPath.row);
UIViewController *vc = [self nextViewControllerAtPoint:CGPointZero];
[self.navigationController pushViewController:vc animated:YES];
}
// HATransitionController.m
Hi!@hebertialmeida
you will add this function?
Jack
I'm playing around with the transition of the CollectionViewLayout of the example and couldn't figure out how to autoresize the content of the cell between the small and large layout.
E.g. I have an UILabel within the CollectionViewCell which should be half the width of the cell. When the transition to the large layout is finished, the label should be also half of the cell, but with a larger font size (or resized).
Use autolayout here or scale the contentView with CGAffineTransformMakeScale?
Any advice would be helpful .. ;)
Awesome control!
How can the background Image clips to bound in landscape mode..
Please help, thanks
Possible duplicate of #6 ?
After adding an UILabel with a sequence number of the index.row (e.g 'Label 1') to the UICollectionViewCell and playing around with the transition, the label gets messed up:
Any hints? And thank you for a great component!
Hi! I have a problem. I'm trying to ad iAd to HAViewController but when i running app there is no test ads. How to implement it?
How add images?
Really awesome control!
How I can embed custom UITableView inside UICollectionView?
Please help, thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.