{"id":13396493,"url":"https://github.com/dotintent/WobbleView","last_synced_at":"2025-03-13T23:31:21.037Z","repository":{"id":30062388,"uuid":"33611821","full_name":"dotintent/WobbleView","owner":"dotintent","description":null,"archived":false,"fork":false,"pushed_at":"2017-05-30T20:56:02.000Z","size":287,"stargazers_count":2191,"open_issues_count":3,"forks_count":117,"subscribers_count":61,"default_branch":"master","last_synced_at":"2024-05-23T05:28:00.506Z","etag":null,"topics":[],"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/dotintent.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":"2015-04-08T14:26:46.000Z","updated_at":"2024-05-20T20:35:47.000Z","dependencies_parsed_at":"2022-08-28T14:02:08.658Z","dependency_job_id":null,"html_url":"https://github.com/dotintent/WobbleView","commit_stats":null,"previous_names":["infullmobile/wobbleview"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotintent%2FWobbleView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotintent%2FWobbleView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotintent%2FWobbleView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotintent%2FWobbleView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotintent","download_url":"https://codeload.github.com/dotintent/WobbleView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221421546,"owners_count":16817827,"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-07-30T18:00:55.060Z","updated_at":"2024-10-25T11:30:41.251Z","avatar_url":"https://github.com/dotintent.png","language":"Swift","funding_links":[],"categories":["UI","Swift"],"sub_categories":[],"readme":"# WobbleView\n\nWobbleView is an implementation of a recently popular wobble effect for any view in your app. It can be used to easily add dynamics to user interactions and transitions.\n\nCheck this [project on Dribble](https://dribbble.com/shots/2009891-Bits-and-pixels-Wobble-Effect).\n\n![Wobble](https://github.com/inFullMobile/WobbleView/blob/master/wobble.gif?raw=true)\n\n## Installation\n\nThere are two options:\n\n1. WobbleView is available via CocoaPods.\n2. Manually add the files into your Xcode project. Slightly simpler, but updates are also manual.\n\n## Usage\n\nJust create a WobbleView and change its position.  \n\n```swift\nself.wobbleView.frame.origin = CGPoint(x: randomX, y: randomY)\n```\n\nor\n\n```swift\nself.wobbleView.center = CGPoint(x: randomX, y: randomY)\n```\n\nor animate the view's constraints.\n\n## Properties\n\n```swift\ninternal var frequency: CGFloat = 3\n```\n\nThe frequency of oscillation for the wobble behavior.\n\n```swift\ninternal var damping: CGFloat = 0.3\n```\n\nThe amount of damping to apply to the wobble behavior.\n\n```swift\nvar edges: ViewEdge = ViewEdge.Right\n```\n\nA bitmask value that identifies the edges that you want to wobble. You can use this parameter to wobble only a subset of the sides of the rectangle.\n\n## Requirements\n\n- Swift 2.0\n- Xcode 7\n\n## License\n\nReleased under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotintent%2FWobbleView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotintent%2FWobbleView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotintent%2FWobbleView/lists"}