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 409 to 420 of 716 posts
There are many tutorials and courses available to get started with Swift development. The issue with many online resources is that they're focused on a specific topic, ignoring essential aspects of Swift development. What teachers often forget is that developers new to a language, a framework, or a technology, are very receptive to new information. This includes best practices, but, unfortunately, it also means less good practices or even bad habits.
in Xcode
In last week's tutorial, I showed you how your application can respond to account status changes. While this isn't rocket science, it's important for any application that takes advantage of Apple's iCloud services.
in CloudKit
Object literals are very useful and they often make your code easier to read and understand. String literals are a bit different, though. It is true that a string literal is the easiest solution to create a String object. It is straightforward and everyone understands what is going on. But there is a price you pay every time you use a string literal. Did you know that?
in Swift
It's easy to forget that a user can only benefit from iCloud and its many features if they have an Apple ID and if they're signed in on their device. While both requirements are usually met, your application needs to be capable of handling scenarios in which the user isn't signed in.
in CloudKit
Every developer new to Cocoa and Swift development needs to become familiar with Apple's lingo and processes. In this episode, I'd like to talk about App IDs and bundle identifiers. What is an App ID? What is a bundle ID? What is the link between App IDs and bundle IDs?
in Fundamentals
CloudKit is an amazing framework and Apple has proven that it's a robust, reliable solution for persisting data in the cloud. Several of the company's flagship applications are powered by CloudKit, including iCloud Drive, Photos, and Notes.
in CloudKit
Have you ever heard of imposter syndrome? Like Pauline Rose Clance, I prefer imposter experience as it better describes the problem. A surprising number of people suffer from imposter experience. And developers are no exception. What is imposter experience? And why am I writing about it in this book?
in Opinion
The vast number of tutorials and courses about software development is a blessing for anyone interested in building software. And this is no less true for anyone interested in Swift development. Getting started with Swift development is easy and it doesn't need to cost a fortune. But, as many of us have discovered, there's a downside to this wealth of information. In this chapter, I'd like to highlight three problems that I frequently face and hear about from my students and readers.
in Opinion
Fatal errors have a negative connotation and with reason. You should use them sparingly if you want to avoid having your application crash and burn at the slightest hiccup. Despite their negative undertone, fatal errors are an integral part of my workflow as I write elsewhere in this book.
in Swift
Core Data is a fantastic framework and I love using it. I agree that Core Data has a learning curve, but isn't this true for many other frameworks? Because of Core Data's learning curve, developers often turn to third party libraries that make working with the framework easier.
in Core Data
The Cocoa frameworks and the Model-View-Controller pattern go hand in hand. A typical iOS application, for example, is composed of models, views, and view controllers.
in Patterns
The types you can store in a Core Data persistent store are limited and it probably won't surprise you that UIColor objects are not supported out of the box.
in Core Data