{"id":15527869,"url":"https://github.com/mergesort/tableflip","last_synced_at":"2025-09-11T02:36:02.465Z","repository":{"id":38325942,"uuid":"72555349","full_name":"mergesort/TableFlip","owner":"mergesort","description":"A simpler way to do cool UITableView animations! (╯°□°）╯︵ ┻━┻","archived":false,"fork":false,"pushed_at":"2021-01-17T15:12:23.000Z","size":10456,"stargazers_count":560,"open_issues_count":0,"forks_count":35,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-08-20T01:46:18.209Z","etag":null,"topics":["animation","ios","uitableview"],"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/mergesort.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2016-11-01T16:35:18.000Z","updated_at":"2025-06-30T20:31:08.000Z","dependencies_parsed_at":"2022-08-25T02:00:15.144Z","dependency_job_id":null,"html_url":"https://github.com/mergesort/TableFlip","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/mergesort/TableFlip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mergesort%2FTableFlip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mergesort%2FTableFlip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mergesort%2FTableFlip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mergesort%2FTableFlip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mergesort","download_url":"https://codeload.github.com/mergesort/TableFlip/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mergesort%2FTableFlip/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274568357,"owners_count":25309281,"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-11T02:00:13.660Z","response_time":74,"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":["animation","ios","uitableview"],"created_at":"2024-10-02T11:09:35.576Z","updated_at":"2025-09-11T02:36:02.450Z","avatar_url":"https://github.com/mergesort.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TableFlip\n\n### (╯°□°）╯︵ ┻━┻\n\n### ┬──┬ ノ( ゜-゜ノ)\n---\n\n[![Pod Version](https://img.shields.io/badge/Pod-1.1-6193DF.svg)](https://cocoapods.org/)\n![Swift Version](https://img.shields.io/badge/Swift-4.2-brightgreen.svg)\n![License MIT](https://img.shields.io/badge/License-MIT-lightgrey.svg) \n![Plaform](https://img.shields.io/badge/Platform-iOS-lightgrey.svg)\n\n### Animations are cool. UITableView isn't. So why not make animating UITableView cool?\n\n---\n\n##### The entire API for TableFlip consists of an animation, and a call to animate. It's as simple as that.\n\n##### TableFlip takes the annoying nature of reloading UITableViews, maintaining state, and anminating, and minimizes it to two lines of code.\n\n##### If you want to animate every cell consecutively, the code will look like this.\n\n```swift\nself.tableView.reloadData()\nself.tableView.animate(animation: myCoolCellAnimation)\n```\n\n##### And if you want to animate the entire table view at once, the code will look like this: \n\n```swift\nself.tableView.reloadData()\nself.tableView.animate(animation: myCoolTableAnimation)\n```\n\nAnimations are completely customizable and configurable. TableFlip provides a few built-in defaults that work nicely out the box, if you don't want to make your own.\n\n## Let's look at some examples\n\n\n### Animating from the left with a nice staggered effect:\n\n```swift\nTableViewAnimation.Cell.left(duration: 0.5)\n```\n\n![](gifs/left.gif)\n\n\n### Pushing from the top can make a nice initial loading effect:\n\n```swift\nTableViewAnimation.Table.top(duration: 0.8)\n```\n\n![](gifs/top.gif)\n\n### A simple fade is always elegant:\n\n```swift\nTableViewAnimation.Cell.fade(duration: 1.0)\n```\n\n![](gifs/fade.gif)\n\n\n### And you can make your own transform, as fun or weird as you want by using CGAffineTransform:\n\n```swift\nlet degrees = sin(90.0 * CGFloat.pi/180.0)\nlet rotationTransform = CGAffineTransform(rotationAngle: degrees)\nlet flipTransform = CGAffineTransform(scaleX: -1, y: -1)\nlet customTransform = rotationTransform.concatenating(flipTransform)\n\nlet customAnimation = TableViewAnimation.Cell.custom(duration: 0.6, transform: customTransform, options: .curveEaseInOut)\n                \nself.tableView.animate(animation: customAnimation, completion: nil)\n```\n\n![](gifs/custom.gif)\n\n## Requirements\n\n- iOS 8.0+\n- Xcode 10.0+\n- Swift 4.2\n\n## Installation\nYou can use [CocoaPods](http://cocoapods.org/) to install `TableFlip` by adding it to your `Podfile`:\n\n```ruby\nplatform :ios, '8.0'\nuse_frameworks!\n\npod 'TableFlip'\n```\n\nOr install it manually by downloading `UITableView+Animations.swift` and dropping it in your project.\n\n## About me\n\nHi, I'm [Joe](http://fabisevi.ch) everywhere on the web, but especially on [Twitter](https://twitter.com/mergesort).\n\n## License\n\nSee the [license](LICENSE) for more information about how you can use TableFlip.\n\n## P.S.\n\nIf all you liked was the kitty, that's my baby Gif. Feel free to follow her on the [Instagram](https://www.instagram.com/gifthecat).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmergesort%2Ftableflip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmergesort%2Ftableflip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmergesort%2Ftableflip/lists"}