Skip to content

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

License

Notifications You must be signed in to change notification settings

apemaia99/Pokemon_ObjC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.