Giter Site home page Giter Site logo

mnpageviewcontroller's People

Contributors

min avatar orta avatar

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

mnpageviewcontroller's Issues

Add MNPageViewController to project manually

I have tried to add the MNPageViewController to my project manually by copying the header and implementation file, but I have no framework file (libMNPageViewController.a). The result is (unless I'm doing something else wrong) that the pages are not displayed (but no build errors). Do I need to run the command and run it as a submodule, or is it possible to add it manually?

UIScrollView within view controller

Is there a way to add a UIScrollView that scrolls horizontally within a view controller? Currently, the whole page scrolls to the next page when selecting a child scrollview.

Go to page number X

Do you have idea what is the best way to implement feature to go to exact page?

VC Containment incorrect

View appearance happens before the view controller is paged onto the screen. If I'm paging from index 0 to index 1, VC for index 1 should get viewWillAppear, but instead the VC for index 2 gets it. It's due to how you're preparing to show the "afterController."

Fix Appearence Callbacks

MNPageViewController should forward the appearence call backs to the child controllers properly, which is not happening.

For Example, in the example project,

When page 1 is scrolled from page 0,
only the following appearence methods are getting called.
2014-10-27 16:09:44.896 MNPageExample[24579:1406430] viewWillAppear: 2 UIDeviceRGBColorSpace 1 0.5 0 1
2014-10-27 16:09:44.904 MNPageExample[24579:1406430] viewDidAppear: 2 UIDeviceRGBColorSpace 1 0.5 0 1

when page 2 is scrolled from page 1.
2014-10-27 16:09:50.355 MNPageExample[24579:1406430] viewWillDisappear: 0 UIDeviceRGBColorSpace 0 1 0 1
2014-10-27 16:09:50.356 MNPageExample[24579:1406430] viewWillAppear: 3 UIDeviceRGBColorSpace 0.5 0 0.5 1
2014-10-27 16:09:50.363 MNPageExample[24579:1406430] viewWillDisappear: 0 UIDeviceRGBColorSpace 0 1 0 1
2014-10-27 16:09:50.363 MNPageExample[24579:1406430] viewDidAppear: 3 UIDeviceRGBColorSpace 0.5 0 0.5 1

when last page (3) is scrolled.
2014-10-27 16:09:54.143 MNPageExample[24579:1406430] viewWillDisappear: 1 UIDeviceRGBColorSpace 0 0 1 1
2014-10-27 16:09:54.144 MNPageExample[24579:1406430] viewWillDisappear: 1 UIDeviceRGBColorSpace 0 0 1 1

viewController doesn't scale well after rotation

Hello,

thanks for sharing your code.

I notice that there is an issue after a rotation. The view doesn't scale well, there is a little space at the edges (vertically or horizontally, dependly on the orientation of iphone).

Could you fix it please?

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.