-
A simple iOS app developed using UIKit and not prefer to use of XIB and Storyboard.
-
Development choises: Developed without any external framework
-
Applied MVVM (Model View Viewmodel) approach as an architectural pattern.
-
The application has two screens: the first one is a Table View with a list of Pokemon, the second is a detail screen of the pokemon that you tapped on the first screen.
-
Used a Coordinator to move between my views.
-
The application coordinator instanciate the UINavigationController and the root view controller; meanwhile the ViewControllerCoordinator pushes the PokemonDetailsView.
-
For the first screen I used a simple Table View and I implemented an infinite scroll: 40 items are loaded at a time..
-
Using the UITableViewDataSourceePreftching I was able to set the conditions so that new data can be fetched.
-
To take the data that populated my application I used the API Rest services offered by the site pokeapi.co .
-
In particular I used only 2 services: the first gives me the list of all pokemon (divided into pages to implement the infinite scroll and then load the pages only when required) the second instead gives me all the pokemon's data.
-
Fetching and parsing operations (from JSON to our data structure) are all entrusted to the Parser is responsible for taking the data and converting it into our data structure.
-
I decided to entrust the responsibility for navigation between the various screens, and their actual creation, to the Coordinator.
-
The ApplicationCoordinator is the one that creates the root view, inserting it in an UINavigationController.
-
The ViewControllerCoordinator instead, is responsible for instantiate PokemonDetailsViewController tap on the given cell.
pokemonlist's Introduction
pokemonlist's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.