{"id":13743062,"url":"https://github.com/rs/SDSegmentedControl","last_synced_at":"2025-05-09T00:32:35.593Z","repository":{"id":4815879,"uuid":"5969580","full_name":"rs/SDSegmentedControl","owner":"rs","description":"A drop-in remplacement for UISegmentedControl that mimic iOS 6 AppStore tab controls","archived":false,"fork":false,"pushed_at":"2015-09-08T15:41:34.000Z","size":4090,"stargazers_count":1198,"open_issues_count":22,"forks_count":181,"subscribers_count":82,"default_branch":"master","last_synced_at":"2025-04-08T11:14:49.907Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Leaflet/Leaflet.heat","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rs.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":"2012-09-26T17:38:02.000Z","updated_at":"2025-01-16T05:06:05.000Z","dependencies_parsed_at":"2022-08-20T18:20:19.495Z","dependency_job_id":null,"html_url":"https://github.com/rs/SDSegmentedControl","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/rs%2FSDSegmentedControl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rs%2FSDSegmentedControl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rs%2FSDSegmentedControl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rs%2FSDSegmentedControl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rs","download_url":"https://codeload.github.com/rs/SDSegmentedControl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253171163,"owners_count":21865275,"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":[],"created_at":"2024-08-03T05:00:39.596Z","updated_at":"2025-05-09T00:32:34.867Z","avatar_url":"https://github.com/rs.png","language":"Objective-C","funding_links":[],"categories":["Objective-C  Stars 1000以内排名整理","Objective-C"],"sub_categories":[],"readme":"# Segmented Control\n\nA drop-in remplacement for UISegmentedControl that mimic iOS 6 AppStore tab controls.\n\n![The only good piece of UI to extract for this terrible app](https://raw.githubusercontent.com/rs/SDSegmentedControl/master/doc/screencast.gif)\n\n## Features\n\n- Segments with image, image and text or text only\n- Interface Builder support (just throw a UISegmentedControl and change its class SDSegmentedControl)\n- Animated segment selection\n- Content aware dynamic segment width\n- Scrollable if there are too many segments for width\n- Animated segment selection, with animated arrow\n- Appearance customization thru UIAppearance\n- UIControl events for value changes\n- Enable or disable specific segments\n- Indiviual customizable segment width\n\n### TODO\n\n- Shadow effect / arrows, which show that the segment control is scrollable\n\n## Usage\n\nImport `SDSegmentedControl.h` and `SDSegmentedControl.m` into your project and add `QuartzCore` framework to `Build Phases` -\u003e `Link Binary With Libraries`.\n\nYou can then use `SDSegmentedControl` class as you would use normal `UISegmentedControl`.\n\n## Licenses\n\nAll source code is licensed under the [MIT-License](https://raw.github.com/rs/SDSegmentedControl/master/MIT-LICENSE).\n\nThe icons in the example project are taken from [Glypish Free Iconscreated by Joseph Wain](http://glyphish.com) and licensed under the Creative Commons Attribution 3.0 United States License.\n\n## Authors\n\n- Olivier Poitrey \u003crs@dailymotion.com\u003e\n- Marius Rackwitz \u003cgit@mariusrackwitz.de\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frs%2FSDSegmentedControl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frs%2FSDSegmentedControl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frs%2FSDSegmentedControl/lists"}