{"id":15991087,"url":"https://github.com/xsam/ios-material-animation","last_synced_at":"2025-04-04T23:21:49.623Z","repository":{"id":115781965,"uuid":"88353519","full_name":"XSAM/IOS-Material-Animation","owner":"XSAM","description":"Material animation library for iOS","archived":false,"fork":false,"pushed_at":"2017-07-10T12:31:56.000Z","size":866,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T07:43:24.276Z","etag":null,"topics":["animation","custom-animation","ios","ios-animation","material-design","objective-c"],"latest_commit_sha":null,"homepage":"","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/XSAM.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":"2017-04-15T14:51:27.000Z","updated_at":"2020-09-01T15:31:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"5e2be489-9615-49a0-8633-cd1ca6246fef","html_url":"https://github.com/XSAM/IOS-Material-Animation","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XSAM%2FIOS-Material-Animation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XSAM%2FIOS-Material-Animation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XSAM%2FIOS-Material-Animation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XSAM%2FIOS-Material-Animation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/XSAM","download_url":"https://codeload.github.com/XSAM/IOS-Material-Animation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247262765,"owners_count":20910303,"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":["animation","custom-animation","ios","ios-animation","material-design","objective-c"],"created_at":"2024-10-08T05:41:45.979Z","updated_at":"2025-04-04T23:21:49.598Z","avatar_url":"https://github.com/XSAM.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IOS Material Animation\n\n[![IOS](https://img.shields.io/badge/platform-IOS-lightgrey.svg)]()\n\n**Material Animation** is a library for building IOS UIView animation. Inspired by [Google Material Design](https://material.io/)\n\n## Features\n- Change background color with shape animation\n- Easy to custom and easy to use\n\n![image](https://raw.githubusercontent.com/XSAM/IOS-Material-Animation/master/For%20README/demonstration.gif)\n\n## Installation\n- Download the latest release version or add the repository as a git submodule to your git-tracked project.\n- Open your project in Xcode, then drag and drop all the folder directories in BSXMaterialAnimation folder onto your project (use the \"Product Navigator view\"). Make sure to select Copy items when asked if you extracted the code archive outside of your project.\n\n## Example\nCheckout the Example project\n\n## Usage\nImport in your file\n```Objective-c\n#import \"UIView+BSXMaterialAnimation.h\"\n```\n\nSetup UIView\n```Objective-c\n[self.uiview setupForBSXAnimation];\n```\n\nRun animation with UIView\n```Objective-c\n[self.uiview runBSXAnimateWithCGPoint:CGPointMake(0, 0)\n                      backgroundColor:[UIColor greenColor]\n                             isExpand:true\n                             duration:0.65f\n                       timingFunction:nil\n                           completion:nil];\n```\n\n## Detail\n**Material Animation** will change UIView backgroundColor with parameter `backgroundColor` after animation in `Expand` mode\n\n**Parameter**\n- **CGPoint**  Animation center point\n- **backgroundColor** Animation color\n- **isExpand** Whether the animation is expand or shrink\n- **duration** The total duration of the animation\n- **timingFunction** You can custom your own timingFunction, nil meaning default which is `kCAMediaTimingFunctionEaseIn`\n- **completion** A block object to be executed when the animation end\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxsam%2Fios-material-animation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxsam%2Fios-material-animation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxsam%2Fios-material-animation/lists"}