Every week I'll send you an actionable email on how to become an iOS developer: www.breakintoios.com/
@tinnietv6615 Жыл бұрын
I really enjoy someone making a video using something other than Firebase as a back end!
@jasondubon Жыл бұрын
Thanks!
@Kittymemesdaily Жыл бұрын
You are amazing at teaching ! Thank you for posting tutorials like this! Keep it up 👏🏼
@jasondubon Жыл бұрын
Thanks!! I really appreciate the support!
@Ilya__s Жыл бұрын
Keep up the good work man, i just subbed, love the content 🔥🔥
@jasondubon Жыл бұрын
Thanks!! Appreciate the support!
@oscarcano24779 ай бұрын
Hi, very good tutorial !, I have an issue, I call it from other view(main menu) but I can´t pass a parameter like questionaryId to Quizmanager, how I can do that?
@FabricioMTL9 ай бұрын
I have a question if I want to build an quiz in superBase with a configuration of different user type app cause I don’t want to hard code The question everytime I juste want the question to be push when I upload them do you have an tuto for different user type like : admin , user for example ?
@JArmandoMP6 ай бұрын
Que tal Jason, he seguido los pasos para recrear tu proyecto, pero me encuentro atorado en la linea let data = response.underlyingResponse.data, por algun motivo no puedo hacer que se conecte a la base de datos, segun es por el error "Value of type 'PostgrestResponse' has no member 'underlyingResponse' soy novato en el uso del codigo, y no se como resolverlo.
@NathanBudd11 ай бұрын
Dude, the content is A+ but the edit is a bit hard to follow At 9:00 it suddenly jumps to having added the value to the View for the preview, which took me a few re-runs to notice the difference. At 17:47 you change this to QuestionView(question: .con......) and don't show what that text is supposed to be, which breaks the preview of it. For anyone else... you need: ``` #Preview { QuestionView(question: .constant(Question(title: "In which year was the iPhone introduced?", answer: "2007", options: ["2006", "2007", "2008", "2009", "2010"]))) } ```
@jasondubon11 ай бұрын
Thanks for watching! Yeah sorry about that, my older videos were edited using a python script lol so thats kind of why it may appear jumpy
@marwaawad36775 ай бұрын
thank youu!!!
@QDWorld-Apps8 ай бұрын
let data = response.underlyingResponse.data is throwing Ann error it is not working for me I followed the entire tutorial line by line it does not work
@jasondubon8 ай бұрын
Try just response.data
@jasondubon Жыл бұрын
From minute 16 - 20 had some audio issues but audio is fine afterwards
@bennyscode58569 ай бұрын
I cant add supabase-swift i get error supabase-swift could not be resolved
@jasondubon9 ай бұрын
restart xcode or remove and add the packages again review your packages in the project section to make sure supabase is added
@bennyscode58569 ай бұрын
@@jasondubon thanks, I’ll give that a try
@bennyscode58569 ай бұрын
@@jasondubon Had to update mac & xcode.
@bennyscode58569 ай бұрын
@@jasondubon Had to update mac & xcode.
@dimasta4398 Жыл бұрын
thank you)
@jasondubon Жыл бұрын
My pleasure!
@rparham1997 Жыл бұрын
Can you drop the patreon link ?
@jasondubon Жыл бұрын
Here is the link: www.patreon.com/posts/quiz-app-source-84920316
@rparham1997 Жыл бұрын
I’m getting an issue. “Unable to fetch data” in the console
@jasondubon Жыл бұрын
@@rparham1997 is that the error that supabase returns ?
@jasondubon Жыл бұрын
@@rparham1997 what is the model you are using to decode the data ?
@jasondubon Жыл бұрын
@@rparham1997 Although it looks like it might be an access thing with the setup of Supabase
@DannyBoy4435 ай бұрын
Why do people feel the need to show themselves on their tutorial videos? lol. We need to stop doing that.
@Travis_Chow11 ай бұрын
Hi Jason! Love this tutorial. However, I got hard stuck on one line of code. 28:01 see if you could help take a look 🥲 let data = response.underlyingResponse.data the "underlyingResponse.data" didn't bold like yours did, and it says "Value of type 'PostgrestResponse' has no member 'underlyingResponse'"
@jasondubon11 ай бұрын
what other options did it show ? also make sure you have .execute() at the end
@Travis_Chow11 ай бұрын
@@jasondubon Thanks for the reply 💪 I do have the .execute() at the end. And here's the whole chunk of code. init(){ Task{ do{ let response = try await client.database.from("quiz").select().execute() let data = response.underlyingResponse.data let decoder = JSONDecoder() decoder.keyDecodingStrategy = .convertFromSnakeCase let questions = try decoder.decode([Question].self, from: data) await MainActor.run( self.questions = questions) } catch { print("Error fetching questions") } } } when i type .execute() in the previous line, I pick the option with "async throw ProgrestResponses " However, it says async "execute(options:)" used in a context that does not support concurrency.
@jasondubon11 ай бұрын
@@Travis_Chow supabase had some updates so can you try this let questions: [Question] = try await client.database.from("quiz").select().execute().value
@jasondubon11 ай бұрын
And you have to update the Question model with the coding keys (this gets rid of the need of coverting from snake case) struct Question: Identifiable, Decodable { let id: Int let createdAt: String let title: String let answer: String let options: [String] var selection: String? enum CodingKeys: String, CodingKey { case id case createdAt = "created_at" case title case answer case options case selection } }
@jasondubon11 ай бұрын
I have a video dropping soon that should dive into these changes