{"id":15050775,"url":"https://github.com/brocoo/brflabbytable","last_synced_at":"2025-04-04T11:14:29.815Z","repository":{"id":15315384,"uuid":"18045367","full_name":"brocoo/BRFlabbyTable","owner":"brocoo","description":"Bouncy and distorded table view cells, available on Cocoapods","archived":false,"fork":false,"pushed_at":"2016-12-13T17:14:22.000Z","size":42,"stargazers_count":814,"open_issues_count":2,"forks_count":84,"subscribers_count":35,"default_branch":"master","last_synced_at":"2024-10-30T05:56:40.416Z","etag":null,"topics":["animation","objective-c","scrolling","uitableview"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brocoo.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-03-23T22:39:11.000Z","updated_at":"2024-03-19T00:01:42.000Z","dependencies_parsed_at":"2022-08-25T20:21:11.433Z","dependency_job_id":null,"html_url":"https://github.com/brocoo/BRFlabbyTable","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/brocoo%2FBRFlabbyTable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brocoo%2FBRFlabbyTable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brocoo%2FBRFlabbyTable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brocoo%2FBRFlabbyTable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brocoo","download_url":"https://codeload.github.com/brocoo/BRFlabbyTable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247166168,"owners_count":20894654,"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","objective-c","scrolling","uitableview"],"created_at":"2024-09-24T21:29:19.062Z","updated_at":"2025-04-04T11:14:29.787Z","avatar_url":"https://github.com/brocoo.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"BRFlabbyTable\n=============\n\nBRFlabbyTable is a set of classes that allow you to add a bouncy and distorted effect on a cell frame while the table is scrolling. The \"flabbiness\" of the cells is based on the speed of scrolling.\n\nUpon pressing and dragging, the highlighted cell grows around the touch area.\n\nSee BRFlabbyTable in action on Vimeo [here](https://vimeo.com/90079010) and [here](https://vimeo.com/90078782).\n\n\n\n![http://i.imgur.com/Fl90rLm.png](http://i.imgur.com/Fl90rLm.png)\n![http://i.imgur.com/0KhUhMN.png](http://i.imgur.com/0KhUhMN.png)\n\nUsage\n-----\n\nBRFlabbyTable is available via [Cocoapods](http://cocoapods.org/), add this line in your podfile :\n  ```\n  pod 'BRFlabbyTable', '~\u003e 1.0'\n  ```\n\n1.  Import the classes into your view controller:\n\n  ```objective-c\n    #import \"BRFlabbyTableManager.h\"\n    #import \"BRFlabbyTableViewCell.h\"\n  ```\n\n2.  Initialize the `BRFlabbyTableManager` in the `viewDidLoad` method of your view controller or any `init` method\n\n  ```objective-c\n    self.flabbyTableManager = [[BRFlabbyTableManager alloc] initWithTableView:self.tableView];\n    [self.flabbyTableManager setDelegate:self];\n  ```\n\n3.  Adopt the `BRFlabbyTableManagerDelegate` protocol and implement the following delegate method:\n\n  ```objective-c\n    - (UIColor *)flabbyTableManager:(BRFlabbyTableManager *)tableManager flabbyColorForIndexPath:(NSIndexPath *)indexPath{\n            \n        return [UIColor randomColor];\n    }\n\n  ```\n\n4.  Register `BRFlabbyTableViewCell` subclasses for your UITableView and set their color and behavior in the `tableView:cellForRowAtIndexPath:` method :\n\n  ```objective-c\n    - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{\n    \n        BRFlabbyTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@\"BRFlabbyTableViewCellIdentifier\" forIndexPath:indexPath];\n        [cell setFlabby:YES];\n        [cell setLongPressAnimated:YES];\n        [cell setFlabbyColor:[UIColor randomColor]];\n        return cell;\n    }\n  ```\n\n5.  Enjoy!\n\n\nNotes\n-----\n`BRFlabbyTableViewCell` and its subclasses work also with the Interface Builder and Autolayout.\n\nThe Android version developed by [jpardogo](https://github.com/jpardogo) is available at [FlabbyListView](https://github.com/jpardogo/FlabbyListView)\n\nDeveloped By\n----\n\nJulien Ducret - \u003cbrocoo@gmail.com\u003e\n\nFollow me on Twitter [@jbrocoo](https://twitter.com/jbrocoo)\n\nCheck out my app: [Spores](https://itunes.apple.com/us/app/spores/id718495353?l=fr\u0026ls=1\u0026mt=8)\n\n\nLicence\n----\n\nBRFlabbyTable is under Apache licence, see the LICENCE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrocoo%2Fbrflabbytable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrocoo%2Fbrflabbytable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrocoo%2Fbrflabbytable/lists"}