Swift-Slide-Menu

A Slide Menu, written in Swift, inspired by Slide Menu Material Design

  • 所有者: PhilippeBoisney/Swift-Slide-Menu
  • 平台:
  • 許可證:
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Swift-Slide-Menu (Material Design Inspired)

Platform
Language
License

A Slide Menu, written in Swift 2, inspired by Navigation Drawer on Material Design (inspired by Google Material Design) for iOS written in Swift 2.0

Please feel free to make pull requests :)

alt tag

USAGE

  1. Add those 5 files on your project : BaseViewController.swift, ChildViewController.swift, MenuTableViewCell.swift, TableViewMenuController.swift and ZFRippleButton.swift. Don't forget to also add "background.jpg" on your asset directory.
  2. Add your own mini icons for menu on your asset directory
  3. Create ViewControllers Swift files for your ChildView, subclass with ChildViewController.
  4. Create on Storyboard (Interface Builder) your ChildViews (Just drag UIViewController)then set "Storyboard ID" AND "CustomClass"
  5. Subclass your main ViewController with BaseViewController and on Storyboard(Interface Builder), select your main ViewController, then add a Navigation Controller (Editor => Embed In => Navigation Controller).
  6. Finally, Add on your main ViewController:
//Add the childViews
addChildView("HomeScreenID", titleOfChildren: "HOME", iconName: "home")
addChildView("ContactScreenID", titleOfChildren: "CONTACT", iconName: "contact")

//Show the first childScreen
showFirstChild()

Version

1.2

Features

  • Multi-Device Full Support
  • Rotation Support
  • Material Design Effect

Thanks

This library use a modified version of this awesome project: ZFRippleButton

Author

Philippe BOISNEY (phil.boisney(@)gmail.com)

主要指標

概覽
名稱與所有者PhilippeBoisney/Swift-Slide-Menu
主編程語言Swift
編程語言Swift (語言數: 1)
平台
許可證
所有者活动
創建於2015-10-05 12:37:23
推送於2018-04-18 10:45:12
最后一次提交2015-10-19 09:54:51
發布數0
用户参与
星數89
關注者數6
派生數15
提交數15
已啟用問題?
問題數7
打開的問題數6
拉請求數0
打開的拉請求數1
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?