Skip to content

Airbnb 4.7's three-dimensional slide menu. Unfortunately, this menu was obsoleted in Airbnb 5.0.

License

Notifications You must be signed in to change notification settings

omidkh68/AirbnbViewController

 
 

Repository files navigation

AirbnbViewController

Airbnb version 4.7's three-dimensional slide menu in Swift. Unfortunately, the menu was obsoleted in Airbnb version 5.0. In order not to forget the legend menu, I developed it in Swift.

Inspired by https://github.com/TaPhuocHai/PHAirViewController.

Overview

Description

Storyboard is not supported. You need to write code. I have no choice but to use Objective-C in a part of whole.

Demo

AirbnbViewController

##Installation

The easiest way to get started is to use CocoaPods. Add the following line to your Podfile:

platform :ios, '8.0'
# The following is a Library of Swift.
use_frameworks!
pod 'AirbnbViewController'

Then, run the following command:

pod install

And then, you need to have [project-name]-Bridging-Header.h because AirbnbViewController use Objective-C file.

The easiest way to create a bridging header file is to add an arbitrary Objective-C file to your project and let Xcode create the bridging header for you. Delete the original Objective-C file as you no longer need it.

[project-name]-Bridging-Header.h

#import "AirbnbHelper.h"

Please refer to AirbnbViewController-Sample project.

Licence

MIT

Author

pixyzehn

About

Airbnb 4.7's three-dimensional slide menu. Unfortunately, this menu was obsoleted in Airbnb 5.0.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 97.2%
  • Objective-C 1.7%
  • Ruby 1.1%