{"id":21376507,"url":"https://github.com/fluidgroup/transitionpatch","last_synced_at":"2025-12-11T23:01:41.012Z","repository":{"id":56924507,"uuid":"186355583","full_name":"FluidGroup/TransitionPatch","owner":"FluidGroup","description":"Declarative sequence for converting value.","archived":false,"fork":false,"pushed_at":"2022-01-28T19:34:02.000Z","size":15,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-10T14:06:58.595Z","etag":null,"topics":[],"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/FluidGroup.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":"2019-05-13T06:06:16.000Z","updated_at":"2024-12-04T21:25:25.000Z","dependencies_parsed_at":"2022-08-21T05:20:32.520Z","dependency_job_id":null,"html_url":"https://github.com/FluidGroup/TransitionPatch","commit_stats":null,"previous_names":["muukii/transitionpatch"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/FluidGroup/TransitionPatch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FluidGroup%2FTransitionPatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FluidGroup%2FTransitionPatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FluidGroup%2FTransitionPatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FluidGroup%2FTransitionPatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FluidGroup","download_url":"https://codeload.github.com/FluidGroup/TransitionPatch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FluidGroup%2FTransitionPatch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274847834,"owners_count":25360978,"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","status":"online","status_checked_at":"2025-09-12T02:00:09.324Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-22T09:15:59.305Z","updated_at":"2025-12-11T23:01:40.640Z","avatar_url":"https://github.com/FluidGroup.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TransitionPatch\n\n## Sample\n\n```\nlet value = ValuePatch(10)\n  .progress(start: 0, end: 13)\n  .clip(min: 0, max: 1)\n  .reverse()\n  .transition(start: 30, end: 60)\n  .value\n\n// value == 36.92307692307692\n```\n\n## Functions\n\n### Make a Progress\n\nMake a value of progress from CGFloat between a range.\n\n```swift\nlet progress: ProgressPatch = ValuePatch(10)\n  .progress(start: 5, end: 15)\n\n// progress.fractionCompleted == 0.5\n```\n\n### Make a Transition from progress\n\nMake a value of transition from progress between start and end.\n\n```swift\nlet value: ValuePatch = ProgressPatch(0.5)\n  .transition(start: 10, end: 20)\n\n// value.value == 15\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluidgroup%2Ftransitionpatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluidgroup%2Ftransitionpatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluidgroup%2Ftransitionpatch/lists"}