iOS App by which the user can display a list of characters from the Harry Potter Movies.

Overview

HarryPotterCharacters

App Overview

The app is comprised of 3 view controllers embedded inside a navigationViewController.

The first is a UICollectionViewController which displays 7 buttons to the user:

All Characters Students Staff Gryffindor Hufflepuff Ravenclaw Slytherin

The second is a UITableViewController. When the user taps a button from the main screen the app shows the user a list of characters from the catagory for which then have chosen

The third is a UIViewController which contains a UIStackView with six UILables in it which display the character details.

Personal Thoughts

I had never used Alamofire or cocoapods before, although I had heard of both and knew what they were. But overall I found it fairly easy to work with as a technology. But I image I have literally only scratched the surface of what its capable of.

The three fetch data functions in the HomeViewController could be refactored into a single function, passing it with arguments to get the desired data back from it.

The house sorting code could also be moved out of fetchAllCharacterData() and into its own function, although it may not be anymore efficent, it would give the code better structure and look alot better.

Finally, there is alot of duplicate data. You could probably get away with one array of characters, create a sorting function which iterates through the allCharacters array and passes that data to the detailsViewController showing the user the filtered data that they require, be it either students, staff or house data.

Dependencies

Alamofire

Dependency Management

Cocoapods

You might also like...
Fast iOS app to browse and search movies, tv, actors, credits
Fast iOS app to browse and search movies, tv, actors, credits

Fast iOS app to browse and search movies, tv, actors, credits

Movies is a collection of a few UI/UX ideas that came up whilst developing an iOS app
Movies is a collection of a few UI/UX ideas that came up whilst developing an iOS app

Movies Introduction: Movies is a collection of a few UI/UX ideas that came up whilst developing an iOS app called Wattmo You'll find tableviews, detai

MovieZine - An iOS app for all about latest movies using TDMB api and swiftUI
MovieZine - An iOS app for all about latest movies using TDMB api and swiftUI

MovieZine MovieZine ia an iOS app for "all about latest movies" using TDMB api a

Reading List is an iOS app for iPhone and iPad which helps users track and catalog the books they read
Reading List is an iOS app for iPhone and iPad which helps users track and catalog the books they read

Reading List Reading List is an iOS app for iPhone and iPad which helps users track and catalog the books they read. Reading List v2 As of version 2.0

An example to-do list app using SwiftUI which is introduced in WWDC19
An example to-do list app using SwiftUI which is introduced in WWDC19

SwiftUITodo SwiftUITodo is an example to-do list application using SwiftUI which is first introduced in WWDC19 keynote. Requirements Xcode 11 Beta Swi

Headline News Widget for Better Touch Tool. You can display the articles fetched by rss.

BTTPluginHeadLineNews This is a headline news widget plugin for BTT(Better Touch Tool) You can display the articles fetched by rss. (Pock version is h

An iOS app that generates random activities for the user to do. And can be personalized by setting the categories.

RandomActivityApp An iOS app that generates random activities for the user to do. And can be personalized by setting the categories. Created by: Pedro

This is a repository with an app that shows a list of posts and where you can access the detail of each of them
This is a repository with an app that shows a list of posts and where you can access the detail of each of them

PostsApp This is a repository with an app that shows a list of posts and where you can access the detail of each of them Dependencies You need to inst

iOS Trakt Client - Keep track of your favorite TV shows and movies on your iPhone. (Under development)

CouchTracker Keep track of your favorite movies and tv shows on your iPhone Setup for development You will need Xcode 11.2.1 Swift 5.1.2 Run the follo

Owner
Matthew Hollyhead
Tech, iOS, Swift, Programming Enthusiast. Starting a new journey into Software Engineering.
Matthew Hollyhead
Mahmoud-Abdelwahab 5 Nov 23, 2022
SwiftUI movies list using The Movie Database (TMDB) API

MyMoviesList About MyMovieList is an application that uses The Movie Database (TMDB) API and is built with SwiftUI. It demo of some SwiftUI (& Combine

Arnaud 1 Dec 5, 2021
MovieAppSwiftUI - The Application is using TMDB API and Server API to reduce user searching movies resources time with search engine

MovieAppSwiftUI The Application is using TMDB API and Server API to reduce user searching movies resources time with search engine.This Application is

JackSon_tm.m 5 Oct 29, 2022
Marvel Characters App With Swift

MarvelCharacters App Features List Marvel Characters Show marvel character detail screen Search characters using starting name Handling Empty state in

null 0 Nov 22, 2021
TheSimpsonsQuoteGenerator - An app that generates Simpson's characters quotes, simple as that

Simpsons Quotes Generator An app that generates quotes from simpsons About The P

aleksandre khubuluri 5 Nov 4, 2022
IOS application for researching of Rick and Morty Universe: characters, locations, episodes.

Rick and Morty universe iOS app In this project I used Swift Alamofire Creating UI programmatically MVC, Delegate, Singleton Design: figma mockup API:

Ilya Pavlov 7 Nov 9, 2022
Gallery of Marvel comics characters 🕷

Marvelgram app Marvelgram app - is a gallery of Marvel comics characters. Figma design JSON-data from endpoint Overview Launch Search Details Layout F

Mikhail Chaus 3 Nov 12, 2022
iOS App to display game lists and details with the ability to add games to your favorites list and see metacritic ratings.

Game Data System - GDS Author: Heitor Silveira ([email protected]) iOS App to view games from various platforms, their description, release

Heitor Ugarte Calvet da Silveira 0 Oct 6, 2021
Todo-list - Simple todo list app written in Swift

About TodoApp TodoApp is sinmple todo list app that I created in my free time, i

null 2 Aug 30, 2022
Forecast App is an ios application built on top of omdb movie api for batman lovers to see their favorite batman movies

Catbon-Movie-App Forecast App is an ios application built on top of omdb movie api for batman lovers to see their favorite batman movies, users can al

GuruKing 0 Dec 6, 2021