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

Поделиться
HTML-код
  • Опубликовано: 6 окт 2024

Комментарии • 62

  • @qfsmith1
    @qfsmith1 2 года назад +7

    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 8 месяцев назад

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

  • @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.

  • @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...

  • @everyontech2716
    @everyontech2716 Год назад

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

  • @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

  • @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?

  • @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

  • @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.

  • @Lilitnandy
    @Lilitnandy 2 года назад +2

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

  • @marcoalonso6759
    @marcoalonso6759 Год назад

    very nice tutorial, keep uploading this kind of videos.

  • @andrejkling3886
    @andrejkling3886 2 года назад +1

    Excellent tutorial... Thank you

  • @belafekete3125
    @belafekete3125 2 года назад

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

  • @rengame5911
    @rengame5911 Год назад

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

  • @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

  • @FemiKolawole
    @FemiKolawole 2 года назад

    Excellent!! Thank you for sharing

  • @MarkBulaclac-jg5gz
    @MarkBulaclac-jg5gz 6 месяцев назад

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

  • @jilanikashif
    @jilanikashif 2 года назад

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

  • @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

  • @ledues3336
    @ledues3336 2 года назад +1

    I dig this UI!

  • @solidenix
    @solidenix 10 месяцев назад

    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

  • @joshuathomasbrooks9450
    @joshuathomasbrooks9450 2 месяца назад

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

  • @jomaari
    @jomaari Год назад

    You are a great coder.

  • @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.

  • @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

  • @aidencvfx
    @aidencvfx 2 года назад

    Fantastic tutorial

  • @raquelcruz5219
    @raquelcruz5219 2 года назад +1

    Thank you so much

  • @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?

  • @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

  • @joanacarabajal63
    @joanacarabajal63 2 года назад

    hi! is It with MVVM ?

  • @teletabtutoriais5224
    @teletabtutoriais5224 2 года назад

    You're awesome!

  • @ozgurbuldum6829
    @ozgurbuldum6829 2 года назад

    You rock !

  • @劉蘇格
    @劉蘇格 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

  • @tridaynee
    @tridaynee 2 года назад

    good job

  • @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!!!

  • @harithacm6459
    @harithacm6459 2 года назад

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

  • @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

  • @dnzrobotics
    @dnzrobotics 2 года назад

    thank you

  • @nabdoss5432
    @nabdoss5432 Год назад

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

  • @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

  • @mikesean1990
    @mikesean1990 Год назад +1

    4:20

  • @forgeforex619
    @forgeforex619 10 месяцев назад

    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))