コード実装により、このiOS ライブラリを使用してサイド メニューを追加しました。ビューで書かれた以下のコードは関数をロードしました:
let menuRightNavigationController = UISideMenuNavigationController(rootViewController: SideMenuViewController())
SideMenuManager.default.menuRightNavigationController = menuRightNavigationController
SideMenuManager.default.menuFadeStatusBar = false
そして、ボタンアクションで書かれたものの下に:
present(SideMenuManager.default.menuRightNavigationController!, animated: true, completion: nil)
以下に添付された結果のスクリーンショット: