{"id":18820797,"url":"https://github.com/coder-acjhp/uicsegmentedcontrolview","last_synced_at":"2025-09-02T20:33:18.337Z","repository":{"id":131076797,"uuid":"181177065","full_name":"Coder-ACJHP/UICSegmentedControlView","owner":"Coder-ACJHP","description":"Fully customizable segmented control view component","archived":false,"fork":false,"pushed_at":"2019-04-13T13:52:18.000Z","size":2497,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-08T00:35:58.278Z","etag":null,"topics":["custom-view","ios-swift","segmented-control","swift"],"latest_commit_sha":null,"homepage":null,"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/Coder-ACJHP.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-13T13:42:38.000Z","updated_at":"2023-10-27T20:07:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"79e8880c-039a-4129-9db1-c8fdfe7e7a27","html_url":"https://github.com/Coder-ACJHP/UICSegmentedControlView","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coder-ACJHP%2FUICSegmentedControlView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coder-ACJHP%2FUICSegmentedControlView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coder-ACJHP%2FUICSegmentedControlView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coder-ACJHP%2FUICSegmentedControlView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Coder-ACJHP","download_url":"https://codeload.github.com/Coder-ACJHP/UICSegmentedControlView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231810499,"owners_count":18430000,"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":["custom-view","ios-swift","segmented-control","swift"],"created_at":"2024-11-08T00:30:05.681Z","updated_at":"2024-12-30T03:31:47.305Z","avatar_url":"https://github.com/Coder-ACJHP.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UICSegmentedControlView\nFully customizable segmented control view component for IOS written with Swift 4, easy to use it's compatible with all kind of iPhone, iPod and iPads regarding home indicator of X device series in protrait and landscape modes.\n\n## Screen shots: \n\u003cdiv align=center\u003e\n    \u003cimg style=\"display: inline-block;\" src=\"https://github.com/Coder-ACJHP/UICSegmentedControlView/blob/master/UICSegmentedControl/Assets.xcassets/ScreenShot-2.dataset/ScreenShot-2.gif\"\u003e\n    \u003cimg style=\"display: inline-block;\" src=\"https://github.com/Coder-ACJHP/UICSegmentedControlView/blob/master/UICSegmentedControl/Assets.xcassets/UICSegmentControlView_ScreenShot.dataset/UICSegmentControlView_ScreenShot.gif\" width=350 height=700\u003e\n\u003c/div\u003e\n\n## Options: \n1 - Single swift file, only you need to copy and past it into your project. \u003cbr\u003e\n2 - You can customize it also from Storyborad\u003cbr\u003e\n\n## How to use? (implementation) \nUsage of UICSegmentedControl is super easy 🎉\u003cbr\u003e\n - Download `UICSegmentedControl.swift` and import them to your project.\u003cbr\u003e\n### For example: \n```\nvar segmentedControlView: UICSegmentedControlView!\n\noverride func viewDidLoad() {\n        super.viewDidLoad()\n        \n        let frame = CGRect(x: 0, y: 100, width: 370, height: 50)\n        segmentedControlView = UICSegmentedControlView(frame: frame, titleList: [\"BEST VIDEOS\",\"FAVORITES\",\"HISTORY\"])\n        segmentedControlView.cornerRadiuss = frame.height / 2\n        segmentedControlView.selectionBarColor = .white\n        segmentedControlView.selectionBarTitleColor = .white\n        segmentedControlView.selectionBarTitleFont = UIFont.boldSystemFont(ofSize: 13)\n        segmentedControlView.delegate = self\n        view.addSubview(segmentedControlView)\n    }\n    \n    // delegate method implement it from 'UICSegmentedControlDelegate'\n    func segmentedControlView(_ segmentedControlView: UICSegmentedControlView, didSelectedIndex: Int) {\n        self.selectedIndex = didSelectedIndex\n    }\n```\n\n## Requirements\nXcode 9 or later \u003cbr\u003e\niOS 10.0 or later \u003cbr\u003e\nSwift 4 or later \u003cbr\u003e\n\n#### Licence : \nThe MIT License (MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder-acjhp%2Fuicsegmentedcontrolview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoder-acjhp%2Fuicsegmentedcontrolview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder-acjhp%2Fuicsegmentedcontrolview/lists"}