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

  Рет қаралды 35,033

iCode

iCode

Күн бұрын

Пікірлер: 77
@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.
@mathisankar615
@mathisankar615 6 күн бұрын
I was asked many of these questions by interviewer, thanks Pallav for your answers.
@kanishkaralasi7408
@kanishkaralasi7408 2 ай бұрын
This is a goldmine! I can confidently answer all of them now
@DhavalHNena
@DhavalHNena 2 жыл бұрын
So far the best tutorial comparing class vs struct! thanks a lot!
@payalmalekar6529
@payalmalekar6529 Жыл бұрын
very well explained Pallav 👏 !!!!
@just.begin.again.
@just.begin.again. 2 жыл бұрын
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!
@heshanlk17
@heshanlk17 3 жыл бұрын
Love all your content. Please continue the System Design videos for iOS!
@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 🙂
@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.
@laurapotter6321
@laurapotter6321 2 жыл бұрын
This channel is gold
@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!!
@vikas_.
@vikas_. Жыл бұрын
Super cool information. Well explained
@manjuvijayan2819
@manjuvijayan2819 2 жыл бұрын
really superb!Most of the questions covered
@ganeshkhedkar3476
@ganeshkhedkar3476 2 жыл бұрын
You help to improve my Confidance.. Thanks a lot for such a nice explaination
@richprice5434
@richprice5434 2 жыл бұрын
Wow fantastic knowledge and explanations 🎉
@KennyFully
@KennyFully 2 жыл бұрын
I will keep this video as a reminder of the answer to the difficult questions
@dhaval12593
@dhaval12593 3 жыл бұрын
Excellent video. Thanks Pallav
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Thanks Dhaval 🙂
@sarikapaghdal6150
@sarikapaghdal6150 2 жыл бұрын
very valuable content!! Thank you for your channel, immediate subscriber!
@ananthakrishna9672
@ananthakrishna9672 3 жыл бұрын
Very clearly explained. Thank you and good luck for more such contents.
@akshhay
@akshhay 2 жыл бұрын
This is gold level video
@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 🙂
@tanvibhatia6439
@tanvibhatia6439 8 ай бұрын
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?
@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.
@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
@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
@Fardin17
@Fardin17 2 жыл бұрын
Very good video thanks for it but like to as is function is not a reference type?
@ranganathchenna4559
@ranganathchenna4559 2 жыл бұрын
great work .. 👏🏼
@TheSachinAlam
@TheSachinAlam 3 жыл бұрын
NOw thats the content i was looking for
@ANILKUMAR-vv1fz
@ANILKUMAR-vv1fz 3 жыл бұрын
Awesome video
@juemariageorge1583
@juemariageorge1583 3 жыл бұрын
Very Informative . Can u please cover the topic network architecture in a project
@shiviagarwal9134
@shiviagarwal9134 3 жыл бұрын
Amazing content!! Thanks Pallav.
@JunaidKhan-ny8tu
@JunaidKhan-ny8tu 5 ай бұрын
Wow super video ❤
@g.1771
@g.1771 3 жыл бұрын
Excellent video bro
@saurabhsierra9195
@saurabhsierra9195 3 жыл бұрын
Awesome once again ...keep up the good work.
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Thanks 🙂
@sudheerkumar-fj1kr
@sudheerkumar-fj1kr 3 жыл бұрын
Nice explanation sir with each and every minued details
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Thanks Sudheer 🙂
@ignacionevarez3254
@ignacionevarez3254 3 жыл бұрын
Awesome explanation!
@puneetpal1466
@puneetpal1466 3 жыл бұрын
Millions of Thanksssss for amazing content🙏
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Thanks Puneet 🙂
@gameration6450
@gameration6450 6 ай бұрын
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.
@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.
@misterthatguyjake
@misterthatguyjake 2 жыл бұрын
This is fantastic!
@MayankAndVallabhi
@MayankAndVallabhi 3 жыл бұрын
Very informative. Thank you.
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Glad it was helpful!
@mayankkumargupta9601
@mayankkumargupta9601 Жыл бұрын
Please more content on System design.
@ashok2089
@ashok2089 6 ай бұрын
Helpful, thanks!
@amitsachdeva9001
@amitsachdeva9001 2 жыл бұрын
Well explained
@ansr9340
@ansr9340 2 жыл бұрын
Why swift language called protocol oriented programming language (POP)?
@abdulyasin_iOS
@abdulyasin_iOS 6 ай бұрын
Great video ...
@twinsbaby5774
@twinsbaby5774 3 жыл бұрын
very fruitful thanks
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Glad that you liked the videos 🙂
@mamtavishwakarma8707
@mamtavishwakarma8707 2 жыл бұрын
Hello sir, Can you please share the video for closures
@pavanmanjani7583
@pavanmanjani7583 3 жыл бұрын
Superb Thanks😀
@arunbenjamin168
@arunbenjamin168 3 жыл бұрын
Can you please explain when to use sqlite, core data, realm.
@lingeswarankandasamy7615
@lingeswarankandasamy7615 3 жыл бұрын
Man!!! this is great 👍
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Thanks 🙂. Glad that you like the video.
@avijitnagare
@avijitnagare Жыл бұрын
Can we restrict to take screenshot in iOS app?
@saravananraju528
@saravananraju528 3 жыл бұрын
In API Call Model class, what we can use Struct or Class?
@canbaba9261
@canbaba9261 2 жыл бұрын
hint aksanına sağlık güzel bilgiler :)
@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 Жыл бұрын
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.
@bhuwin6186
@bhuwin6186 Жыл бұрын
doing gods work
@piyusharmaus
@piyusharmaus 3 жыл бұрын
Your channel notification means something interesting to learn :)
@faiznadi
@faiznadi 3 жыл бұрын
Awesome
@iCode_Happy_Coding
@iCode_Happy_Coding 3 жыл бұрын
Thanks 🙂
@shantaramkokateit
@shantaramkokateit 3 жыл бұрын
Missing Point 1. Structure not support self Type as property while class support this
@victorriurean
@victorriurean 2 жыл бұрын
🔥🔥🔥
@JinkProject
@JinkProject 8 күн бұрын
Bro you should talk much slower if your accent is that strong.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Singleton - Good or Bad?
9:41
iCode
Рет қаралды 11 М.
iOS Interview Questions and Answers with Sample Code
1:06:47
Richard Topchii - Swift and Apple Platforms
Рет қаралды 23 М.
Inheritance vs Interfaces (Protocols) In Swift
18:43
iCode
Рет қаралды 15 М.
iOS Dev Job Interview - Must Know Topics
2:27:40
Sean Allen
Рет қаралды 95 М.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН