![]() You will have to implement all of the tableview functionality for this class. CategoryViewController.swift in the Controllers folder - displays a list of Pokemon which belong to the selected category.You will have to implement all of the collectionview functionality for this class. SearchViewController.swift in the Controllers folder - this is the initial view controller which handles category selection.You will need to reference this dictionary in the first part of the lab. It also stores a dictionary mapping integer values to all of the possible categories of Pokemon. PokemonGenerator.swift in the Model folder - this file contains a useful function which goes through the JSON file and generates an array of Pokemon objects for us.Note that there is not much code in this file - we simply use it to store and access the properties of each Pokemon. Take a look at all the variables we are keeping track of. ![]() Pokemon.swift in the Model folder - this is the model for Pokemon objects. ![]() You will not need to do anything with this file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |