Getting the last two values from an RxSwift Observable I really can't remember why, but at some point I needed to get a RxSwift Observable's last two values, to compare them and decide what to do next.
Add a bottom divider to your SwiftUI view! Where we learn to look around thoroughly before blindly trusting strangers.
Give your UIViews and UIButtons some rounded edges and a shadow! Somehow, making a button rounded, and then adding a shadow to it, seems to be more difficult than it should. Here's how to do it in Swift!
Memoize your API calls in Swift using functions' scopes! Improve your iOS app's performance and battery usage by not repeating expensive computation and network calls, using memoization, in Swift!
Stop hard coding your cells identifiers Tired of having your app crash on runtime because of a misspelled a tableView's or collectionView's cell identifier? Learn here how to stop that from happening, today!
Swiftly deal with pagination in Swift Not satisfied with how you're handling pagination in your Swift iOS app? Pretty sure there has to be a better way to paginate your UICollectionView or UITableView? So did I, and here's how I did it!
Always handle your table & collection view cell selection properly, using functions When writing iOS, you will always end up using UITableView or UICollectionView. With them come cells, delegates, datasources, cellForRow(at indexPath:), didSelect,... I've often seen it become (and inherited) an ugly mess. Not anymore.