Mock iOS Interview | My Favorite iOS Interview Question

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

КОМЕНТАРІ • 19

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

    If you're enjoying this video, I think you'll like my book that takes a deeper dive into examples just like this: app.gumroad.com/products/tcvck/

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

    I think it'd be cleaner if we have didSets for both our undo and redo arrays where buttonState is modified instead of calling the updateButtonState function inside the addButton.
    Would love to see more videos

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

    why in "addSquare" function we use global var "selectedColor" instead of passing parameter "color"? very fun task to implement! thank you!

  • @david-tracy
    @david-tracy 2 роки тому

    Thanks chief. Why did u put the ibaction and helper function in the extensions though? And why in separate extensions?

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

    Thank you for sharing your interview experience! You will have duplicate bug with text if you add subviews in-between Redo's. You should update the label.text value for each sequential labels displayed for that colour (maybe 'for label in Int( Int(lastLabel.text) - 1) ..< undoLabels.count) in redoPressed function.
    I hope the interviewer didn't test it that much and you got the job, cheers!

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

    I love it. thanks for your sharing, I think this topic can very easy to know, does candidate have basic knowhow with UIKit. 👍

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

    Why create a new stack and not use view.subviews as the stack? then remove from super view for undo and the clipboard stack will only hold the delta?

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

    we want more videos like this!

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

      I think it'd be best to clear the redo stacks when you add a new square, but I don't think that's a part of the task, is it?

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

    It was nice bro, please add some more videos❣️

  • @madhuripatwal4265
    @madhuripatwal4265 3 роки тому

    Nice question and solution
    Thanks for sharing 👍

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

    9:57 you’re saying that the label is being removed in fact it’s being added. Looks like you copied it from undoPressed and forgot to update the comment

  • @mohamedsaber6079
    @mohamedsaber6079 3 роки тому

    Great work!! Keep it up 👍🏻

  • @federicodominguezdaniel
    @federicodominguezdaniel 3 роки тому

    Great work ! I love it.

  • @maxmiranda6298
    @maxmiranda6298 3 роки тому +1

    Genuinely very fun question, well done! Only recommendation for the future with these types of videos is make sure to make it possible for people to follow along at home (e.g. attach videos of expected behavior so people can watch at their own pace rather than relying on what you show & adding in stoppage points where people can go do the stuff on their own).

    • @AryamanSharda
      @AryamanSharda  3 роки тому

      That’s a great point! I’m glad you enjoyed the video. I’ve been working on an iOS interview prep book that allows people to set their own pace. I released this video a bit earlier to accompany the content in the book. Point totally taken though, I’ll make sure to structure future videos like that 👍

  • @abhisharda2160
    @abhisharda2160 3 роки тому

    Keep it coming!!