Giter Club home page Giter Club logo

Comments (4)

stefanoa avatar stefanoa commented on July 17, 2024

In order to have an header in the left menu you have to add to the SASlideMenuRootViewController a view outside the view linked to the menuView outlet. The menuView outlet will contain the SASlideMenuViewController and you can place where you like.
I hope it helps

from saslidemenu.

aiQon avatar aiQon commented on July 17, 2024

awesome thank you, that helped.

from saslidemenu.

mradlmaier avatar mradlmaier commented on July 17, 2024

Maybe use a table section header?

Von meinem iPhone gesendet

Am 26.06.2014 um 15:52 schrieb Stas Stelle [email protected]:

Hi,
this lib is awesome!
I use it in 2 apps now and am struggling to get a fixed header in the leftMenu. This header should not move when I scroll the leftMenu.
What is the best approach for this?

Intuitively I would embed the TableView inside a different UIViewController and add spacing at the top of the tableView and position the header there but I cannot do this (?) because SASlideMenuViewController expects to be a UITableViewController.

Maybe Im missing something. Anyone?

Thanks in advance.


Reply to this email directly or view it on GitHub.

from saslidemenu.

aiQon avatar aiQon commented on July 17, 2024

I needed to have the header fixed at the top when scrolling. Section headers either float or not. As long as all table rows fit on the screen without scrolling your suggestion works just fine. But when scrolling is involved the 1st section header leaves the screen and then the "illusion is gone".

I managed to get the desired effect of a fixed header at the top by applying stefanoa's hint.

from saslidemenu.

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.