Git Product home page Git Product logo

Comments (5)

romaonthego avatar romaonthego commented on June 25, 2024

I think you need to optimize your code, probably you're doing synchronous calls instead of asynchronous.

from residemenu.

vicc avatar vicc commented on June 25, 2024

That's not what I meant. I meant it would be pretty cool to have the content cross dissolve in the small viewcontroller when on the side menu, before expanding out. The expanding part works beautiful, I just think the corss dissolve transition would be a beautiful feature to add.

from residemenu.

romaonthego avatar romaonthego commented on June 25, 2024

This is a pretty trivial thing to do, here's an example:

DEMOSecondViewController *viewController = [[DEMOSecondViewController alloc] init];
viewController.view.alpha = 0;
[self.sideMenuViewController.contentViewController.view addSubview:viewController.view];
[UIView animateWithDuration:0.3 animations:^{
    viewController.view.alpha = 1;
} completion:^(BOOL finished) {
    [viewController.view removeFromSuperview];
    self.sideMenuViewController.contentViewController = viewController;
}];

[self.sideMenuViewController hideMenuViewController];

This code needs to be executed when you switch between view controllers.

from residemenu.

romaonthego avatar romaonthego commented on June 25, 2024

I may add a helper function, though.

from residemenu.

vicc avatar vicc commented on June 25, 2024

How would this be done using storyboards, and storyboard identifiers?

from residemenu.

Related Issues (20)

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.