{"id":2336,"url":"https://github.com/fastred/MotionBlur","last_synced_at":"2025-08-02T23:33:09.255Z","repository":{"id":18860894,"uuid":"22077570","full_name":"fastred/MotionBlur","owner":"fastred","description":"MotionBlur allows you to add motion blur effect to iOS animations.","archived":false,"fork":false,"pushed_at":"2015-04-04T18:14:02.000Z","size":973,"stargazers_count":1501,"open_issues_count":1,"forks_count":92,"subscribers_count":45,"default_branch":"master","last_synced_at":"2024-04-24T14:47:24.116Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://holko.pl/2014/07/21/motion-blur/","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/fastred.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":"2014-07-21T19:39:26.000Z","updated_at":"2024-04-10T03:04:54.000Z","dependencies_parsed_at":"2022-08-03T07:45:29.914Z","dependency_job_id":null,"html_url":"https://github.com/fastred/MotionBlur","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastred%2FMotionBlur","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastred%2FMotionBlur/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastred%2FMotionBlur/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastred%2FMotionBlur/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fastred","download_url":"https://codeload.github.com/fastred/MotionBlur/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228503192,"owners_count":17930533,"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-01-05T20:16:11.196Z","updated_at":"2024-12-06T17:31:00.874Z","avatar_url":"https://github.com/fastred.png","language":"Objective-C","funding_links":[],"categories":["UI","Animation","Uncategorized","Objective-C"],"sub_categories":["Animation","Other free courses","Uncategorized"],"readme":"# MotionBlur\n\n`MotionBlur` allows you to add motion blur effect to your animations (currently only position's change). See the [accompanying blog post](http://holko.pl/2014/07/21/motion-blur/) to learn how it's implemented.\n\n![Demo GIF](https://raw.githubusercontent.com/fastred/MotionBlur/master/demo.gif)\n\n*Note how the text and icons on the menu get blurred when it slides in and out.*\n\n## Usage\n\nFirst, import it with:\n\n```obj-c\n#import \"UIView+MotionBlur.h\"\n```\n\nthen use it with:\n\n```obj-c\n[yourView enableBlurWithAngle:M_PI_2 completion:^{\n    [UIView animateWithDuration:0.5\n                          delay:0\n         usingSpringWithDamping:0.8\n          initialSpringVelocity:0.3\n                        options:UIViewAnimationOptionAllowUserInteraction | UIViewAnimationOptionBeginFromCurrentState\n                     animations:^{\n\n        CGRect f = yourView.frame;\n        f.origin = CGPointMake(0, 300);\n        yourView.frame = f;\n    } completion:^(BOOL finished) {\n        [yourView disableBlur];\n    }];\n}];\n```\n\nSnapshot and blur are computed before the animation, that's why the API is asynchronous. You should also see the example project and read comments in the header file: `Classes/UIView+MotionBlur.h`.\n\n## Demo\n\nTo run the example project; clone the repo and open `Example/MotionBlur.xcodeproj`.\n\n## Requirements\n\n * iOS 8 and above\n\n## Installation\nMotionBlur is available through CocoaPods. To install it, simply add the following line to your Podfile:\n\n    pod \"MotionBlur\"\n\n## Author\n\nArkadiusz Holko:\n\n* [Blog](http://holko.pl/)\n* [@arekholko on Twitter](https://twitter.com/arekholko)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastred%2FMotionBlur","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffastred%2FMotionBlur","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastred%2FMotionBlur/lists"}