Interview Questions on Struct vs Class vs Actor | iOS Interview Questions | Swift 5.5

  Рет қаралды 34,386

iCode

iCode

Күн бұрын

Пікірлер: 75
@kanishkaralasi7408
@kanishkaralasi7408 Ай бұрын
This is a goldmine! I can confidently answer all of them now
@SyedAbdulbasitShahMashwani
@SyedAbdulbasitShahMashwani 2 жыл бұрын
Hi Pallav, This is Syed Abdul Basit from Pakistan. I am really thankful to you for providing such brilliant content regarding iOS development. I had my interview last week and, in the interview, there were 2,3 questions like Copy on write, Dispatch methods which I cleared due to your youtube videos, and luckily I secured the job offer from Canada. Once again thanks brother for these videos.
@JohnWick-us8it
@JohnWick-us8it 2 жыл бұрын
Hi Syed, Can you help me on how you secured offer from Canada? I am also looking for a job change. I am from India.
@payalmalekar6529
@payalmalekar6529 Жыл бұрын
very well explained Pallav 👏 !!!!
@DhavalHNena
@DhavalHNena 2 жыл бұрын
So far the best tutorial comparing class vs struct! thanks a lot!
@KennyFully
@KennyFully 2 жыл бұрын
I will keep this video as a reminder of the answer to the difficult questions
@AnuragKashyap17
@AnuragKashyap17 3 жыл бұрын
Sir can we get a video on POP in Swift. How actually implement it I mean there are videos on it on you tube but then I am sure u must be having a different perspective and a more easy way to explain it. And SOLID principles using POP in consideration. Thank you in advance. Great tutorials indeeed.
@dhaval12593
@dhaval12593 3 жыл бұрын
Excellent video. Thanks Pallav
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Thanks Dhaval 🙂
@richprice5434
@richprice5434 2 жыл бұрын
Wow fantastic knowledge and explanations 🎉
@vikas_.
@vikas_. Жыл бұрын
Super cool information. Well explained
@tanvibhatia6439
@tanvibhatia6439 6 ай бұрын
Video is very helpfull.Can we get similar kind of question sfor latest swift version 5.10 and nowdays what set of questions are being asked in interview?
@heshanlk17
@heshanlk17 2 жыл бұрын
Love all your content. Please continue the System Design videos for iOS!
@Fardin17
@Fardin17 2 жыл бұрын
Very good video thanks for it but like to as is function is not a reference type?
@laurapotter6321
@laurapotter6321 2 жыл бұрын
This channel is gold
@Rawatjay
@Rawatjay 3 жыл бұрын
Brilliant questions & explaination sir..I would like you to continue this series & involve concepts such as core data , data security such as pinning, API security, generics, Protocol oriented programming, thread safety including race conditions, dynamic vs static dispatch, efficient memory management , Singleton vs DI, Architectural patterns etc...
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Thanks for the kind words Jayant. I've already covered most of the topics suggested by you. Please go through channel's videos section - kzbin.info_Happy_Coding/videos I'll try to cover the remaining ones soon. Thanks 🙂
@just.begin.again.
@just.begin.again. Жыл бұрын
Thank you so much for the effort! Best video on a subject so far, and I've seen a lot! You got yourself a new loyal follower now✨ Keep it up!
@ganeshkhedkar3476
@ganeshkhedkar3476 2 жыл бұрын
You help to improve my Confidance.. Thanks a lot for such a nice explaination
@sudheerkumar-fj1kr
@sudheerkumar-fj1kr 2 жыл бұрын
Nice explanation sir with each and every minued details
@iCode_Happy_Coding
@iCode_Happy_Coding 2 жыл бұрын
Thanks Sudheer 🙂
@manjuvijayan2819
@manjuvijayan2819 2 жыл бұрын
really superb!Most of the questions covered
@juemariageorge1583
@juemariageorge1583 3 жыл бұрын
Very Informative . Can u please cover the topic network architecture in a project
@govind20246
@govind20246 3 жыл бұрын
Really good and trending questions you explained here ..! Thanks 😊👍
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Happy that you found the video useful 🙂
@rebellious_703
@rebellious_703 3 жыл бұрын
Your videos are like gems to me. Thanks. Request: Video on downloading data in background and its policies and possibilities, background fetch etc are really needed. Background downloading while app is in bg mode, while app is killed how to manage the content.
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Thanks for the suggestion. I'll definitely try to cover it soon. Glad that you liked the videos. Thanks 🙂
@AnuragKashyap17
@AnuragKashyap17 3 жыл бұрын
This is actually a very good question.
@RaviRanjan-xl7fk
@RaviRanjan-xl7fk 2 жыл бұрын
@@iCode_Happy_Coding Is there any video that came out for this? I just wanted to understand how any application downloading multiple videos or audio or any file type in the background. eg wynk music or and downloaded. work.
@mayankkumargupta9601
@mayankkumargupta9601 Жыл бұрын
Please more content on System design.
@akshhay
@akshhay 2 жыл бұрын
This is gold level video
@shiviagarwal9134
@shiviagarwal9134 3 жыл бұрын
Amazing content!! Thanks Pallav.
@ananthakrishna9672
@ananthakrishna9672 3 жыл бұрын
Very clearly explained. Thank you and good luck for more such contents.
@puneetpal1466
@puneetpal1466 3 жыл бұрын
Millions of Thanksssss for amazing content🙏
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Thanks Puneet 🙂
@JunaidKhan-ny8tu
@JunaidKhan-ny8tu 3 ай бұрын
Wow super video ❤
@harshitasingh2858
@harshitasingh2858 2 жыл бұрын
Awesome Explanation with each and minute details , which will helps not only for experience iOS developer but It also makes the pillar for those who just started the career in iOS.Thanks man!!
@21piyushgupta
@21piyushgupta Жыл бұрын
love your video's and efforts.... just a friendly suggestion, believe you speak too fast, i refer your video's to my teammates and they get lost and have to revisit video multiple time for some of the concepts we all could be wrong here but thought to share
@g.1771
@g.1771 3 жыл бұрын
Excellent video bro
@darshanmothreja3429
@darshanmothreja3429 2 жыл бұрын
Please create demo on Struct being thread safe and also when using reference type as a property in Struct then structs are not thread safe. When we can have data race condition in this condition. One example only with struct with properties of value type so while accessing them in different thread is it thread safe or not. Looking forward for this analysis.
@abdulyasin_iOS
@abdulyasin_iOS 4 ай бұрын
Great video ...
@ANILKUMAR-vv1fz
@ANILKUMAR-vv1fz 3 жыл бұрын
Awesome video
@Batmanyank
@Batmanyank 3 жыл бұрын
Very informative. Thank you.
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Glad it was helpful!
@ranganathchenna4559
@ranganathchenna4559 2 жыл бұрын
great work .. 👏🏼
@twinsbaby5774
@twinsbaby5774 3 жыл бұрын
very fruitful thanks
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Glad that you liked the videos 🙂
@amitsachdeva9001
@amitsachdeva9001 2 жыл бұрын
Well explained
@ignacionevarez3254
@ignacionevarez3254 3 жыл бұрын
Awesome explanation!
@saurabhsierra9195
@saurabhsierra9195 3 жыл бұрын
Awesome once again ...keep up the good work.
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Thanks 🙂
@ashok2089
@ashok2089 5 ай бұрын
Helpful, thanks!
@ansr9340
@ansr9340 2 жыл бұрын
Why swift language called protocol oriented programming language (POP)?
@mamtavishwakarma8707
@mamtavishwakarma8707 2 жыл бұрын
Hello sir, Can you please share the video for closures
@sarikapaghdal6150
@sarikapaghdal6150 2 жыл бұрын
very valuable content!! Thank you for your channel, immediate subscriber!
@TheSachinAlam
@TheSachinAlam 3 жыл бұрын
NOw thats the content i was looking for
@pavanmanjani7583
@pavanmanjani7583 3 жыл бұрын
Superb Thanks😀
@victorriurean
@victorriurean 2 жыл бұрын
🔥🔥🔥
@canbaba9261
@canbaba9261 2 жыл бұрын
hint aksanına sağlık güzel bilgiler :)
@arunbenjamin168
@arunbenjamin168 3 жыл бұрын
Can you please explain when to use sqlite, core data, realm.
@misterthatguyjake
@misterthatguyjake 2 жыл бұрын
This is fantastic!
@harikrishnan7245
@harikrishnan7245 3 жыл бұрын
Thanks Pallav. The video is really informative. By the way, let me ask you a question. Why we use Class for implementing UIViewcontroller instead of Struct? Obviously Struct doesn't support inheritance.I understand that the system is executing a number of super class methods automatically by inheriting a class from UIVIEWController. In addition to that, we need a reference type object in the case of a UIViewController . Is there any critical problem apart from this for not using struct instead of class. After all struct is faster and thread safe on comparing with Class. Correct?
@AnuragKashyap17
@AnuragKashyap17 3 жыл бұрын
But then u gave the answer already. Inheritance is the purpose.
@nathtanmay
@nathtanmay 11 ай бұрын
I guess the actual reason should be that the classes are reference types. A viewcontroller's lifecycle can be as long as the app's lifecycle. So, by making it a reference type we can ensure that every time we get that particular viewcontroller (from navigation stack etc..) we are pointing to the same reference and if we are making any changes then it should hold that changes.
@Rahul-jf5kf
@Rahul-jf5kf 2 жыл бұрын
Hello Pallav, One question. value types get created on stack memory and class types on heap memory. now if any struct is created in controller where memory gets allocated? as per 08:14 on heap if this is true then for any app there structs are always allocated on heap. Is tere any way to check where memory for that instance gets allocated
@avijitnagare
@avijitnagare Жыл бұрын
Can we restrict to take screenshot in iOS app?
@faiznadi
@faiznadi 3 жыл бұрын
Awesome
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Thanks 🙂
@bhuwin6186
@bhuwin6186 Жыл бұрын
doing gods work
@piyushsharma1638
@piyushsharma1638 3 жыл бұрын
Your channel notification means something interesting to learn :)
@gameration6450
@gameration6450 5 ай бұрын
2:04 - "Classes can be deinitialized" This is a little misleading. We on our own can't deinitialze classes, rather we can just use deinit() to "know" when the "system deinitializes the objects" of a class. We can not call deinit() explicitly anywhere. If we have definied this method in our class, the system will call it and execute whatever code it contains at the time of deallocation of that object.
@saravananraju528
@saravananraju528 3 жыл бұрын
In API Call Model class, what we can use Struct or Class?
@lingeswarankandasamy7615
@lingeswarankandasamy7615 3 жыл бұрын
Man!!! this is great 👍
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Thanks 🙂. Glad that you like the video.
@shantaramkokateit
@shantaramkokateit 3 жыл бұрын
Missing Point 1. Structure not support self Type as property while class support this
А я думаю что за звук такой знакомый? 😂😂😂
00:15
Денис Кукояка
Рет қаралды 5 МЛН
One day.. 🙌
00:33
Celine Dept
Рет қаралды 54 МЛН
Noodles Eating Challenge, So Magical! So Much Fun#Funnyfamily #Partygames #Funny
00:33
Thank you Santa
00:13
Nadir Show
Рет қаралды 46 МЛН
iOS Dev Job Interview - Must Know Topics
2:27:40
Sean Allen
Рет қаралды 91 М.
Actor Reentrancy in Swift explained
20:18
donny wals
Рет қаралды 3 М.
Meta iOS Engineer shares Interview preparation HACKS @swiftandtips
2:02:16
Main Thread, Sync vs Async and Deadlocks in Swift
9:49
iCode
Рет қаралды 13 М.
Inheritance vs Interfaces (Protocols) In Swift
18:43
iCode
Рет қаралды 14 М.
А я думаю что за звук такой знакомый? 😂😂😂
00:15
Денис Кукояка
Рет қаралды 5 МЛН