Using dropLast and removeLast in Swift
Learn how to use dropLast and removeLast to manipulate arrays in Swift.
Working with Dates in Swift
It’s inevitable that at some point in your development career you’ll need to work with dates. Maybe you’re showing a feed of posts à la Facebook, or the upcoming schedule of your favorite sports team. While dates are easy conceptually, they aren’t so easy when you’re writing code for formatting and displaying them.
Use XCTUnwrap to Clean Up Your Unit Tests
Writing good tests is hard enough as it is, and optionals just complicate things further. To maintain sanity and make sure you (and the rest of your team) understand what exactly is being tested keeping your unit test code clean is a must. That’s where XCTUnwrap comes in!