5

I've already implemented a sidebar like that in Facebook/Path apps with ECSlidingViewController but I've noticed that Spotify app it's a bit different and has a very slick effect. The sidebar is not already full visible but it slides and show the icons as more as you swipe with your finger. How to animate the sidebar in this way?

Here an image for a better explanation.

Spotify iOS App

Fred Collins
  • 5,004
  • 14
  • 62
  • 111
  • That's a table, so alter the position of the TableView as a function of the main view position. – Jano Jun 12 '13 at 01:35

2 Answers2

4

Take a look at MMDrawerController https://github.com/mutualmobile/MMDrawerController

It has nice sample app and allows custom sliding effects, including the one you are looking for

Lukas Kukacka
  • 7,604
  • 2
  • 25
  • 50
2

There are many such libraries available to implement the behaviour you have asked for. I would recommend ECSlidingViewController since its easy to use plus it supports StoryBoards:

ECSlidingViewController

As i said there are a lot of different libraries to implement the same thing. You can also check the link HERE that contains a whole list of similar libraries.

AJ112
  • 5,291
  • 7
  • 45
  • 60
  • 2
    As I said in the post I'm already using `ECSlidingViewController` but it doesn't support the behavior I've explained. – Fred Collins Jun 13 '13 at 13:08