This is a maintenance release mostly fixing build issues.
Read moreSome Statistics for Starters
As a hobby, I am working on a SwiftUI app on the side. It allows me to keep track of height and weight of my daughters and plot them on charts that allow me to see how “normal” my offspring are developing.
I’ve shied away from statistics at university, so it took me so time to research a few things to solve an issue I was having. Let me share how I worked towards a solution to this statistical problem. May you find it as instructive as I did.
Note: If you find any error of thought or fact in this article, please let me know on Twitter, so that I can understand what caused it.
Read moreKvitto 1.0.5
Following the previous release, I received word that Apple had added a new kind of sales receipt which is used for IAP testing. This release adds support for those.
Read moreAdding Swift Package Manager Support – Part 2
In the previous post I looked at some of the history of how we packaged up our library code for use by our fellow developers. We looked at some of the benefits of static libraries versus dynamic frameworks which also come with headers needed by the integrator.
Now let’s dive into the steps that were necessary for me to enable SPM support on the first few libraries DTCoreText, DTFoundation and Kvitto. It took me several days to iron out all the kinks and I’d love to share with you what I learned in the process.
Read moreAdding Swift Package Manager Support – Part 1
As of Xcode 12, Apple has matured Swift Package Manger to a degree where it makes sense to add support for Swift packages to your libraries. There are still a few stumbling stones on the path which have no obvious solution. So I figure, I’d share with you how I got around them when I recently added SPM support to DTCoreText, DTFoundation and Kvitto.
Read moreKvitto 1.0.4
Kvitto is an open source component that lets you parse Apple sales receipt files, for example to determine if the user has an active auto-renewing subscription on device.
This new release fixes an urgent issue that appeared the first time on September 24th, in iOS 14, where about half the sales receipts could not be parsed. I also added support for Swift Package Manager 2 weeks ago and had forgotten to announce the release, so there you go.
Read moreDTCoreText 1.6.25
This goes hand-in-hand with the latest update to DTFoundation, which added support for Swift Package Manager.
Changes
- FIXED: URLs containing CJK characters are not parsed
- FIXED: iOS 13 openURL crash
- FIXED: References to deprecated classes
- FIXED: Cannot parse CSS with empty font-family
- FIXED: iOS 14 warnings
- NEW: Swift Package Manager Support
This update has been tagged on GitHub and is available via CocoaPods.
DTFoundation 1.7.15
User nostradani contributed support for Swift Package Manager. I don’t even know his/her full name, but by the looks of things this was a hell of a lot of work.
Honestly I haven’t even looked adding SPM-support to my frameworks yet, but I hear that if you have resources in your framework project you have to wait until Swift 5.3. anyway. DTFoundation doesn’t, so I am glad somebody stepped up and did the work.
But in a SwiftUI app of mine I am referencing two Swift packages. It is quite convenient having this be integrated into Xcode.
The new version is tagged on GitHub and also available on Cocoapods.