Nice explanation but this logic is crashing at line number 52 out of index when input is [2,3,4,3,4,1,6,6,7,5,9,1,8,9,0,0,0,10,8,-11]
@maulikshah646116 күн бұрын
it is good but i want to go perticular class then how can i go?
@maulikshah646117 күн бұрын
DO you have dependacy injection video?
@maulikshah646117 күн бұрын
Here I want to pass uikit to swift ui but on pop how can i pass?
@maulikshah646117 күн бұрын
it is good but when you refresh it is automaticlly stoped.. i want like once api result will be there then hide the refresh
@maulikshah646118 күн бұрын
print value 2 times why i can't understand.. I understand the concept but this code print the value 2 times. import SwiftUI struct CircleView: View { var id : Int var body: some View { Circle() .frame(width: 100,height: 100) .foregroundColor(((id % 2) != 0) ? Color.yellow : Color.blue) .overlay( Text("\(id)") .font(.largeTitle) .bold() .foregroundColor(.white) ) } init(id: Int) { print(id) self.id = id } } struct ContentView: View { var body: some View { VStack{ ScrollView (.horizontal){ LazyHStack{ ForEach(1...1000,id: \.self){ CircleView(id: $0) } } }.frame(height: 120) ScrollView(.vertical){ LazyVStack{ ForEach(1...1000,id: \.self){ CircleView(id: $0) } } } } } } #Preview { ContentView() }
@ParkerAltonАй бұрын
Thanks man this was great
@HaroonIqbaldeveloperАй бұрын
Hey, thanks for the video. I have a scenario: What approach would we follow, if we have a bunch of async tasks (uploading multiple images in a loo) and on their execution, then we have again another API (must be called after uploading all the images ). Like "Bunch of uploading images asynchronously" and then after response, I have to use that response in next API call. Which is the best way to implement this?
@waylee-y2qАй бұрын
咖喱味 听不懂
@sudebsarkar21Ай бұрын
Very nice conversion !!!! please make more conversions like it
@LonnieThomas-v4sАй бұрын
Thomas Donna Jackson Shirley Clark George
@sandeepkashyap3607Ай бұрын
Always loved your videos, Waiting for the videos on Core Data and its operations
@virendragupta5945Ай бұрын
Well explained
@kiranbhandari98052 ай бұрын
Very well explained..Thank you,!!
@victorriurean2 ай бұрын
@victorriurean2 ай бұрын
@the_avii_72 ай бұрын
Thanks for the video. I have a question, so do we need to add barrier flag to all our write operation methods in order to make our code thread safe ? Or Is there any alternative ?
@ankitdutta68572 ай бұрын
Why you have stopped uploading?? Where can I find the video for in keyword
@anishagarwal58072 ай бұрын
great work man, loved the video very much.
@sagargiri80932 ай бұрын
Wow...just Wow Nilesh, you literally help me understand this. Your examples are best and to the point!!!!!!!
@sagargiri80932 ай бұрын
I followed your few videos and loved your approach to explaining these confusing topics with real implementation. Just had a one question does in latest Swift version we need to use Alamofire, like any specific benefits that URLSession.shared approach don't have.
@jitendrakumarpradhan28252 ай бұрын
00:03 Method dispatch determines which operation should be executed at compile time or runtime 03:45 Table dispatch assigns function pointers in a table. 05:25 Dynamic dispatch involves runtime method invocation based on class hierarchy. 09:00 Using static dispatch is faster than dynamic dispatch. 12:58 Static dispatch is faster than dynamic dispatch
@sreekanthzyou2 ай бұрын
It’s called dependency injection with protocol oriented programming
@sudebsarkar212 ай бұрын
really 1 of the best video no one explain this way
@nagarajan12952 ай бұрын
Really awesome video session
@sandeepkashyap36073 ай бұрын
I am waiting your videos on Core - Data stuff
@gorkerem3 ай бұрын
Also you can use GCD, Let me explain Create one concurrent queue for better performance Then while you reading data use queue.sync because the read process is more way faster than write and you should use queue.async(flags: .barrier) With this usage you can minimize data racing. But the best solution for like data race, race condition is using Actor. Thanks for video
@akshayvyavahare33593 ай бұрын
Nice examples... 👍
@chorbogturongi_masjidi3 ай бұрын
how can i achieve this that changing language within the app without killing it, in IOS 15, please any example app or path to achiave this would be appreciate
@MdJahirulIslam-g5q3 ай бұрын
Unable to find out project link in GitHub. Is it available?
@estiuestiuestiu41493 ай бұрын
very nicely explained
@subinrevi13 ай бұрын
Very well explained.
@anilkumar-eg2ti3 ай бұрын
Where I get the pdf of these question very good explanation
@rahuljamba58464 ай бұрын
Great Nice Explanation ❤, Please keep it up and make more scnerio based videos.
@bransenTwiddis4 ай бұрын
Hey I had an idea and I cannot develop apps. An app where you can play car sounds through your car speakers. The app would use like accelerometers or something to feel the acceleration of the car and make the engine sounds. Idk if u take app suggestions or anything 😂
@97250204304 ай бұрын
thanks
@VinayGupta-vz9od4 ай бұрын
This whole iOS interview question answer series was awesome, helped me crack 3 companies and I finally was able to switch my job. thanks a lot, keep up the good work 👏🙏❤️🍎
@VikramKumar-ti9cv4 ай бұрын
good explanation keep doing
@sudebsarkar214 ай бұрын
Hi for 2nd principle How its open for Extension that I think u may missed or I not understood , but closed for modification is cleared, can can u please comment here , it will be helpful.
@KailashJangir-fn1ve4 ай бұрын
Great Explanation but what if interviewer ask like what is the benefit of using this technique like we can use them directly na why we're making it that complex, then what to answer??
@_ritesh3054 ай бұрын
so that we can observe the changes in a property.
@santoshlohar1524 ай бұрын
Very helpful video, thanks.
@hammadlodhi8384 ай бұрын
this is not the best practice to calling DispatchQueue with main on the Network layer. you should do this on the UI or viewModel part.
@rahuljamba58464 ай бұрын
Great Tips Nilesh, Keep it up Buddy.
@praveenvelanati94505 ай бұрын
OCP says a type should open for extension. Using generics is not really extending the type's capabilities here. is OCP more related to using extensions?
@vaderCult5 ай бұрын
Please clear this one thing, I think that saying delegate and protocols only enables 1-1 communication is wrong, as we can see in the example you gave in last part that Class Test is able to call doSomething() for both Teacher and Student class and hence communicating with one to many objects. we can say that it is generally used as one to one communication but can use one to many if needed(by making all those delegates classes after confirming to protocol).
@JunaidKhan-ny8tu5 ай бұрын
awesome work, so how much is it testable? I would love to see that part
@persistent-s5 ай бұрын
Great info, thanks a lot! but i am getting 'Cannot find type 'Content' in scope' on using this.