5 Simple Steps to Find Slow Code Using Xcode Time Profiler
Xcode Time Profiler is a powerful performance analysis tool provided by Apple. It is specifically designed to help developers optimize the performance of their iOS, macOS, watchOS, and tvOS...
View ArticleAdding Swift Code as Custom LLDB Command
If I ask which LLDB command you used the most? I am sure most iOS developers will answer po. But did you know that you can actually define your own custom LLDB command using purely Swift code? In this...
View Article5 Must-Know Xcode Shortcuts for Unit Testing
Writing unit tests is a major part of the app development lifecycle. Xcode has some pretty useful built-in unit testing shortcuts, however, a lot of developers are not aware of their existence. In...
View ArticleHow to Send Silent Push Notifications
✅ Tested working on iOS 14 device. A silent push notification or some might call it background notification is a notification that does not trigger any alert or sound. It wakes up your app and allows...
View ArticleHow to Implement a Swift HTTP Request Helper Without a Working Server
HTTP request helper is one of the most essential parts of most modern-day apps. It takes care of all the processing work before and after calling a remote API. Ideally, the implementation of HTTP...
View ArticleTest Doubles in Swift: Dummy, Fake, Stub, Mock
When doing unit testing, it is a common practice to replace an actual object with a simplified version in order to reduce code dependencies. We call this kind of simplified object a Test Double...
View Article