/Pokemon_ObjC

Exercise for fetching data from PokeAPI in Objective-C & UIKit

Primary LanguageObjective-CApache License 2.0Apache-2.0

Pokemon_ObjC

Xcode version 13 Swift Version 5.5

This is a sample Project for fetching data from PokeAPI in Objective-C & UIKit

  • This Application is full written in Objective-C.
  • UI has been implemented with UIKit. In this particular case in 'programmatic way' without use of Storyboards.
  • Because Objective-C doesn't support newest technologies like Swift-Concurrency we are obliged to fallback on blocks (like closures in swift), with callbacks and completion handlers architecture.
  • Images are downloaded with a basic caching system implemented inside Http Client for avoid useless downloads and data consumption.
  • Because the pokemon count amount to 1154, is unrealistic to download everything in one shot, so it has been implemented also a pagination system, that download other pokemons while scrolling.
  • Furthermore with Dispatch Group we are able to download data in parallel instead of a sequential async requests.