Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to implement Spotify-like iOS app sidebar feature

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

like image 459
Fred Collins Avatar asked Jun 12 '13 01:06

Fred Collins


2 Answers

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

like image 158
Lukas Kukacka Avatar answered Nov 15 '22 04:11

Lukas Kukacka


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.

like image 24
AJ112 Avatar answered Nov 15 '22 05:11

AJ112