Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/possen/dining
Swift Sample App with interactive animations
https://github.com/possen/dining
core-animation demo gcd interactive-animations lru-cache swift
Last synced: 19 days ago
JSON representation
Swift Sample App with interactive animations
- Host: GitHub
- URL: https://github.com/possen/dining
- Owner: possen
- Created: 2017-04-06T16:50:12.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-16T16:09:14.000Z (over 6 years ago)
- Last Synced: 2024-11-10T00:30:16.124Z (3 months ago)
- Topics: core-animation, demo, gcd, interactive-animations, lru-cache, swift
- Language: Swift
- Homepage:
- Size: 2.02 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dining
A project that demonstrates interactive animating view controllers to display a restaurant's reservation. It is purely a sample app so some of the views are just dummy views with nothing in them and it has some rough edges in the UI. It will display the view using view effectsIn addition to demonstrating the animating view controller. It also has a TableViewAdapter pattern that avoids the massive view controller, and that TableViewAdaptor supports multiple cell types and only minor configuration when the view is loaded. The TableViewAdaptor is designed to be reused and is not just for this one instance.
• Overall Approach keep the view controllers small, typically these become quite large with many responsibilities and become unmanagable. You can see this by adopting the Adaptor pattern for the tableView. The Adaptor for the table view is reusable for other table views and supports multiple cell types.
• Adhere to the single responsibility principle. Where each object does one thing and one thing only as much as possible
• Pull to refresh works to bring up the next set of data.
• There is LRU cache which in UIImageView+Extension that demonstrates some multithreaded aware code.