{"id":19476571,"url":"https://github.com/humayan-kabir/quizzler-ios13","last_synced_at":"2026-04-15T23:33:02.722Z","repository":{"id":171361622,"uuid":"346134320","full_name":"Humayan-Kabir/Quizzler-iOS13","owner":"Humayan-Kabir","description":"Learning Swift design pattern, how to use Model View Controller or MVC for app development","archived":false,"fork":false,"pushed_at":"2021-03-09T23:36:37.000Z","size":1866,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-18T23:02:23.713Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Humayan-Kabir.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-09T20:23:33.000Z","updated_at":"2021-03-09T23:36:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"3824a4e7-d2f3-4b7f-bffa-63e32de6ab76","html_url":"https://github.com/Humayan-Kabir/Quizzler-iOS13","commit_stats":null,"previous_names":["humayan-kabir/quizzler-ios13"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Humayan-Kabir/Quizzler-iOS13","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Humayan-Kabir%2FQuizzler-iOS13","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Humayan-Kabir%2FQuizzler-iOS13/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Humayan-Kabir%2FQuizzler-iOS13/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Humayan-Kabir%2FQuizzler-iOS13/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Humayan-Kabir","download_url":"https://codeload.github.com/Humayan-Kabir/Quizzler-iOS13/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Humayan-Kabir%2FQuizzler-iOS13/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31865067,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T19:40:56.039Z","updated_at":"2026-04-15T23:33:02.692Z","avatar_url":"https://github.com/Humayan-Kabir.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\r\n  \u003cimg src=\"quizzler.gif\" alt=\"animated\" /\u003e\r\n\u003c/p\u003e\r\n\u003ch1 align=\"center\"\u003e Quizzler \u003c/h1\u003e\r\n\r\n# Goal\r\n\r\nThis project is a part of IOS Bootcamp which I am completing now on [Udemy](https://www.udemy.com/course/ios-13-app-development-bootcamp).\r\nThe goal of this project is to learn the holy grail of mobile design patterns: the Model View Controller (MVC) pattern. A design pattern is simply a repeatable and optimised solution to a common software problem.\r\n\r\n## What I will create\r\n\r\nWill program a trivia quiz app. The point of the project is nothing but learning MVC pattern which is used widely in App development. \r\n\r\n## What I learned\r\n\r\n* How to programmatically change UI elements such as Labels and Buttons.\r\n* What is a design pattern and how is it used in programming.\r\n* How to use the Model-View-Controller or MVC pattern for app development.\r\n* Learn about Swift Structures how to instantiate a struct instance.\r\n* Understand the difference between value types and reference types. \r\n* Learn about Swift Classes and creating Objects.\r\n* Compare Swift Classes with Swift Structs and know when to use which.\r\n* Learn about Object Oriented Programming.\r\n* How to refactor code and stay organised.\r\n\r\n\r\n\r\n## Default Quiz\r\n\r\n```\r\n  Question(q: \"A slug's blood is green.\", a: \"True\"),\r\n        Question(q: \"Approximately one quarter of human bones are in the feet.\", a: \"True\"),\r\n        Question(q: \"The total surface area of two human lungs is approximately 70 square metres.\", a: \"True\"),\r\n        Question(q: \"In West Virginia, USA, if you accidentally hit an animal with your car, you are free to take it home to eat.\", a: \"True\"),\r\n        Question(q: \"In London, UK, if you happen to die in the House of Parliament, you are technically entitled to a state funeral, because the building is considered too sacred a place.\", a: \"False\"),\r\n        Question(q: \"It is illegal to pee in the Ocean in Portugal.\", a: \"True\"),\r\n        Question(q: \"You can lead a cow down stairs but not up stairs.\", a: \"False\"),\r\n        Question(q: \"Google was originally called 'Backrub'.\", a: \"True\"),\r\n        Question(q: \"Buzz Aldrin's mother's maiden name was 'Moon'.\", a: \"True\"),\r\n        Question(q: \"The loudest sound produced by any animal is 188 decibels. That animal is the African Elephant.\", a: \"False\"),\r\n        Question(q: \"No piece of square dry paper can be folded in half more than 7 times.\", a: \"False\"),\r\n        Question(q: \"Chocolate affects a dog's heart and nervous system; a few ounces are enough to kill a small dog.\", a: \"True\")\r\n```\r\n\r\n## Multiple Choice Quiz\r\n\r\n```\r\n Question(q: \"Which is the largest organ in the human body?\", a: [\"Heart\", \"Skin\", \"Large Intestine\"], correctAnswer: \"Skin\"),\r\n        Question(q: \"Five dollars is worth how many nickels?\", a: [\"25\", \"50\", \"100\"], correctAnswer: \"100\"),\r\n        Question(q: \"What do the letters in the GMT time zone stand for?\", a: [\"Global Meridian Time\", \"Greenwich Mean Time\", \"General Median Time\"], correctAnswer: \"Greenwich Mean Time\"),\r\n        Question(q: \"What is the French word for 'hat'?\", a: [\"Chapeau\", \"Écharpe\", \"Bonnet\"], correctAnswer: \"Chapeau\"),\r\n        Question(q: \"In past times, what would a gentleman keep in his fob pocket?\", a: [\"Notebook\", \"Handkerchief\", \"Watch\"], correctAnswer: \"Watch\"),\r\n        Question(q: \"How would one say goodbye in Spanish?\", a: [\"Au Revoir\", \"Adiós\", \"Salir\"], correctAnswer: \"Adiós\"),\r\n        Question(q: \"Which of these colours is NOT featured in the logo for Google?\", a: [\"Green\", \"Orange\", \"Blue\"], correctAnswer: \"Orange\"),\r\n        Question(q: \"What alcoholic drink is made from molasses?\", a: [\"Rum\", \"Whisky\", \"Gin\"], correctAnswer: \"Rum\"),\r\n        Question(q: \"What type of animal was Harambe?\", a: [\"Panda\", \"Gorilla\", \"Crocodile\"], correctAnswer: \"Gorilla\"),\r\n        Question(q: \"Where is Tasmania located?\", a: [\"Indonesia\", \"Australia\", \"Scotland\"], correctAnswer: \"Australia\")\r\n```        \r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumayan-kabir%2Fquizzler-ios13","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhumayan-kabir%2Fquizzler-ios13","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumayan-kabir%2Fquizzler-ios13/lists"}