Firebase Firestore Maps and Arrays Tutorial for iOS | Firebase Bootcamp #11

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

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

  • @tuguiaempresarial2582
    @tuguiaempresarial2582 Год назад +24

    I loved how at the beginning he forgot to edit, love your content nick!

  • @aliabraham1725
    @aliabraham1725 Год назад +27

    It's refreshing to see that you're human like the rest of us

    • @30guarino
      @30guarino Год назад +4

      Confirming ….I’m human as well!

  • @rubensiman8749
    @rubensiman8749 Год назад +11

    lol the intro makes me appreciate his videos even more

  • @henryyu1213
    @henryyu1213 8 месяцев назад +1

    I actually like it when there are issues with the code. Fixing errors is an essential part of coding so it's nice to see a live demo on how the issues were resolved.

  • @genowork9538
    @genowork9538 Год назад +9

    11 videos in and the quality is still as high as ever. Keep up the great work Nick!

  • @melmandaragrows
    @melmandaragrows Год назад +6

    Halfway through and this is gold, these simple tasks that are within every app and there are barely any tutorials on them😣 Thanks🎉

  • @danielwatson6529
    @danielwatson6529 10 месяцев назад +3

    love the opening bloopers !!!

  • @iNamaN77
    @iNamaN77 Год назад +3

    BRO Love the bloopers tho!❤

  • @terry1992
    @terry1992 Год назад +3

    Relax, you make great points, I've benefited a lot from this.

  • @andresraigoza2082
    @andresraigoza2082 Год назад +2

    I really appreciate your work, thank you so much 👍🏻

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

    Great stuff Nick. Thank you so much for this!

  • @ИгорьЧумиков-й5б
    @ИгорьЧумиков-й5б 7 месяцев назад

    Keep up the great work Nick!))) 🙏

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

    Take your time ❤

  • @iskendir4006
    @iskendir4006 8 месяцев назад +1

    amazing content, amazing teacher

  • @amish-t8468
    @amish-t8468 Год назад

    Great! Nick what course is next coming after this course?

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

    Thanks man!

  • @mohammedayoub
    @mohammedayoub Год назад +2

    Fantastic tutorial! clear and simple!
    I have a quick question in Firestore
    Suppose that we have list of "[Cateogires]" Each category has [subscribers].
    How can I add/remove subscribers from the array of Categories?
    struct Categories: Identifiable, Codable, Hashable {
    var id : String?
    var categories : [Category]?
    }
    struct Category : Identifiable, Codable, Hashable{
    var id :String
    var category_id: String?
    var subscribers: [String]? //. -> I want to add/remove/update in this array, and might be in a spasific index.
    }

    • @SwiftfulThinking
      @SwiftfulThinking  Год назад +2

      Good question… you would probably want to make a sub-collection for that instead of a simple array. We’ll do some examples in upcoming videos 👍

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

      @@SwiftfulThinking Much appreciated

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

    love your videos. are you going to cover realtime database in this course?

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

      No, unless there’s a lot of requests for it. I recommend using Firestore over Real-time

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

    appreciate your effort, good content!

  • @XuanQuynhLexuanquynh
    @XuanQuynhLexuanquynh 8 месяцев назад

    perfect.
    Love from Vietnam.

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

    Will you be covering having a user with an image that is stored in Firebase Storage? To go one step farther how to retrieve a group of users and their images?

    • @SwiftfulThinking
      @SwiftfulThinking  Год назад +2

      Of course, there’s a whole video on Firebase Storage after the Firestore section 🤙

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

    This is more like a live stream than a tutorial imo

  • @jasonfang963
    @jasonfang963 Месяц назад

    Hello Nick, I have a question about this part. After I log out of my account and log in, all the data is reset. How can I deal with this issue? Thank you

    • @SwiftfulThinking
      @SwiftfulThinking  Месяц назад

      You need to configure the auth logic to check if the user is already signed in or if they already have an account/profile in your database. I said in that video that we are not making a full application here and did not add that logic.
      The auth success returns “isNewUser” Boolean, or you can check if your user profile exists in Firestore.

  • @munavarpm5342
    @munavarpm5342 11 месяцев назад

    Thanks for the effort Bruhhh

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

    Hello, I am trying to save/ upload a nested CGPoint array ([[CGPoint]]) into Firestore. I’ve seen that a possible solution is to convert the nested array into a data object like so:
    var ARRAYNAME : [[String]] = [[String()]]
    do {
    let tempArrayData = try NSKeyedArchiver.archivedData(withRootObject: self.ARRAYNAME, requiringSecureCoding: false)
    }catch{}
    I am confused if this solution only works for nested String arrays or can it be used for CGPoint as well. Also how would you get the ‘tempArrayData’ into firestore?
    Lastly, is this the best option? Only the user can edit the nested array and I am ok with deleting the whole array and uploading again when changes need to be made by the user

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

    nick my man you are the GOAT of swift, Ive watched almost all your playlists in the past month. fr i cant express hwo muchh i Appreaciate all the qaulity content. keep it up bro

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

      Mohammad!!! Thanks for the comment. Happy to help 🤙

  • @bulgakov1991
    @bulgakov1991 7 месяцев назад

    Дякую!

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

    nick, may i asked...
    i got string like this
    "1+1"
    in my viewModel i write code like this...
    func addItem(calculateName: String) {
    let expression = NSExpression(format: calculateName)
    if let result = expression.expressionValue(with: nil, context: nil) as? Int {
    let newItem = ItemModel(calculateName: calculateName, isCompleted: false)
    items.append(newItem)
    }else {
    print("failed")
    }
    }
    what i want to result this code, should be
    "1+1 = 2"
    but in my case.. output what i got is
    "1+1"

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

      You should use Integers and not Strings for numbers lol. Convert the number to a String when you want to display it on the screen inside a Text(“\(number)”)

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

      @@SwiftfulThinking but "+" operator right? Is that ok if i use int?

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

      @@kirayamato7875
      func calculatedString(n1: Int, n2: Int) -> String {
      return “\(n1)+\(n2) = \(n1+n2)”
      }
      print(calculatedString(n1: 1, n2: 1))
      ?? Is that what you are looking for.

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

      @@kavinda_dilshan_paramsoodi here is my situation... i got test to calculate from image to text... for example i got picture where the text is "1 + 1" and "1 ×3" the result should be "1 +1 = 2" and " 1 × 3 = 3"... but my problem is... i can't calculate that text from image...

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

    Highly recommend joining the Discord server ❤ people there are nice and are willing to help u out if u r stuck at some coding problem 😊 so thats almost always if u are like me 😅😂

  • @mbader71
    @mbader71 5 месяцев назад +1

    He is human !!!😂

  • @pasha7324
    @pasha7324 11 месяцев назад

    Best intro, love it

  • @bomen.s3521
    @bomen.s3521 Год назад +1

    GoodJob,and thank you very much for your grind.

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

    where is the link to your discord channel please Nick?
    as always appreciate the hard work Sir 🫡

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

      We’re waiting for you 🎉 discord.gg/KYrs7PFuPM