---
title: "#swift articles | Hashnode"
description: "Swift is a powerful and intuitive programming language for macOS, iOS, watchOS, tvOS and beyond. Read the latest #swift articles and tutorials on Hashnode."
url: "https://hashnode.com/tag/swift"
---

Tag

# #swift

2,242 posts · 11,762 followers

[Xavier](https://hashnode.com/@xavier7t) · [1d ago](https://hashnode.com/posts/observable-ios-17-in-swiftui/6af8d86426ba82825d2f33d3)

### [@Observable (iOS 17+) in SwiftUI](https://xavier7t.com/observable-ios-17-in-swiftui?utm_source=hashnode&utm_medium=feed)

Replace ObservableObject with the Observation framework

4 min read · [xavier7t.com](https://xavier7t.com/observable-ios-17-in-swiftui?utm_source=hashnode&utm_medium=feed)

[2](https://hashnode.com/posts/observable-ios-17-in-swiftui/6af8d86426ba82825d2f33d3)

[Abdus Salam](https://hashnode.com/@aheadkit) · [1d ago](https://hashnode.com/posts/apple-foundation-models-the-on-device-model-the-swift-interface-and-the-limits/6af8fecc35d22df8d4beb8f6)

### [Apple Foundation Models: the On-Device Model, the Swift Interface, and the Limits](https://aheadkit.hashnode.dev/apple-foundation-models-the-on-device-model-the-swift-interface-and-the-limits?utm_source=hashnode&utm_medium=feed)

Apple ships a large language model with every iPhone, iPad and Mac that supports Apple Intelligence. It is the model behind the writing tools, the summaries and the smarter Siri. At WWDC 2025 Apple op

10 min read · [aheadkit.hashnode.dev](https://aheadkit.hashnode.dev/apple-foundation-models-the-on-device-model-the-swift-interface-and-the-limits?utm_source=hashnode&utm_medium=feed)

[Maxwell](https://hashnode.com/@maxwelldispatch) · [2d ago](https://hashnode.com/posts/watermark-text-that-doesn-t-break-in-another-language-font-fallback-and-measuring-with-core-text-in-swift/6af7c1aeecb2109c71fded79)

### [Watermark Text That Doesn't Break in Another Language: Font Fallback and Measuring with Core Text in Swift](https://maxwelldispatch.hashnode.dev/watermark-text-that-doesn-t-break-in-another-language-font-fallback-and-measuring-with-core-text-in-swift?utm_source=hashnode&utm_medium=feed)

A text watermark looks like the easiest feature in a photo app. Take a string, pick a font, draw it in a corner. Then someone types their studio name in Chinese, adds a © and a year, and finishes with

7 min read · [maxwelldispatch.hashnode.dev](https://maxwelldispatch.hashnode.dev/watermark-text-that-doesn-t-break-in-another-language-font-fallback-and-measuring-with-core-text-in-swift?utm_source=hashnode&utm_medium=feed)

[Ivan Chernoknizhnikov](https://hashnode.com/@treamz) · [3d ago](https://hashnode.com/posts/mapping-free-street-parking-from-open-data-with-postgis-and-mapkit/6af5f8025b27ac30aa1ef9cc)

### [Mapping free street parking from open data with PostGIS and MapKit](https://treamz.hashnode.dev/mapping-free-street-parking-from-open-data-with-postgis-and-mapkit?utm_source=hashnode&utm_medium=feed)

Turning cities' paid-parking data into likely-free kerbs with PostGIS, why OSM parking tags fail outside Germany, and drawing them in SwiftUI Map.

11 min read · [treamz.hashnode.dev](https://treamz.hashnode.dev/mapping-free-street-parking-from-open-data-with-postgis-and-mapkit?utm_source=hashnode&utm_medium=feed)

[Ivan Chernoknizhnikov](https://hashnode.com/@treamz) · [3d ago](https://hashnode.com/posts/identifying-card-printings-on-device-with-vision-and-ocr/6af5f7736946365366adf75d)

### [Identifying card printings on device with Vision and OCR](https://treamz.hashnode.dev/identifying-card-printings-on-device-with-vision-and-ocr?utm_source=hashnode&utm_medium=feed)

Artwork matching picked the right card printing 89.5% of the time even given the number. Combining Vision feature prints with OCR, and when to ask.

11 min read · [treamz.hashnode.dev](https://treamz.hashnode.dev/identifying-card-printings-on-device-with-vision-and-ocr?utm_source=hashnode&utm_medium=feed)

[Ivan Chernoknizhnikov](https://hashnode.com/@treamz) · [3d ago](https://hashnode.com/posts/planning-sourdough-backwards-in-swift-with-quiet-hours/6af5f7143fc81a591a875bfe)

### [Planning sourdough backwards in Swift, with quiet hours](https://treamz.hashnode.dev/planning-sourdough-backwards-in-swift-with-quiet-hours?utm_source=hashnode&utm_medium=feed)

How Proofday plans a sourdough bake backwards in Swift: a temperature model, a dynamic program on a 5-minute grid, quiet hours, Live Activities.

12 min read · [treamz.hashnode.dev](https://treamz.hashnode.dev/planning-sourdough-backwards-in-swift-with-quiet-hours?utm_source=hashnode&utm_medium=feed)

[Ivan Chernoknizhnikov](https://hashnode.com/@treamz) · [3d ago](https://hashnode.com/posts/counting-reps-with-vision-and-locking-apps-with-screen-time/6af5f6b66946365366abe306)

### [Counting reps with Vision and locking apps with Screen Time](https://treamz.hashnode.dev/counting-reps-with-vision-and-locking-apps-with-screen-time?utm_source=hashnode&utm_medium=feed)

Counting push-ups from Vision body pose with one state machine, and what Screen Time's shields, callbacks and 20-activity limit really allow.

10 min read · [treamz.hashnode.dev](https://treamz.hashnode.dev/counting-reps-with-vision-and-locking-apps-with-screen-time?utm_source=hashnode&utm_medium=feed)

[Sai Ram Kotha](https://hashnode.com/@sairamkotha) · [4d ago](https://hashnode.com/posts/apple-core-ai-vs-core-ml-iphone-app/6af417c746a21803dab4a2e6)

### [Apple Core AI vs Core ML: What Changes for Your iPhone App](https://sairamkotha.hashnode.dev/apple-core-ai-vs-core-ml-iphone-app?utm_source=hashnode&utm_medium=feed)

Apple's new Core AI framework: who needs it, what is confirmed and what is not, how Core ML apps are affected, and the slow first run to plan for.

9 min read · [sairamkotha.hashnode.dev](https://sairamkotha.hashnode.dev/apple-core-ai-vs-core-ml-iphone-app?utm_source=hashnode&utm_medium=feed)

[Francesco Pretelli](https://hashnode.com/@xeo) · [4d ago](https://hashnode.com/posts/icloud-key-value-store-sync/6af45c8627b575f00bea1be4)

### [How NewsNinja syncs all your data in less than 1 MB of iCloud](https://timefrancesco.hashnode.dev/icloud-key-value-store-sync?utm_source=hashnode&utm_medium=feed)

How NewsNinja syncs feeds, settings, read and starred articles across devices with NSUbiquitousKeyValueStore, and the tricks to stay under 1 MB.

15 min read · [timefrancesco.hashnode.dev](https://timefrancesco.hashnode.dev/icloud-key-value-store-sync?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/icloud-key-value-store-sync/6af45c8627b575f00bea1be4)

[Maxwell](https://hashnode.com/@maxwelldispatch) · [5d ago](https://hashnode.com/posts/saved-templates-that-survive-app-updates-versioned-codable-in-swift/6af3ccd9228eb7e2f144bcd4)

### [Saved Templates That Survive App Updates: Versioned Codable in Swift](https://maxwelldispatch.hashnode.dev/saved-templates-that-survive-app-updates-versioned-codable-in-swift?utm_source=hashnode&utm_medium=feed)

The first version of a "save this as a template" feature is always easy. Make the struct Codable, encode an array to JSON, write it to disk. Ship it. The trouble arrives in the second version, when yo

8 min read · [maxwelldispatch.hashnode.dev](https://maxwelldispatch.hashnode.dev/saved-templates-that-survive-app-updates-versioned-codable-in-swift?utm_source=hashnode&utm_medium=feed)
