{"id":24302870,"url":"https://github.com/digipolitan/side-navigation-controller","last_synced_at":"2026-03-16T19:34:54.469Z","repository":{"id":56907408,"uuid":"83045934","full_name":"Digipolitan/side-navigation-controller","owner":"Digipolitan","description":null,"archived":false,"fork":false,"pushed_at":"2020-08-18T09:10:56.000Z","size":5293,"stargazers_count":15,"open_issues_count":2,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-02T02:41:51.427Z","etag":null,"topics":["carthage","cocoapods","fastlane","framework","ios","navigation","sidemenu","swift","tvos"],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Digipolitan.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-24T13:50:43.000Z","updated_at":"2023-12-28T21:00:23.000Z","dependencies_parsed_at":"2022-08-20T19:50:21.786Z","dependency_job_id":null,"html_url":"https://github.com/Digipolitan/side-navigation-controller","commit_stats":null,"previous_names":["digipolitan/side-navigation-swift"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Digipolitan%2Fside-navigation-controller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Digipolitan%2Fside-navigation-controller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Digipolitan%2Fside-navigation-controller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Digipolitan%2Fside-navigation-controller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Digipolitan","download_url":"https://codeload.github.com/Digipolitan/side-navigation-controller/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234292483,"owners_count":18809354,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["carthage","cocoapods","fastlane","framework","ios","navigation","sidemenu","swift","tvos"],"created_at":"2025-01-17T00:19:57.564Z","updated_at":"2025-09-26T06:30:20.470Z","avatar_url":"https://github.com/Digipolitan.png","language":"Swift","readme":"SideNavigationController\n=================================\n\n[![Swift Version](https://img.shields.io/badge/swift-5.0-orange.svg?style=flat)](https://developer.apple.com/swift/)\n[![Build Status](https://travis-ci.org/Digipolitan/side-navigation-controller.svg?branch=master)](https://travis-ci.org/Digipolitan/side-navigation-controller)\n[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/SideNavigationController.svg)](https://img.shields.io/cocoapods/v/SideNavigationController.svg)\n[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![Platform](https://img.shields.io/cocoapods/p/SideNavigationController.svg?style=flat)](http://cocoadocs.org/docsets/SideNavigationController)\n[![Twitter](https://img.shields.io/badge/twitter-@Digipolitan-blue.svg?style=flat)](http://twitter.com/Digipolitan)\n\nSide navigation controller written in swift.\n\n### Demo iOS\n\n![Demo iOS](https://github.com/Digipolitan/side-navigation-controller/blob/develop/Screenshots/ios_capture.gif?raw=true \"Demo iOS\")\n\n### Demo tvOS\n\n![Demo tvOS](https://github.com/Digipolitan/side-navigation-controller/blob/develop/Screenshots/tvos_capture.gif?raw=true \"Demo tvOS\")\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.\n\n### Prerequisites\n\nWorks with iOS 9+, tested on Xcode 8.2\n\n### Installing\n\nTo install the `SideNavigationController` using **cocoapods**\n\n- Add an entry in your Podfile  \n\n```\n# Uncomment this line to define a global platform for your project\nplatform :ios, '9.0'\n\ntarget 'YourTarget' do\n  frameworks\n   use_frameworks!\n\n  # Pods for YourTarget\n  pod 'SideNavigationController'\nend\n```\n\n- Then install the dependency with the `pod install` command.\n\n## Usage\n\nHow to register the side navigation\n\n```swift\nlet sideNavigationController = SideNavigationController(mainViewController: UINavigationController(rootViewController: ViewController()))\nsideNavigationController.rightSide(viewController: RightViewController())\nwindow.rootViewController = sideNavigationController\nself.window = window\n```\n\n### Configuration\n\nYou can customize the side by passing options:\n\n```swift\nlet options = SideNavigationController.Options(widthPercent: 0.5,\n                                                      scale: 0.9,\n                                                   position: .front)\nsideNavigationController.rightSide(viewController: RightViewController(),\n                                          options: options)\n```\n\nHere the list of all available options :\n\n| Property | type | Description  | Default |\n| --- | --- | --- | --- |\n| widthPercent | `CGFloat` | Size of the side view controller [0-1] | 0.33 |\n| animationDuration | `TimeInterval` | How long the animation will last | 0.3 |\n| overlayColor | `UIColor` | The overlay color | white |\n| overlayOpacity | `CGFloat` | Opacity of the overlay [0-1] |  0.5 |\n| shadowColor | `UIColor` | Shadow color around the main or the side view controller | white |\n| shadowOpacity | `CGFloat` | Opacity of the shadow [0-1] | 0.8 |\n| alwaysInteractionEnabled | `Bool` | Sets to true allows always user interaction on the main view controller | false |\n| panningEnabled | `Bool` | Allows panning to display and hide sides | true |\n| scale | `CGFloat` | Transform the scale of main view controller during the animation [0-2] | 1 |\n| position | `SideNavigationController.Position` | The position of the side, such as below or above the main view controller | back |\n\n## Built With\n\n[Fastlane](https://fastlane.tools/)\nFastlane is a tool for iOS, Mac, and Android developers to automate tedious tasks like generating screenshots, dealing with provisioning profiles, and releasing your application.\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for more details!\n\nThis project adheres to the [Contributor Covenant Code of Conduct](CODE_OF_CONDUCT.md).\nBy participating, you are expected to uphold this code. Please report\nunacceptable behavior to [contact@digipolitan.com](mailto:contact@digipolitan.com).\n\n## License\n\nSideNavigationController is licensed under the [BSD 3-Clause license](LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigipolitan%2Fside-navigation-controller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigipolitan%2Fside-navigation-controller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigipolitan%2Fside-navigation-controller/lists"}