Learn Swift and iOS Development
Master iOS development through in-depth tutorials and comprehensive courses on Swift, SwiftUI, UIKit, Core Data, and more.
Master iOS development through in-depth tutorials and comprehensive courses on Swift, SwiftUI, UIKit, Core Data, and more.
Discover the newest tutorials on Swift and iOS development
Discover the newest tutorials on Swift and iOS development
Showing 649 to 660 of 716 posts
In an earlier installment of Combine Essentials, you learned about Combine's map operator, one of the most commonly used operators. The map operator has one important limitation. The closure you pass to the map operator can't be throwing. Don't worry, though. Combine's tryMap operator addresses this shortcoming.
in Combine
This episode of Combine Essentials zooms in on Combine's merge operator. As the name suggests, the merge operator merges two or more upstream publishers into a single publisher. Even though the merge operator isn't difficult to use, there are a few pitfalls to watch out for.
in Combine
Combine's filter and compactMap operators share a few similarities and it is possible to use them interchangeably in some scenarios. That said, there are a number of key differences we discuss in today's episode of Combine Essentials.
in Combine
In this episode of Combine Essentials, we take a look at two of Combine's most commonly used operators, map and compactMap.
in Combine
In this episode, you learn how to authenticate a user using basic authentication, or basic auth for short, in Swift. We use the URLSession API in this episode, but the concepts we discuss apply to any networking library or framework that can send requests over HTTP(S).
in Networking
Formatting a time interval in Swift is trivial thanks to Foundation's DateComponentsFormatter class. While it can do more than formatting time intervals this episode shows you how to use the DateComponentsFormatter class to convert a TimeInterval object to a String object.
in Foundation
In the previous episode of Adding Core Data to an Existing Swift Project, we saved data to the persistent store, a SQLite database. In this episode, we fetch the books stored in the persistent store and update the label of the books view controller.
in Core Data
In the previous episode of Adding Core Data to an Existing Swift Project, we added a data model to the project and set up the Core Data stack, using the NSPersistentContainer class. In this episode, you learn how to save data to a persistent store.
in Core Data
Core Data is Apple's widely used persistence framework. It has been around for more than a decade and has earned its stripes. Getting stared with Core Data isn't as difficult as many developers make you believe as long as you take the time to learn the basics. In this episode, I show you how to add Core Data to an existing Swift project.
in Core Data
Steve Jobs famously said "Real artists ship." He meant that putting your work out in the world is an essential aspect of every creative, and that includes developers. Creatives that only work in isolation and never ship anything may not be that real after all.
in Opinion
How productive you are as a developer isn't only the result of your habits, your talents, and your experience. Your environment plays a key role, especially if you work in a team, a company, or a shared workspace.
in Opinion
The concept of open source has been around for decades, but platforms like GitHub have accelerated the growth of open source initiatives. Most of us can't imagine a world without open source software.
in Opinion