Build a trivia game app from scratch with this SwiftUI crash course

Поділитися
Вставка
  • Опубліковано 22 сер 2024

КОМЕНТАРІ • 62

  • @qfsmith1
    @qfsmith1 2 роки тому +6

    I'm digging all of your videos. Please keep them coming. Thank you.

  • @semilife
    @semilife 2 роки тому +2

    Thanks so much Stephanie for another great tutorial. The best one so far, so much detail and coverage for a number of key skills. Look forward to your next one.

  • @ins3rt915
    @ins3rt915 6 місяців тому

    Thank you so much for this awesome tutorial! You just saved my computers finals submission

  • @ID_Station
    @ID_Station Рік тому +1

    I asked ChatGPT what app I should make given some parameters and it replied with making a trivia game so here I am.

  • @ShaifulSujohn
    @ShaifulSujohn 2 роки тому +1

    Nice tutorial with clear detailing. Following...

  • @carmineloschiavo5864
    @carmineloschiavo5864 2 роки тому

    Stephanie -You are so gifted ! Thanks for another great tutorial. I will be there to join you for the next one. ❤️‍🔥💝 Happy New Year 🎆

    • @DesignCodeTeam
      @DesignCodeTeam  2 роки тому

      Glad it helped Carmine! Happy new year to you as well!
      - Stephanie

  • @dongxiang9370
    @dongxiang9370 Рік тому

    Thank you very much for detailed tutorial. One suggestion is if you can structure you programming, like views, components, models, and managers, extensions and how to link them together. Great tutorial, expecting more to come.

  • @marcoalonso6759
    @marcoalonso6759 Рік тому

    very nice tutorial, keep uploading this kind of videos.

  • @andrejkling3886
    @andrejkling3886 2 роки тому +1

    Excellent tutorial... Thank you

  • @everyontech2716
    @everyontech2716 Рік тому

    wonderful tutorial...one suggestion is to use coredata to store scores and provide difficulty level based on this level

  • @FemiKolawole
    @FemiKolawole 2 роки тому

    Excellent!! Thank you for sharing

  • @belafekete3125
    @belafekete3125 2 роки тому

    This is excellent tutorial! Thank you for sharing knowledgeable information.

  • @ledues3336
    @ledues3336 2 роки тому +1

    I dig this UI!

  • @anox8633
    @anox8633 Рік тому +1

    thanks for the tutorial!! i have question how can i show the correct answer if the user chose a wrong one but not letting him choose again?

  • @jomaari
    @jomaari Рік тому

    You are a great coder.

  • @aidencvfx
    @aidencvfx 2 роки тому

    Fantastic tutorial

  • @jordanbanya8230
    @jordanbanya8230 2 роки тому

    A very great course and like always very detailed video thanks, but could y’all do a questionary app who doesn’t use Trivia

  • @Lilitnandy
    @Lilitnandy 2 роки тому +2

    loved it, how do we add difficulty levels to it ?

  • @jilanikashif
    @jilanikashif 2 роки тому

    This is great tutorial and explanation, thanks for sharing knowledgeable information.

  • @raquelcruz5219
    @raquelcruz5219 2 роки тому +1

    Thank you so much

  • @solidenix
    @solidenix 9 місяців тому

    Hello, what would I have to change for this app to always show the correct answer ?
    For example if you click an answer, and its incorrect, I want it to show which answer was correct

  • @courtneyjackson4895
    @courtneyjackson4895 Рік тому

    This was excellent! Has anyone experienced this problem: the questions load, but not the choices until I click on the empty white boxes then they all appear? I've gone through it twice, but can't figure what I did wrong. Thank you in advance.

  • @rengame5911
    @rengame5911 11 місяців тому

    Great video 😊 would you be able to make a story app with different categories like romance, scary… dark mode included would be nice?

  • @MarkBulaclac-jg5gz
    @MarkBulaclac-jg5gz 4 місяці тому

    Is there a way to create your own personalized question bank database within the Xcode project?

  • @joshuathomasbrooks9450
    @joshuathomasbrooks9450 20 днів тому

    is there a way to modify or request all the questions you want? I want to create questions for my own trivia

  • @campbellpaton9124
    @campbellpaton9124 Рік тому

    Hi Stephanie, I Love your tutorials. I'm working on a personal project and would love to try with my own questions. I've tried to import with local json file with no success, I've even tried to build my own API with less success, Can you advise where or how I can learn to do this. Thanks so much. Campbell

  • @teletabtutoriais5224
    @teletabtutoriais5224 2 роки тому

    You're awesome!

  • @belafekete3125
    @belafekete3125 2 роки тому

    Can you help me get the right answer when I make the wrong choice?
    You may want to run multiple independent tests from a different URL.

  • @jemmytech5474
    @jemmytech5474 2 роки тому

    Hello! I am trying to create a local Array of the questions and answers, To not fetch from API but from my array. Could you give me a hint how to handle?

  • @robertchausse3050
    @robertchausse3050 2 роки тому

    Thanks for this great tutorial. Do you know if we can have questions and answer in French or if there is a same web site api as this one but in French?

    • @DesignCodeTeam
      @DesignCodeTeam  2 роки тому

      Hi Robert!
      The Open Trivia DB only has questions in English. Unfortunately, I'm not aware of any API that offers trivia questions in French.
      - Stephanie

  • @tridaynee
    @tridaynee 2 роки тому

    good job

  • @ozgurbuldum6829
    @ozgurbuldum6829 2 роки тому

    You rock !

  • @SantoCatolicoRomano
    @SantoCatolicoRomano 2 роки тому

    can you make trivia app with categories? one for universe Qs, another for animals Qs, another for Humans bodies Qs Etc, Etc, Etc.

    • @DesignCodeTeam
      @DesignCodeTeam  2 роки тому

      Hi! You'll just need to create another bridge view between the WelcomeView and the TriviaView, and add your categories there. When the user taps on a specific category, you'll pass that category to the function to fetch the corresponding questions.
      Hope this helps!
      - Stephanie

    • @SantoCatolicoRomano
      @SantoCatolicoRomano 2 роки тому

      @@DesignCodeTeam Can you take a minute to show me how or what link do you recommend me to follow the steps? I have 4 four months to try to do a category trivia and I only need the categoryView. thank you for your time

  • @rajdhakate617
    @rajdhakate617 2 роки тому

    Hey great tutorial! Will the same code work on macOS too?

    • @DesignCodeTeam
      @DesignCodeTeam  2 роки тому

      Hi Raj! I haven't tested on macOS, but except for the UI part that you'd need to adapt for a bigger screen, the logic part of the code should work as well.
      - Stephanie

  • @user-lj5zz9rf9j
    @user-lj5zz9rf9j 2 роки тому

    Hi teacher,
    I have a question about API format at Trivia.swifit.
    why did I named "incorrectAnswer" instead "incorrectAnswers" and it could not work ? Is that unique pattern ?
    From A Swift rookie

    • @everyontech2716
      @everyontech2716 Рік тому

      it will not work cz API has incorrect_answers. we convert this incorrect_answers to incorrectAnswers using .convertFromSnakeCase

  • @joanacarabajal63
    @joanacarabajal63 2 роки тому

    hi! is It with MVVM ?

  • @harithacm6459
    @harithacm6459 2 роки тому

    At 53:48 it does not generate questions. Can anyone help

  • @raquelcruz5219
    @raquelcruz5219 2 роки тому

    Sorry, I have one question. How should I do to deselect an answer and select another one before I click the button next?

    • @raquelcruz5219
      @raquelcruz5219 2 роки тому

      I already know the answer :D tried to insert .onTapGesture(perform: {
      isSelected.toggle()
      }) in the PrimaryButton and it works. Thanks anyway!!!

  • @dnzrobotics
    @dnzrobotics 2 роки тому

    thank you

  • @MegaNoDeath
    @MegaNoDeath 2 роки тому

    Bye! Thanks for the work you do! I have a problem: at 53:48, when the simulation starts, it does not generate the questions. My screen stays blank. What can I have forgotten? Thx

  • @nabdoss5432
    @nabdoss5432 Рік тому

    Thanks you help me so mush , How can like strong in swiftui , Good luck

  • @mikesean1990
    @mikesean1990 Рік тому +1

    4:20

  • @sarahlinda4982
    @sarahlinda4982 2 роки тому

    is anyone else having trouble with the next button? it works on the start screen but when a question is answered it doesn't work anymore

    • @BenchNarkz
      @BenchNarkz Рік тому

      try Primary_Button instead of PrimaryButton

  • @forgeforex619
    @forgeforex619 9 місяців тому

    Hi , everybody!Maybe somebody was find that problem?)
    Error keyNotFound(CodingKeys(stringValue: "incoreectAnswer", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "results", intValue: nil), _JSONKey(stringValue: "Index 0", intValue: 0)], debugDescription: "No value associated with key CodingKeys(stringValue: \"incoreectAnswer\", intValue: nil) (\"incoreectAnswer\").", underlyingError: nil))