{"id":18600309,"url":"https://github.com/alekseypleshkov/uimenuscroll","last_synced_at":"2025-04-10T18:31:21.809Z","repository":{"id":56924968,"uuid":"152851322","full_name":"AlekseyPleshkov/UIMenuScroll","owner":"AlekseyPleshkov","description":"The horizontal swiping navigation like on Facebook Messenger.","archived":false,"fork":false,"pushed_at":"2018-11-24T16:00:43.000Z","size":738,"stargazers_count":20,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-25T02:51:19.460Z","etag":null,"topics":["cocoapods","cocoapods-plugin","menu","navigation","pods","uimenuscroll"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlekseyPleshkov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-13T08:26:57.000Z","updated_at":"2025-03-02T05:41:43.000Z","dependencies_parsed_at":"2022-08-21T06:20:07.207Z","dependency_job_id":null,"html_url":"https://github.com/AlekseyPleshkov/UIMenuScroll","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlekseyPleshkov%2FUIMenuScroll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlekseyPleshkov%2FUIMenuScroll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlekseyPleshkov%2FUIMenuScroll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlekseyPleshkov%2FUIMenuScroll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlekseyPleshkov","download_url":"https://codeload.github.com/AlekseyPleshkov/UIMenuScroll/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248271643,"owners_count":21075800,"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":["cocoapods","cocoapods-plugin","menu","navigation","pods","uimenuscroll"],"created_at":"2024-11-07T02:03:39.008Z","updated_at":"2025-04-10T18:31:21.137Z","avatar_url":"https://github.com/AlekseyPleshkov.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UIMenuScroll\n\n`UIMenuScroll` creating menu how on Facebook Messenger on take photo\n\n![Screenshot](https://github.com/AlekseyPleshkov/UIMenuScroll/blob/master/example.gif?raw=true)\n\n## Installation\n\n[CocoaPods](https://cocoapods.org) is a dependency manager for Cocoa projects. You can install it with the following command:\n\n```bash\n$ gem install cocoapods\n```\n\nTo integrate `UIMenuScroll` into your Xcode project using CocoaPods, specify it in your `Podfile`:\n\n```ruby\nsource 'https://github.com/CocoaPods/Specs.git'\nplatform :ios, '9.0'\nuse_frameworks!\n\ntarget '\u003cYour Target Name\u003e' do\npod 'UIMenuScroll', '~\u003e 0.1.0'\nend\n```\n\nThen, run the following command:\n\n```bash\n$ pod install\n```\n\n## How to use\n\nAdd UIView to storyboard and set class `UIMenuScrollView` to view.  \nAdd delegate to `UIMenuScrollView` in your ViewController.\n\n``` swift\n@IBOutlet weak var menuScroll: UIMenuScrollView!\n\n// ...\n\noverride func viewDidLoad() {\n    super.viewDidLoad()\n    // ...\n    \n    // MenuScroll configuration\n    menuScroll.delegate = self\n    menuScroll.spacing = 10.0\n    \n    // ...\n}\n```\n\nThen create extension for your ViewController.\n\n``` swift\nextension ViewController: UIMenuScrollViewDelegate {\n\n    /// Set count a elements in menu scroll\n    func menuScroll(menuScroll: UIMenuScrollView) -\u003e Int\n    { ... }\n\n    /// Set options to single button on menu scroll\n    func menuScroll(menuScroll: UIMenuScrollView, createdButton: UIButton, index: Int) \n    { ... }\n\n    /// Touch button event\n    func menuScroll(menuScroll: UIMenuScrollView, touchSender: UIButton, index: Int) \n    { ... }\n\n    /// Set options to center indicator image\n    func menuScroll(menuScroll: UIMenuScrollView) -\u003e UIImage?\n    { ... }\n\n}\n```\n\n## About Me\n\n* Aleksey Pleshkov\n* Email: [im@alekseypleshkov.ru](mailto:im@alekseypleshkov.ru)\n* Website: [alekseypleshkov.ru](https://alekseypleshkov.ru)\n\n## License\n\n`UIMenuScroll` is released under the MIT license. In short, it's royalty-free but you must keep the copyright notice in your code or software distribution.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falekseypleshkov%2Fuimenuscroll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falekseypleshkov%2Fuimenuscroll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falekseypleshkov%2Fuimenuscroll/lists"}