Package.swift – Getting Started with the SPM Manifest file
May 11, 2021, 10:05 AM
In the previous article, I talked about why Swift Package Manager has so many advantages over older package managers. In this article we’ll talk about getting started: using a package in Xcode creating a package in Xcode or with the...
Swift Packages – Dependency Management of the Future
May 3, 2021, 10:46 AM
The post Swift Packages – Dependency Management of the Future appeared first on Learning Swift.
Combine & CoreLocation, Part 3 – Integrations with flatMap
Sep 1, 2020, 7:38 AM
In our previous post, I explained how to hook up our new CLManagerDelegate publishers for CLAuthorizationStatus to the ObservableObject using Combine. In this post, we be transforming the CLLocation publisher data into something useful...
Combine & CoreLocation, Part 2 – Receiving & Handling Events
Aug 24, 2020, 12:31 AM
In our previous post, we talked about how to build a Publisher Factory or Publicist. In this post, we’ll talk about how receiving and handling Events in our ObservableObject from our new Publicist class. Creating Publishers from...
Combine & CoreLocation, Part 1 – Publishers & Delegates
Aug 19, 2020, 12:31 AM
Most of the APIs from Apple come from an era of Objective-C and the Delegation Pattern. With this in mind, the challenge is figuring how to adapt for SwiftUI. Specifically we want to create Publishers from delegates using Combine. For...
Swift on ARM – Supporting ARM in Swift Package CI
Jun 13, 2020, 6:01 PM
In a previous post, I already talked about how to setup your Swift package for CI success. However, I recently came across how to run your CI in Travis and GitHub Actions to test on Linux ARM machines. In this article, I’m going to...
flatMap, Double Optionals, and Functional Programming
Apr 7, 2020, 2:20 PM
A while ago I did an article on the basics of Optionals and how they work in Swift. However, it seems there’s some confusion as to how one particular method works in Swift when it comes to a collection of Optionals: flatMap. With all...
Swift Package Continuous Integration Guide
Mar 2, 2020, 10:00 AM
Swift packages offer an easy manageable way to share code and functionality. If you wish to create your own package, it’s important to make sure your code works where it’s supposed to and the quality is good. Most importantly,...
EmpowerApps.Show – Upgrading Your Skills in 2020 with Paul Hudson
Feb 3, 2020, 12:21 PM
In this episode, Leo is joined by Paul Hudson of hackingwithswift.com about how to upgrade your skills and your team’s skills in 2020.
The post EmpowerApps.Show – Upgrading Your Skills in 2020 with Paul Hudson appeared first on...
Asynchronous Multi-Threaded Parallel World of Swift
Sep 25, 2019, 10:00 AM
Over the last 15 years, CPU clock rate has plateaued due to thermal limitations in processors. As a result, CPU manufactures have instead chosen to add more cores or processing units. Therefore nearly every device has multiple cores: from...
Independent Watch App and HealthKit
Sep 17, 2019, 2:45 PM
In the development of my latest app which is an Independent Watch App that uses HealthKit, I ran into an issue with App Store Connect. App Store Connect will complain about missing Purpose Strings, that is the messages display to the user...
Get Started Developing Server Side Swift with Vapor
Sep 16, 2019, 10:10 AM
Last month I spoke at SwiftTO in Toronto, a great conference with some great speakers. If you get a chance, check out all the talks here. My topic of choice was Vapor and how to get started. Here is the talk description: While Swift has...
WWDC 2019 Roundup – Podcast Episode
Sep 11, 2019, 11:42 AM
WWDC 2019 was a major year with Catalyst, Apple Watch, iCloud and of course SwiftUI. After WWDC 2019 this summer, I did three podcast episodes highlighting some of the important new lessons we learned. WWDC 2019 – Apple Watch with...
EmpowerApps.Show – WWDC 2019 – Swift UI with Jason Anderson
Aug 15, 2019, 11:07 AM
In this episode we talk with Jason Anderson about Swift UI and reactive Swift post-WWDC 2019: Functional Reactive Programming Understanding Declarative Programming Drawbacks of using Swift UI NowThe post EmpowerApps.Show – WWDC 2019...
Mac for Developers – Which One To Learn Swift in 2019?
Jun 18, 2019, 3:48 PM
For beginners learning Swift, it can be a challenge to find the right Mac for developers. As with many things, I strongly believe you shouldn’t spend too much money until you know you will be making a real commitment to a project....