Git Product home page Git Product logo

Comments (11)

fahidattique55 avatar fahidattique55 commented on May 28, 2024 2

This line panel!.navigationController?.setNavigationBarHidden(true, animated: false) is not correct.

As the Panel is just a container of all your centre, left and right controllers. So you need to hide navigation bar of centre controller and not the panel controller.

try using this, navigationController?.setNavigationBarHidden(true, animated: false) in view will appear of your centre controller.

from fapanels.

fahidattique55 avatar fahidattique55 commented on May 28, 2024

Can you share more details what you actually looking for? Shadow for left panel is already there.

from fapanels.

fahidattique55 avatar fahidattique55 commented on May 28, 2024

You can use showDarkOverlayUnderLeftPanelOnTop and showDarkOverlayUnderRightPanelOnTop.

from fapanels.

Sergozh avatar Sergozh commented on May 28, 2024

I'm trying to achieve something like this. When center panel higher than left.
img_4872

from fapanels.

Sergozh avatar Sergozh commented on May 28, 2024

And how I can reload center panel ViewController when left is opened without closing it?

from fapanels.

fahidattique55 avatar fahidattique55 commented on May 28, 2024

I think the shadow is not there for this scenario. If you can implement this feature and make a merge request then it will be appreciated as I don't get enough time to add new features in this library but i will add a lot of features in it.

from fapanels.

fahidattique55 avatar fahidattique55 commented on May 28, 2024

And how I can reload center panel ViewController when left is opened without closing it?

Reload means ?

from fapanels.

Sergozh avatar Sergozh commented on May 28, 2024

For example some data changes from left panel needs to reload center panel so if I call panel?.center(myNewCenterController) it reloads with animation and left panel closes. The question is how to change center panel without closing left panel?

from fapanels.

fahidattique55 avatar fahidattique55 commented on May 28, 2024

You can do it using NSNotificationCenter.

from fapanels.

Sergozh avatar Sergozh commented on May 28, 2024

Done already. Thanks. Just looked for another options.

from fapanels.

Hems3112 avatar Hems3112 commented on May 28, 2024

@Sergozh and @fahidattique55 can you guide me how can you set your custom view in center view?

I changed code in centervc.swift and also hide navigation bar from navigation controller. but still i get navigationbar on top.
screenshot 2018-11-21 at 10 17 22 am

    panel!.configs = FAPanelConfigurations()
    panel!.configs.rightPanelWidth = 80
    panel!.configs.bounceOnRightPanelOpen = false
    panel!.navigationController?.setNavigationBarHidden(true, animated: false)
    panel!.delegate = self

screenshot 2018-11-21 at 10 14 24 am

from fapanels.

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.