Code Monkey home page Code Monkey logo

hapaperviewcontroller's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hapaperviewcontroller's Issues

iAd

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?

Redraw cell after while zooming

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!

ScrollView enabled/disabled in different state

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

  • (void)awakeFromNib{
    self.smallView.layer.cornerRadius = 4;
    self.scrollView.userInteractionEnabled = NO;
    self.scrollView.scrollEnabled = NO;
    [self.contentView addGestureRecognizer:self.scrollView.panGestureRecognizer];
    }

// 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

  • (void)endInteractionWithSuccess:(BOOL)success
    { ...
    else if ((self.transitionLayout.transitionProgress > 0.25) && success)
    {
    [self.collectionView finishInteractiveTransition];
    [self.context finishInteractiveTransition];
    ConanCell *conan = [ConanCell new];
    conan.scrollView.userInteractionEnabled = NO;
    NSLog(@"Back");
    } ...
    }

Embed custom UITableView

Really awesome control!

How I can embed custom UITableView inside UICollectionView?

Please help, thanks.

Orientation Problem

Awesome control!

How can the background Image clips to bound in landscape mode..

Please help, thanks

Resize / scale question

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 .. ;)

Use when not root view controller?

I have a view controller that is my initial view controller, it is embedded in a Navigation Controller. I have a push segue from that view to the PaperViewController, but it doesn't load correctly. Here is what it looks like:

photo-12

How can I use it when it's not the root view controller?

Thanks

Add label to cell - redraw issue?

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:

ios simulator screen shot 16 03 2014 16 16 08

Any hints? And thank you for a great component!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.