Code Monkey home page Code Monkey logo

swiftypagecontroller'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

Watchers

 avatar  avatar  avatar

swiftypagecontroller's Issues

for arabic

for arabic case what changes need to be done ?

Use Datasource pattern instead of viewControllers list

If you have a lot of view controllers, it's probably a lot better to use the datasource pattern (similar to collection and table views). This would avoid the overhead of having to first instantiate all view controllers before the page controller can be shown.

It should be using a lot less memory as well as it wouldn't have to load all view controllers in memory at once...

crash on fast page swipe grab

hello, the app crashes on the following lines:

// cancel transition in case of changing direction
            if (translation.x > 0 && animationDirectionInteractive != .right) || (translation.x < 0 && animationDirectionInteractive != .left) {
                interactiveTransitionInProgress = false
                finishTransition(isCancelled: true)
            }

with error:

2017-09-29 19:22:38.868030+0300 APP[7739:1446562] refreshPreferences: ActivationLoggingEnabled: 0 ActivationLoggingTaskedOffByDA:0
fatal error: unexpectedly found nil while unwrapping an Optional value
2017-09-29 19:23:10.943729+0300 APP[7739:1446562] fatal error: unexpectedly found nil while unwrapping an Optional value

you can reproduce this by including a scrollview in a viewcontroller then add it to swiftypagecontroller. swipe thought the scrollview fast and you'll catch the crash

UI problems after first page swipe

i got 3 view controllers in SwiftyPageController

  1. if i switch to VC no. 2, and come back to no. 1, pressing any UIButton will keep it highlighted until a future page change.
  2. if i switch to VC no. 2, and come back to no. 1, presenting an alertview will make the app be stuck. you cannot press any button in the alertview

i'm 99% sure both problems have the same root cause

how to disable the swipe gesture?

is there a way to disable a gesture that detects the swipe? It just overlaps the tableview delete swipe.

Or is there a way so that both can persist together?

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.