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 517 to 528 of 716 posts
If you are familiar with the Model-View-Controller pattern, then you know that it splits an application up into three components or layers, the view layer, the model layer, and the controller layer.
Swift is becoming more popular by the day and new initiatives pop up left and right. In this article, I list six projects I stumbled upon in my never-ending search for audacious initiatives.
It isn't easy for inexperienced developers to find an attractive job without years of experience or an impressive portfolio. That shouldn't be an excuse, though. It has never been easier for developers to build a portfolio, gaining experience along the way. In this article, I show a few examples of how you can build a portfolio and gain experience to help you find clients or impress your future employer.
in Opinion
The Core Data stack we have built in this series has grown quite a bit in complexity. But if you have a good grasp of the framework, it isn't rocket science. In this lesson, we add the last piece of the puzzle. You can follow along by downloading the repository from GitHub.
in Core Data
Developers new to Swift are often confused by the seemingly random sprinkling of question and exclamation marks in Swift code. Yesterday, we discussed the meaning of the question mark. Today, I would like to zoom in on the meaning of the exclamation mark in Swift.
in Swift
Even though Swift is easy to get started with, developers new to the language need to learn several brand new concepts. The most common hurdle developers run into is understanding optionals. What are they? And how should you deal with optionals?
in Swift
Even though you may not know what an autoclosure is, I bet you have already used autoclosures without knowing it. Last week, we looked at the fatalError(_:file:line:) function. What I didn't show you is the function declaration. This is what it looks like in Swift 3.
in Swift
Even though UICollectionView is incredibly flexible and versatile, trivial things are sometimes difficult to accomplish. UITableView, on the other hand, has more configuration options, but it is harder to customize. Sticky section headers, for example, are built into table views. Adding them to a collection view requires a bit of extra work.
in UIKit
As a developer, chances are that you have started more projects than you can remember. But how many of those projects have you finished? How many applications did end up in the hands of customers?
in Opinion
Even though the signature of the fatalError(_:file:line) function looks a bit daunting, it is surprisingly easy to use. In this tutorial, I show you how to use fatal errors and, more important, why you'd want to use fatal errors.
in Swift
In the previous tutorial, we explored forward geocoding with the CLGeocoder class, a member of the Core Location framework. This tutorial zooms in on reverse geocoding, another capability of the CLGeocoder class.
The CLGeocoder class is part of the Core Location framework and it has been around since iOS 5 and macOS 10.8. Initially, the functionality of the CLGeocoder class was limited to reverse geocoding addresses into coordinates. Since iOS 8 and macOS 10.10, however, it is also possible to fetch the coordinates of addresses. In this tutorial, you learn how to do both using Xcode 9 and Swift 3.