How navigation works in SwiftUI often proves to be confusing for new folks. In spite of the apparent attempt by Apple engineers to make app development easier for developers, navigation is one area that is confusing, counterintuitive, and difficult to handle in SwiftUI. In this blog post, I am going
iOS offers a safe area [https://developer.apple.com/documentation/uikit/uiview/positioning_content_relative_to_the_safe_area] at the top and bottom of the screen. This safe area prevents content from touching notches present and helps developers place their views within the visible portion of the overall interface.
Many times, iOS developers utilize UITableView and UITableViewCell subclasses and sometimes UICollectionView variants to create beautiful views. But it could be tricky when you're writing it for the first time. It's important to know the best practices on how to configure these cells. In this post, I am going to
NSNotificationCenter is a classic API on iOS. It's used so that classes can register for notifications by name and execute the function/block whenever the notification with same name is fired somewhere else in the project. Today, we will see how to implement NSNotificationCenter API in Swift from scratch. Here
Recently I was playing with support to add header and footer view to UITableView . However, task wasn't as easy as adding UITableViewCells to the table view. Header and Footer views acts slightly different than regular table view cells. Today we are going to see how to add self-sizing (self-sizing is
Swift introduced us to a new era of custom operators. Unlike Objective-C, it allows us to define our own operators and perform operator overloading on existing operators if necessary. We will see both of them in detail in today's article. Custom operators can provide excellent clarity and flexibility down the