Thank you Ram, feel free to ask questions on this if there’s something i missed and do subscribe to the channel if it has helped you and share it with your friends who are learning swift and request them to subscribe as well. Would appreciate it.
@prashantshrivastava85713 жыл бұрын
I have listen your most of the video in single day to revise the concepts, you are really awesome. 1000 likes for your videos.
@CodeCat153 жыл бұрын
Thank you Prashant, I am glad the channel is helpful :) do share it with your iOS group too
@ajaysinghazad3 жыл бұрын
I am loving your videos, that are really helping me. Let me know if you have any video on MVVM two way binding!
@rahuljamba58463 жыл бұрын
Great Sir Thanks a lot for simple way to complex topic.
@abhaykumar24j2 жыл бұрын
Keep making videos.. great 👍🏼
@IleshPanchalOnly3 жыл бұрын
Yes, I used already since long but doesn’t know the technical terms. Thanks
@CodeCat153 жыл бұрын
Awesome am glad it helped
@kaberidas61092 жыл бұрын
What is the difference between if let and guard let??
@riffatkhan60062 жыл бұрын
Hy! Bro how i can answer someone verbally if he asks me for difference between optional binding and optional chaining
@Puneet8434 жыл бұрын
when to use 'if let' statement and 'guard let' statement.?
@CodeCat154 жыл бұрын
Sorry to respond to this so late, for some reason I am not getting notification of the comments. We can use guard..let when we have nested if statements, nested if..let are so ugly and have zero code readability. Let's say your function has one single if statement and in the else you are writing code to exit the function like "return false" or just "return" something like that then in that case i would use guard let because the else of the guard will automatically exit the function and that's the good use case to when you can use guard. In general I use if..let for single conditional checks, only when I have 3-4 if.let that's where I switch to guard let for better code readability. We should also know the variable declared in guard let is available even after the scope of guard so just be careful when you name guard variables, I usually name them like "guard_emailString" that way I know that this variable is coming from a guard statement and is not a global variable. Hope this answers your question, If not let me know we can discuss it further and once again I am sorry I did not see this question earlier.
@Puneet8434 жыл бұрын
@@CodeCat15 thank you
@CodeCat154 жыл бұрын
Puneet Mahajan just want to know if i was able to answer your query? If not then please don’t hesitate to ask more questions the more you ask the better you will understand 😊👍
@Puneet8434 жыл бұрын
@@CodeCat15 I used to use 'guard let' and 'if let' statement in my code but I wasn't clear before when to use both. But now I'm clear. Thank you.
@CodeCat154 жыл бұрын
@@Puneet843 cool glad I was able to answer your question 🤘Happy weekend buddy