iOS Interview Questions | Mock Interview | Tips & Tricks | Swift

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

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

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

    you not only answred the question but explained it really really well, very informative and very helpful

  • @VenkateshMandapati-e4z
    @VenkateshMandapati-e4z Год назад +1

    Opaque types @7:20
    In Swift, "opaque types" are types where the concrete underlying type is hidden. They are declared using the some keyword. Opaque types are useful when you want to hide implementation details and provide abstraction.
    Here's a simple example in Swift:
    swift
    Copy code
    protocol Animal {
    func makeSound()
    }
    struct Dog: Animal {
    func makeSound() {
    print("Woof!")
    }
    }
    struct Cat: Animal {
    func makeSound() {
    print("Meow!")
    }
    }
    func randomAnimal() -> some Animal {
    return Bool.random() ? Dog() : Cat()
    }
    let animal = randomAnimal()
    animal.makeSound() // Output: Either "Woof!" or "Meow!"
    In this example, the function randomAnimal returns an opaque type some Animal. The concrete type returned by randomAnimal is hidden from the caller. The compiler ensures that the returned value conforms to the Animal protocol, but it does not expose the specific type of the returned value.
    This allows you to work with values of unknown concrete types while still benefiting from type safety and abstraction.

  • @mohdshahid9595
    @mohdshahid9595 3 года назад +13

    very informative, i will watch it many times so i can understand all the answers clearly.

    • @iCode_Happy_Coding
      @iCode_Happy_Coding  3 года назад

      Glad it was helpful! 🙂

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

      @@iCode_Happy_Coding Sir I am fresher does training of 3 months in ios and going for interview for ios developer pls tell me questions so that i can crack.

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

      @@Piyushkumar314did you clear that interview bro ??

  • @mepolob
    @mepolob 3 года назад +13

    Wonderful content. Please Sir bring more interview preparation series in iOS. Thanks a lot. 🙏🙏

  • @AbhishekMisradevil
    @AbhishekMisradevil 3 года назад +1

    Bhaisaab ...till best video I ever been through.

  • @ghanshyamdoifode9479
    @ghanshyamdoifode9479 2 года назад +4

    Thanks for this video. Content is very good.
    Just small correction in video 3:58 i.e protocol can have either getter or getter and setter. :)

  • @richoffks
    @richoffks 3 года назад +3

    This is interesting, thank you.
    I have been studying for months, but for some reason, your depth of knowledge seems beyond me.
    My question is, it seems like they want you to have everything memorized? What about knowing how to do everything without being great at explaining?

    • @iCode_Happy_Coding
      @iCode_Happy_Coding  3 года назад

      Thanks for the kind words 🙂
      And it’s not like they want you to memorise the things, instead they want to know the things with which we are dealing day in day out.
      When it comes to memorising stuff, they will ask questions like “in which iOS version XYZ was introduced” etc.. that’s about remembering it.
      But what good interviewers do is that they try to understand the your approach, the concept you know. For example, the protocol question in the video, ui updation on main thread concept.
      I hope that I answered your question up to some extent.
      Thanks 🙂

  • @mohdmaruf1618
    @mohdmaruf1618 3 года назад +1

    The way you keep answering, That's so awesome, one can't stop watching in between.
    Can you please make such mock interview with DS and Algo topic? That would be so helpful or if you can share the link if you already have one of it. Thanks!

    • @iCode_Happy_Coding
      @iCode_Happy_Coding  3 года назад

      Thanks for the kind words and suggestion. We'll try covering that soon. 🙂

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

    02:40 it's not that swift "extended" optional to value types. there are no value typed in ObjectiveC to begin with, right?

  • @nihanthgajam5194
    @nihanthgajam5194 3 года назад +13

    Most of the content was Informative. I’d appreciate if you could do system design mocks in iOS. I think that’s something that has lil to no resources.

    • @iCode_Happy_Coding
      @iCode_Happy_Coding  3 года назад +1

      Thanks Nihanth, I'm happy that you liked the video 🙂 and I completely agree with your point that there are absolutely no resources for preparing for system design rounds (for mobile devs). Will cover it very soon.

  • @pmabi
    @pmabi 3 года назад +5

    This was awesome. I am trying for interviews right now, so this series is going to be super helpful

    • @iCode_Happy_Coding
      @iCode_Happy_Coding  3 года назад +1

      I'm glad that it was helpful for you. Will be releasing more such content (covering system design rounds/architectures) soon. All the best for your interviews 🙂

  • @pk0bcs
    @pk0bcs 3 года назад

    Awesome Thank for sharing this video. I really enjoy this video.

  • @pradipdeore8068
    @pradipdeore8068 3 года назад +1

    Thanks, these discussions are very helpful, Waiting for more videos from your channel.

  • @ManishSharma-cc5hw
    @ManishSharma-cc5hw 3 года назад +3

    All tips were great and informative, expecting other parts too. Interview questions like design patterns used in Cocoa touch, Architecture patterns and many more.

    • @iCode_Happy_Coding
      @iCode_Happy_Coding  3 года назад +3

      Thanks Manish. I'll try to cover these topics (along with system design mock) very soon.
      Thanks for watching the video 🙂

  • @codechamp2599
    @codechamp2599 3 года назад +1

    some interviewess asked me about algorithms , please make a video on that as well , how to pass logic test and algo test as an iOS developer.

    • @iCode_Happy_Coding
      @iCode_Happy_Coding  3 года назад

      Thanks for the suggestion. I’ll try to cover DSA in one of the videos.

  • @maple3226
    @maple3226 2 года назад +6

    I get this is a senior-level interview but as a person who is just starting to apply for an entry position, this is a lot of information and I barely know any answers to those questions. What would you recommend for the people like me to start preparing for these questions?

    • @ApoCaLypSeXVII
      @ApoCaLypSeXVII 2 года назад +5

      Well most interview questions I've seen from actually being in the field are a good grasp on concurrency in swift, GCD, sync vs async, optionals, difference between reference and value types, closures, class vs structs, know what it means for swift to be a protocol oriented programming, ARC memory management , know what value types add to swift, understand all the major architectures, MVC , MVVM, VIPER, and what the coordinator does when added, Know different design patterns like bridges & adapters etc, know the static method definition, and potentially DSA depending on the employer. There are many other nuance things but these are really good common concepts you'll see asked for sure.

  • @shashwatsinghchauhan4527
    @shashwatsinghchauhan4527 3 года назад +1

    very informative videos. Please make detail video related to interview topics. Thanks

    • @iCode_Happy_Coding
      @iCode_Happy_Coding  3 года назад +1

      Thanks for the suggestion Shashwat. I’ll try to cover interview related content.

  • @laurapotter6321
    @laurapotter6321 3 года назад +2

    can you please add subtitles !!? Thank you!

  • @amol_tamboli
    @amol_tamboli 3 года назад +1

    Great and informative, Nicely explained. Can you please make video on In App purchase

    • @iCode_Happy_Coding
      @iCode_Happy_Coding  3 года назад +1

      Thanks for the suggestion Amol, I’ll definitely try to cover IAP. I’m glad that you liked the video🙂

  • @swatitompe7726
    @swatitompe7726 3 года назад

    Helpful video. For sure I am gonna follow your tips

  • @pratimasuryavanshi8797
    @pratimasuryavanshi8797 3 года назад

    Indeed great job. it was much needed. As I can see there were no mock interviews videos available for iOS developer. Thank you for creating this

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

    It was really helpful. have interview tomorrow.

  • @afaaqahmedsaqi
    @afaaqahmedsaqi 3 года назад

    Awesome, just awesome, we need more topics in interviews as well.
    Like randomly asked questions.

    • @iCode_Happy_Coding
      @iCode_Happy_Coding  3 года назад +1

      Sure Aafaq, I’ll try to cover them.
      Glad that you liked the video 🙂

    • @afaaqahmedsaqi
      @afaaqahmedsaqi 3 года назад +1

      @@iCode_Happy_Coding Cool, eager to catch them!

  • @fazlinnouzil3946
    @fazlinnouzil3946 3 года назад +1

    Super-duper! Thanks a lot! keep up the good work. MVVM vs MVC, struct vs class, concurrency and multithreading n more via mock are curiously expecting…

    • @iCode_Happy_Coding
      @iCode_Happy_Coding  3 года назад +1

      Sure, I’m working on the same and will be soon releasing videos on these topics. I’m glad that you liked the video 🙂

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

    In coding test interviews what type programs they asked? Can you help me

  • @AnuragKashyap17
    @AnuragKashyap17 3 года назад

    Wow I was able wo answer almost all of the questions as I have seen each videos of yours. 💞 Thank you for all the amazing topics 💕

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

    We want more videos like this. These are very informative.

  • @pk0bcs
    @pk0bcs 3 года назад

    Swift is reference type or value type? and how

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

    Thanks for the video and some points were more clear the UI rendering on the main thread.

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

    Thank you for sharing. Its really helpful

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

    great video helped a lot 👍

  • @saurabhsierra9195
    @saurabhsierra9195 3 года назад

    Great...Nicely explained. Both have good command over the same. Impressive.

    • @iCode_Happy_Coding
      @iCode_Happy_Coding  3 года назад

      Thanks bhaiya. Your constant support keeps us motivated 🙂

  • @esae7784
    @esae7784 3 года назад

    Thank you, this is very amazing way to do mock interview.
    Much appreciated, and looking forward for the upcoming videos.

    • @iCode_Happy_Coding
      @iCode_Happy_Coding  3 года назад +1

      Sure. I'm working on the content and will be releasing the videos for mock interviews soon(both initial rounds and system design rounds). Glad that you liked the video 🙂

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

    Upload more videos like this. Its very informative.

  • @mohdrahib7006
    @mohdrahib7006 3 года назад +1

    informative ✌

  • @rushabhsingh2148
    @rushabhsingh2148 3 года назад +1

    Hi Pallav
    Thanks for this video.
    I didn't clearly understand the reason why extensions cannot have stored properties

    • @iCode_Happy_Coding
      @iCode_Happy_Coding  3 года назад +1

      Stored properties require memory to save values, and adding them through extensions will require addition in memory allotted for that type. That is how the existing behaviour of the types is being changed, which extensions are not allowed to do. That's why they can have computed properties, not stored ones. I hope that clears.
      Thanks for watching the video 🙂

    • @rushabhsingh2148
      @rushabhsingh2148 3 года назад

      @@iCode_Happy_Coding And what happens when we add below things in extension
      1. New methods
      2. Computed properties
      In terms of memory?

    • @iCode_Happy_Coding
      @iCode_Happy_Coding  3 года назад

      That relates to the memory allocation patterns of Swift, and in case of functions (local variables) it is done on stacks (instead of heaps).
      I’ll try to discuss this in detail in one of the upcoming videos. Meanwhile, this can answer some of your queries
      heartbeat.fritz.ai/memory-management-in-swift-heaps-stacks-baa755abe16a

  • @akshaykumar-qj2kx
    @akshaykumar-qj2kx 3 года назад

    Awesome.. Make some videos on interview preparations based on topics.
    Good work.

    • @iCode_Happy_Coding
      @iCode_Happy_Coding  3 года назад

      Thanks for the suggestion Akshay. I recently did the video on Struct vs Class, you can have a look. I'll try cover more topics soon.

  • @shiviagarwal9134
    @shiviagarwal9134 3 года назад

    This is such an informative video. Could you please make more videos on ios interview prep.?

    • @iCode_Happy_Coding
      @iCode_Happy_Coding  3 года назад

      Sure Shivi, I'll try to cover more interview topics 🙂

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

    Hehe protocols can’t actually hold variables, although I certainly see the confusion, get and set is really just protocol functions for implementation

  • @100blisters
    @100blisters 3 года назад +1

    Nicely done. However, an interview feels incomplete without the ending - HR will get back to you ;)

  • @guidence9151
    @guidence9151 3 года назад +1

    Make video on swift basic

  • @mayankmishra6000
    @mayankmishra6000 3 года назад

    Nice Video Pallav ... This will definitely help :)

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

    Enjoyed the interview 😄

  • @SudhirKumar-sg8yt
    @SudhirKumar-sg8yt 2 года назад

    @pallav I would like to give you some donation, so that you can carry your work and focus on more Design Question on iOS Side. I also worked as iOS Application developer since last 10 years but never seen so contentfull videos. You are doing great work.

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

    Really a nice video, subscribed your channel

  • @mfurqanul-haq4880
    @mfurqanul-haq4880 3 года назад

    Great Work!
    Really Appreciated.

  • @sureshmurugaiyan8366
    @sureshmurugaiyan8366 3 года назад

    Very useful. Please do more videos for iOS interview questions

    • @iCode_Happy_Coding
      @iCode_Happy_Coding  3 года назад +1

      Sure Suresh, working on the same.
      Will be bringing more such video very soon.
      Glad that you found it useful 🙂

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

    The lady scares me, this kinda of interviews se he daar lagta hai lol. keep it up.

  • @AnkitSoni30
    @AnkitSoni30 3 года назад +1

    Helpful 👍

  • @santhoshKumar-ls9si
    @santhoshKumar-ls9si 3 года назад

    Thank you both.

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

    Nice 😊👍

  • @ProductsHub365
    @ProductsHub365 3 года назад

    any questions related to database and api handling scenarios in mvvm and mvm .. and which makes better impact in long run ?

    • @iCode_Happy_Coding
      @iCode_Happy_Coding  3 года назад +1

      Thanks for the suggestion Rajesh. I'll try covering them in the next video that I'll do on interviews.

  • @avgguy7129
    @avgguy7129 3 года назад +1

    Thanks for this video. Content was on point. I was wondering what will be the degree of relevance of leetcode style questions in interviews? At SDE2 or SDE1?

    • @iCode_Happy_Coding
      @iCode_Happy_Coding  3 года назад +2

      Thanks for the kind words Rachit. About the leetcode thing, did you mean about DSA questions. That depends on the company that you are appearing for. Some of them focus more on System Design for SDE 2, while some of them still put DSA as a major filter for both SDE 1 and 2.
      I'll try to cover DSA questions for mobile developers soon.
      If I didn't get you right, let me know.

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

    I love ur videos, but can u please insert a subtitle ? the auto generated of yt is kinda suck

  • @Purnao6151
    @Purnao6151 3 года назад

    Hi. Thanks for sharing this interview session. To clear the interview there are different rounds that will be there for any company. could you please post a set of interview rounds like that? Thanks.

    • @iCode_Happy_Coding
      @iCode_Happy_Coding  3 года назад

      Thanks for the suggestion Obulasetty. I’ll try making a video covering all the rounds 👍🏼

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

    Very Good Video

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

    Can you make more videos for interview?🙂

  • @poojaghadge1004
    @poojaghadge1004 4 месяца назад

    Please make more such videos for 2024

  • @mittapallihareesh1703
    @mittapallihareesh1703 3 года назад

    So nice. Did well.

  • @priyasrivastava4679
    @priyasrivastava4679 3 года назад

    very informative! Please do more!!

    • @iCode_Happy_Coding
      @iCode_Happy_Coding  3 года назад

      Thanks Priya. I'm working on more such videos, and will be releasing them very soon.
      Glad that you liked the video 🙂

  • @Mankind0112
    @Mankind0112 3 года назад

    How can I buy your T-shirt "Think Different"?

    • @iCode_Happy_Coding
      @iCode_Happy_Coding  3 года назад

      😊 That’s not mine, I bought it from Crazy Monk
      crazymonk.in/developer-coder-linux-t-shirts/think-different-unisex-half-sleeve-t-shirt/

  • @simpleinterest360
    @simpleinterest360 3 года назад +1

    We need more interview and system design tutorial

  • @SudhanshuSrivastavaIndia
    @SudhanshuSrivastavaIndia 3 года назад

    This is awesome.

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

    Hi Pallav,
    Is it possible to prepare for coding problems, DSA and DP in Swift? Or we have to do this in C++ or java? If it is possible then can you please share a good book or content of it where I can prepare it? Thanks in advance.

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

      Hi, I'm not Pallav but maybe this can help you. First, yes, you can prepare yourself to practice with swift, give it a try in leetcode and hacker rank. For resources, google it and look for Swift data structure and algorithms from pack publishing, DSA in swift of raywenderlich and last but not least udacity swift DSA this one is a free course. Cheers.

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

    Yes more such videos

  • @prasadtandel2837
    @prasadtandel2837 3 года назад

    Awesome video.. one question though, in case of computed properties in protocols, don’t we need to declare it in protocol as getter before writing into extension directly?

  • @prachibile2798
    @prachibile2798 3 года назад

    I liked this video. But I can suggest you to make more interactive.

    • @iCode_Happy_Coding
      @iCode_Happy_Coding  3 года назад

      Thanks for the feedback Prachi. I'll try to do that 🙂

  • @abymathew575
    @abymathew575 3 года назад

    Really useful...

  • @arjunhanswal3858
    @arjunhanswal3858 3 года назад

    Interview is very helpful 🙏🙏

    • @iCode_Happy_Coding
      @iCode_Happy_Coding  3 года назад

      Thanks Arjun. We’ll be releasing interviews videos for System Design round and other tech rounds very soon. Stay tuned.
      Glad that you found it useful 🙂

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

    Code wise explanation is better to understand.

  • @nehapatil9006
    @nehapatil9006 3 года назад

    Please provide interview questions for experience person..

  • @AmitGupta-ef2nm
    @AmitGupta-ef2nm 3 года назад

    Please upload more videos on interview.

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

    go through an interview with coredata

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

    why are they switching the sound of "w" with the sound of "v", almost impossible to understand !!!

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

    Make an interview for fresher iOS Devellopper

  • @guidence9151
    @guidence9151 3 года назад

    Please make more video that helps everyone

    • @iCode_Happy_Coding
      @iCode_Happy_Coding  3 года назад

      Yes Swapnil, we are working on content and will be releasing more interview videos very soon. Glad that you liked the video 🙂

  • @TanTran-fe7rf
    @TanTran-fe7rf 2 года назад

    Thanks for your video. Please add subtittle.

  • @sohailurrahmans2530
    @sohailurrahmans2530 3 года назад

    I recently gone through an interview and they gave a feedback stating you also need to do some certifications. What do you think what kind of certifications can a Mac/iOS developer can complete. Let me know if there are any

  • @Anubhav-Das
    @Anubhav-Das 2 года назад

    Sir, could you please share your Linkedin url

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

    Nice video, but accent is hard to understand.

  • @alju_.
    @alju_. Год назад

    I just realised I am in no way ready for a interview damn sed life. ....

  • @andysaputra3866
    @andysaputra3866 3 года назад +1

    Please add subtittle 🙏🏻

    • @iCode_Happy_Coding
      @iCode_Happy_Coding  3 года назад

      I'll try to add subtitles. Thanks for bearing without subtitles.
      Thanks 🙂

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

    I hope I won't get any interviewer like this

  • @icodeleander7696
    @icodeleander7696 3 года назад

    bob

  • @eahmedshendy
    @eahmedshendy 3 года назад

    I like to have LinkedIn connection with you or to follow your profile, would you mind share yours?

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

  • @SunilSinghMr-Monk
    @SunilSinghMr-Monk 7 месяцев назад

    Geting add from scaller fake company firing its own employees lol