Or: “Everybody likes being given a glass of water.”
By Merlin Mann.
It's only advice for you because it had to be advice for me.
import Foundation | |
import Observation | |
actor NumberViewModel: Observable { | |
// MARK: - Number | |
private let _numberStorage: UnsafeMutablePointer<Int> = .allocate(capacity: 1) | |
private nonisolated var _number: Int { | |
get { | |
observationRegistrar.access(self, keyPath: \._number) |
Check out the repo instead. The Wisdom of Quinn Now with 100% more archived PDFs.
Informative DevForum posts from everyone's favorite DTS member.
(Arranged newest to oldest)
import Foundation | |
import Combine | |
struct DataTaskSubscription: Subscription { | |
let task: URLSessionTask | |
let combineIdentifier: CombineIdentifier | |
func request(_ demand: Subscribers.Demand) { | |
} |
// | |
// Database.swift | |
// | |
// Created by Robert Ryan on 3/8/19. | |
// Copyright © 2019 Robert Ryan. All rights reserved. | |
// | |
import Foundation | |
import SQLite3 |
import Foundation | |
// Inspired by https://gist.github.com/mbuchetics/c9bc6c22033014aa0c550d3b4324411a | |
struct JSONCodingKeys: CodingKey { | |
var stringValue: String | |
init?(stringValue: String) { | |
self.stringValue = stringValue | |
} |
Following the tradition from last year, here's my complete list of all interesting features and updates I could find in Apple's OSes, SDKs and developer tools that were announced at this year's WWDC. This is based on the keynotes, the "What's New In ..." presentations and some others, Apple's release notes, and blog posts and tweets that I came across in the last few weeks.
If for some reason you haven't watched the talks yet, I really recommend watching at least the "State of the Union" and the "What's New In" intros for the platforms you're interested in. The unofficial WWDC Mac app is great way to download the videos and keep track of what you've already watched.
If you're interested, here are my WWDC 2015 notes (might be useful if you're planning to drop support for iOS 8 now and start using some iOS 9 APIs).
{% assign myArray = "1,2,3" | split: "," %} |