Abhishek Dhiman
@iOSabhishek
Eat Swift,Think Swift,Love Swift!
You might like
Skill aren’t always be needed, sometimes its dependent how disgraced human you can be
Just want to let #twitter devs know, you have built an amazing platform and your contributions are deeply appreciated. If you are based out of #Bengaluru and you are looking for opportunities. My DM is open for all, will try to connect as much as I can.
A common question asked during interviews for Mid-Level & Senior iOS developers is: "What are SOLID principles?" Here's how you should answer:
Happy Diwali to all clean coders ! Have a good one .
For any iOS developer , this is a clarification about the bad practice going around regarding SwiftUI. As an example from Apple Docs, note that viewModel is a separate component and is not view itself. Please read more about it here in this example : developer.apple.com/documentation/…
Hey iOS developer , Finally, the truth has been spoken out loud by the apple team that Views are not ViewModels in SwiftUI.
Hey iOS developer , Finally, the truth has been spoken out loud by the apple team that Views are not ViewModels in SwiftUI.
@NirajTiwari_ and @iOSabhishek conducted a great session on the modern collection view layout and using the modern APIs they constructed the App Store UI. Here’s the session recording. youtu.be/ToLA91doe-g
youtube.com
YouTube
Building app store UI using modern collection view | iOS Cafe event
When I am looking at an online tutorial, I ask myself ✅ Does it make sense and fit my use-case? ✅ Is it following good design and decoupled structure? ✅ Is it testable? If anyone of those boxes are unchecked I simply stop then and there coz it won’t add any value.
Hard to believe reality, but you need to accept it.
I like how #ViewInspector (github.com/nalexn/ViewIns…) lets us unit test the SwiftUI Views. It has good coverage of different view types, modifiers, etc that are held inside a SwiftUI view. Here is a sample of a very basic test. P.S: It needs some boilerplate setup to use.
A common question asked in iOS interviews is "What do you use to store data in iOS apps?" If you're a Jr. or Mid-level developer, here's how you should answer it.
I came across an approach known as the model view approach in the developer forum It suggests how MVVM shouldn’t be used for SwiftUI apps I analyzed the approach from a clean code perspective and am sharing my findings in the video Do check it out 🧑💻 youtu.be/RVyTzq7WQkA
youtube.com
YouTube
The Model View Approach in SwiftUI
When it comes to unit testing, most devs make mistakes by always calling a test double a "Mock". A test double is a generic term. There are other types of test doubles that are useful. Dummy, fake, spy, stub, and mock are all different test doubles, so choose them as per need.
XCTest framework has provided this useful overload for the XCTAssert method where it captures the #filename and the #line number to report exactly from where the error occurred. Give it a try and make errors more meaningful. developer.apple.com/documentation/…
developer.apple.com
XCTAssert(_:_:file:line:) | Apple Developer Documentation
Asserts that an expression is true.
Thanks, @codecat15 for hosting an amazing session for junior and Senior iOS developers.
Hi all, I am Niraj, an iOS Developer with 6 years of experience. I love to develop, learn & explore technologies, design patterns, & new architecture trends. If you have any queries, you can reach out 2 me anytime & I'll be happy to help. Looking 4ward 2 connecting with you all.
Native > Hybrid/cross platform
Your mobile app just got a (well-deserved 😅) upgrade. It’s now: - faster — 2× on iOS, 3× on Android - redesigned using native components - easier to navigate, with a new home tab And we’re just getting started!
A question is where would the business calculations, validations be placed? Should it be in the web service class? If yes then it not only breaks separation of concern but also gives rise of a massive service file just like massive view controllers.
United States Trends
- 1. Josh Allen 12K posts
- 2. JJ McCarthy 3,991 posts
- 3. Darnell Washington 3,536 posts
- 4. Bengals 13.2K posts
- 5. Dolphins 29.3K posts
- 6. Malik Willis 2,270 posts
- 7. Ty Johnson 1,570 posts
- 8. Vikings 16.3K posts
- 9. Musgrave 1,372 posts
- 10. #BillsMafia 5,986 posts
- 11. Bucs 7,279 posts
- 12. #HereWeGo 2,725 posts
- 13. #Steelers 4,050 posts
- 14. #GoPackGo 3,457 posts
- 15. Bryce Young 2,411 posts
- 16. #Skol 2,361 posts
- 17. Josh Jacobs 2,520 posts
- 18. Barrett Carter N/A
- 19. Mike McDaniel 2,935 posts
- 20. Drake London 1,850 posts
Something went wrong.
Something went wrong.