{"id":2609,"url":"https://github.com/lilei644/LLSlideMenu","last_synced_at":"2025-08-03T00:32:11.307Z","repository":{"id":56918780,"uuid":"46832595","full_name":"lilei644/LLSlideMenu","owner":"lilei644","description":"This is a spring slide menu for iOS apps - 一个弹性侧滑菜单 ","archived":false,"fork":false,"pushed_at":"2017-02-26T09:01:37.000Z","size":1075,"stargazers_count":591,"open_issues_count":3,"forks_count":93,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-09-19T17:31:42.392Z","etag":null,"topics":["menu","spring"],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","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/lilei644.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":"2015-11-25T02:35:48.000Z","updated_at":"2024-06-06T23:27:52.000Z","dependencies_parsed_at":"2022-08-20T21:50:27.984Z","dependency_job_id":null,"html_url":"https://github.com/lilei644/LLSlideMenu","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lilei644%2FLLSlideMenu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lilei644%2FLLSlideMenu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lilei644%2FLLSlideMenu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lilei644%2FLLSlideMenu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lilei644","download_url":"https://codeload.github.com/lilei644/LLSlideMenu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228510740,"owners_count":17931759,"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":["menu","spring"],"created_at":"2024-01-05T20:16:18.243Z","updated_at":"2024-12-06T18:30:36.773Z","avatar_url":"https://github.com/lilei644.png","language":"Objective-C","funding_links":[],"categories":["UI"],"sub_categories":["Menu","Layout","Other free courses"],"readme":"# LLSlideMenu\nThis is a spring slide menu for iOS apps\u003cbr\u003e\n一个弹性侧滑菜单\u003cbr\u003e\u003cbr\u003e\n弹性动画原理借鉴该[项目](https://github.com/KittenYang/KYAnimatedPageControl)中阻尼函数实现\n\n## Preview \u0026nbsp;预览\n![image](https://github.com/lilei644/LLSlideMenu/blob/master/Preview/LLSlideMenuPreview.gif)\n\n## Installation \u0026nbsp;安装\n* pod\n```\n    1.pod 'LLSlideMenu', '~\u003e 1.0.6'\n    2.pod install       // 若获取失败请重新 pod setup\n    3.#import \"LLSlideMenu.h\"\n```\n* Common\n```\n    1.Add \"LLSlideMenu\" files to your Project   // 直接导入“LLSlideMenu”文件夹到项目中\n    2.#import \"LLSlideMenu.h\"\n```\n\n## Usage \u0026nbsp;用法\n* Init \u0026nbsp;初始化\n```\nLLSlideMune *slideMenu = [[LLSlideMune alloc] init];\n[self.view addSubview:slideMenu];\n```\n* Base Property \u0026nbsp;基本属性\n```\n// 设置菜单宽度  menu width\n_slideMenu.ll_menuWidth = 200.f;\n\n// 设置菜单背景色  background color\n_slideMenu.ll_menuBackgroundColor = [UIColor redColor];\n\n// 设置菜单背景图片  background image\n_slideMenu.ll_menuBackgroundImage = [UIImage imageNamed:@\"image\"];\n\n// 背景色或背景图片设置一个即可  background image and color select one\n\n```\n* Open or Close \u0026nbsp;打开或关闭\n```\n[_slideMenu ll_openSlideMenu];      // 打开  open\n[_slideMenu ll_closeSlideMenu];     // 关闭  close\n```\n* GestureRecognizer \u0026nbsp;手势监听\n```\n_slideMenu.ll_distance = 100.f;     // 拉伸距离  pulling distance\n```\n* Spring and Frames \u0026nbsp;弹力和关键帧设置（可控制弹性效果和时间）\n```\n_slideMenu.ll_springDamping = 20;       // 阻力\n_slideMenu.ll_springVelocity = 15;      // 速度\n_slideMenu.ll_springFramesNum = 60;     // 关键帧数量\n```\n\n## Requirements \u0026nbsp;版本要求\nIOS 6.0 Above\n\n## License\nLLSlideMenu is provided under the MIT license. See LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flilei644%2FLLSlideMenu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flilei644%2FLLSlideMenu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flilei644%2FLLSlideMenu/lists"}