01iOS · SwiftUI · Architecture · 9 min read
SwiftUI state and app architecture with Observation
How to structure a SwiftUI app with the Observation framework: who owns state, @State vs @Bindable vs @Environment, services, loading and errors.
Writing · Swift, iOS and Apple Watch
In-depth guides to building iPhone and Apple Watch apps in Swift and SwiftUI, and plain-English advice for businesses planning an app, from costs and platforms to launch and upkeep.
In-depth guides to building modern iPhone apps in Swift and SwiftUI, with current code you can copy.
01iOS · SwiftUI · Architecture · 9 min read
How to structure a SwiftUI app with the Observation framework: who owns state, @State vs @Bindable vs @Environment, services, loading and errors.
02iOS · Swift · Concurrency · 9 min read
A practical guide to Swift concurrency for iOS apps: async/await, async let, task groups, actors, cancellation, Sendable and main-actor isolation.
03iOS · SwiftData · Persistence · 8 min read
A practical SwiftData guide for iOS apps: defining models and relationships, @Query, background imports with @ModelActor, schema migrations and iCloud sync.
04iOS · Performance · Instruments · 8 min read
How to find and fix slow launches, hangs, janky scrolling and memory growth in iOS apps with Instruments, signposts, XCTest metrics and MetricKit.
05iOS · SwiftUI · Accessibility · 8 min read
Make SwiftUI apps work for everyone: VoiceOver labels and actions, Dynamic Type layouts, contrast, Reduce Motion, automated audits and App Store labels.
06iOS · Testing · Quality · 7 min read
What to test in an iOS app and how: Swift Testing's @Test and #expect, parameterised tests, async code, test doubles, UI tests with XCTest and CI.
07iOS · WidgetKit · App Intents · 7 min read
How to put your iOS app's most useful actions on the Home Screen, Lock Screen, Siri and Spotlight with WidgetKit, App Intents and ActivityKit.
08iOS · Privacy · App Store · 7 min read
Get iOS apps through App Store review: privacy manifests, required-reason APIs, permission prompts, tracking, account deletion and review notes.
Plain-English guides for businesses planning an app: costs, platforms, launch, upkeep and choosing a developer.
A reading path for your iOS app
01For clients · Budget · Scoping · 8 min read
What decides the cost of building and running an iOS app: features, design, backend, integrations, testing, Apple fees and upkeep, and how to scope it.
02For clients · Strategy · Platforms · 7 min read
Swift and SwiftUI, React Native, Flutter, Kotlin Multiplatform or a web app? How to choose an app platform for your business, with honest trade-offs.
03For clients · App Store · Launch · 7 min read
Every step between a finished build and your app on the App Store: developer accounts, TestFlight, product page, privacy details, review, release options.
04For clients · Maintenance · Planning · 7 min read
What keeping an iOS app healthy involves after launch: yearly iOS releases, Apple's SDK deadlines, crashes, dependencies, security, reviews and planning upkeep.
05For clients · Hiring · Ownership · 7 min read
Hiring an iOS developer or agency? What to look for, the questions to ask, red flags, and how to make sure you own your code and Apple Developer account.
06For clients · MVP · Planning · 6 min read
A practical checklist for planning an iOS MVP: defining the core journey, what version one needs, what it can skip, and the launch basics Apple requires.
07For clients · Case study · watchOS · 7 min read
A walk through Lee Johnson's own Apple apps, from MetricEdition to Tipple Units, and the scoping decisions behind them that apply to any client project.
Building and designing for the Apple Watch, plus a review of my MetricEdition app and its code.
01watchOS · Swift · SwiftUI · 10 min read
The Apple Watch is a remarkable device that extends the power of iOS development to the wrist, allowing for intimate, glanceable interactions.
02watchOS · Design · SwiftUI · 19 min read
Crafting Impactful Apple watch experiences with Swift and SwiftUI.
03iOS · watchOS · Performance · 8 min read
Battery life remains one of the most important factors in user satisfaction for iOS and watchOS apps.
04watchOS · App review · 6 min read
Innovation often starts with curiosity. MetricEdition, created by Lee Johnson under the StromaScape brand, is a perfect example of how curiosity about time…
05watchOS · SwiftUI · Code · 20 min read
Innovation often starts with curiosity. MetricEdition, created by Lee Johnson under the StromaScape brand, is a perfect example of how curiosity about time…
A–ZReference
Essential Swift and SwiftUI terms from Actor to ZStack, each with a clear definition, a code example and a usage tip.
Further practical guides to Swift, SwiftUI and the details of shipping on iOS, beyond the foundations.
01iOS · SwiftUI · Migration · 14 min read
A practical, incremental way to move a UIKit app to SwiftUI: wrapping views, sharing state, navigation, testing and when to leave UIKit in place.
02iOS · SwiftUI · Navigation · 14 min read
How to model SwiftUI navigation as state with NavigationStack, typed routes, deep links, state restoration and the usual broken-stack bugs.
03iOS · StoreKit · Monetisation · 13 min read
How to add StoreKit 2 purchases and subscriptions to a small iOS app: products, entitlements, testing in Xcode and the checks App Review expects.
04iOS · Networking · URLSession · 14 min read
How to build reliable iOS networking with URLSession: typed errors, retries, cancellation, decoding, auth headers and tests, without a heavy library.
05iOS · Background work · BGTaskScheduler · 12 min read
How to use BGTaskScheduler for refresh and processing tasks, what iOS will and will not guarantee, and how to test, budget and debug background work.
06iOS · Localisation · UK English · 12 min read
How to localise an iOS app: String Catalogs, UK versus US English, dates, currency, images, pluralisation and tests that catch missing strings.
07iOS · Push · UserNotifications · 13 min read
How to add iOS push notifications that earn their permission: when to ask, tokens, rich notifications, Focus modes and the work on the server.
08iOS · Swift · Swift Package Manager · 10 min read
How to create, version and publish a Swift package: API design, semantic versioning, Git tags, DocC, privacy manifests and breaking changes.
09iOS · App Clips · Product decisions · 12 min read
What an App Clip can and cannot do, the size and invocation limits, and a plain decision guide for whether a small app should have one.
10iOS · PhotoKit · Privacy · 11 min read
How to read and write photos with PhotoKit under limited library access, when to use the picker, truthful permission strings and review issues.
11iOS · SwiftUI · Design QA · 11 min read
How to use SwiftUI previews as a design QA workflow: traits, Dynamic Type, colour schemes, sample data, snapshot tests and keeping previews fast.
12iOS · CI · DevOps · 11 min read
A practical comparison of Xcode Cloud and GitHub Actions for iOS: signing, tests, cost, privacy, runners and a setup that can use either.
Technical SEO and AI-visibility guides: crawlers, sitemaps, schema, indexing and how to write pages that search and AI can use.
01Technical SEO · AI search · llms.txt · 13 min read
How to write llms.txt and llms-full.txt for AI tools: what to put in each file, where they go, how they relate to robots.txt, and how to check them.
02Technical SEO · AI crawlers · robots.txt · 12 min read
How to allow, limit or block AI crawlers with robots.txt, headers, firewall rules and usage policies, without taking the site out of Google.
03Technical SEO · Canonicals · Duplicate URLs · 12 min read
How duplicate URLs appear through trailing slashes, www, parameters and HTTP, how to set an honest canonical tag, and how to check it live.
04Technical SEO · Migrations · Checklist · 12 min read
A practical SEO checklist for moving a website: inventory, URL map, redirects, canonicals, Search Console, AI crawlers and go-live checks.
05Technical SEO · Indexing · Soft 404s · 12 min read
What a soft 404 is, why ‘page not found’ served as HTTP 200 quietly drops pages from search, and a method for finding and fixing them on a small site.
06Technical SEO · Sitemaps · Indexing · 12 min read
How to build and maintain an XML sitemap that matches the live site: what to include, lastmod, images, coverage gaps, and the checks that catch stale URLs.
07Technical SEO · robots.txt · Indexing · 12 min read
When to use robots.txt and when to use X-Robots-Tag or a meta robots tag, what each one can actually do, and a simple rule for HTML pages, files and APIs.
08Technical SEO · Internal linking · Site architecture · 12 min read
A practical internal-linking method for small websites: click depth, orphan pages, clear anchors, and a routine that does not need a huge crawler.
09Technical SEO · Keywords · Cannibalisation · 11 min read
How two pages on a small site compete for the same query, how to spot it in Search Console, and how to fix it without deleting useful content.
10Technical SEO · Rendering · AI crawlers · 12 min read
Why a browser, Googlebot and an AI crawler can see different HTML: JavaScript, blocked assets, bot firewalls, and how to compare raw and rendered pages.
11Technical SEO · Indexing · IndexNow · 11 min read
How IndexNow fits into getting a page indexed: the key file, a clean submission, sitemaps, Search Console, and what a successful ping cannot promise.
12Technical SEO · JSON-LD · Schema.org · 11 min read
How to write JSON-LD that helps search and AI: useful types, entities and sameAs, Article and FAQ rules, and the errors that get markup ignored.
13SEO · Writing · AI answers · 10 min read
How to write pages that search and AI answers can cite: answer first, visible facts, structure, original experience, and the padding to cut.
14Technical SEO · Launch · Checklist · 11 min read
A technical SEO checklist for a new website: HTTPS, canonicals, robots, sitemaps, schema, Core Web Vitals, AI crawlers and the final go-live pass.
15Technical SEO · hreflang · International · 11 min read
How to use hreflang for UK and US English versions of a site: en-GB versus en-US, x-default, return tags, and the mistakes that make both versions compete.
Web performance, HTTP, accessibility and the practical details of shipping a fast, clear website.
01Web performance · Core Web Vitals · 12 min read
How to diagnose LCP, INP and CLS from a lab test, a field trace and a waterfall: what each metric means, usual causes, and a fix order that does not guess.
02Web performance · Budgets · 11 min read
How to set a performance budget for a small website: what to cap, how to measure it, how it relates to Core Web Vitals, and a budget you can keep.
03Web security · HTTP headers · CSP · 11 min read
A checklist for HTTP security headers and Content-Security-Policy on a small site: what to set, a safe CSP rollout, and how to check the result.
04HTTP · Caching · Performance · 12 min read
How Cache-Control, ETag, Last-Modified and Vary work for HTML, CSS, APIs and CDNs, with rules a small site can apply without breaking updates.
05HTTP · CORS · APIs · 12 min read
How CORS and preflight requests work, why a call is simple or not, how cookies change the rules, and a method for debugging a failed browser request.
06Accessibility · Colour · WCAG · 12 min read
How to choose readable text and UI colours: WCAG contrast, APCA, colour blindness, dark mode, and a method that does not rely on one magic ratio.
07Web performance · Images · Responsive · 12 min read
How to ship sharp, compact images with srcset and sizes, width descriptors, art direction, modern formats, and the checks that catch an oversized download.
08Accessibility · Forms · WCAG · 14 min read
A checklist for accessible web forms: labels, autocomplete, errors, focus, keyboard use, and tests that catch problems a validator can miss.
09Web development · Cloudflare Workers · SEO · 12 min read
How to keep a Cloudflare Workers site friendly to search and AI crawlers: HTML first, cache, trailing slashes, headers and the mistakes that hide pages.
10Web performance · Service workers · SEO · 12 min read
How a service worker can help or hide a site from crawlers: cache strategies, offline pages, what Googlebot does, and a safe default for a small site.
11Web development · Branding · Social · 12 min read
A checklist for favicons, Apple touch icons, a web app manifest and Open Graph images: the files to ship, useful sizes, and how to check they appear.
12Email authentication · DNS · UK domains · 13 min read
How to set up SPF, DKIM and DMARC on a UK domain: one policy, several mail senders, a safe rollout to reject, and checks for a missing or shadowed record.
13APIs · Authentication · JWT · 12 min read
How JWTs and JWKS work in an API: signed versus encrypted tokens, trusted claims, key rotation, and the checks that stop you accepting a bad token.
The business of shipping: App Store marketing, pricing, UK VAT and the paperwork around a small app or site.
01App Store · ASO · Indie apps · 11 min read
A practical ASO checklist for indie iOS apps: name, subtitle, keywords, screenshots, review prompts and product-page experiments, without folklore.
02App Store · TestFlight · Testing · 11 min read
A TestFlight checklist: internal versus external testers, what to ask them, feedback, expiry, compliance and the steps that delay an external beta.
03Indie business · Pricing · App Store · 12 min read
How to choose between a paid app, a free app with purchases, and a subscription as a small indie, with a decision guide that stays honest about upkeep.
04App Store · Screenshots · Marketing · 12 min read
How to plan, write and export App Store screenshots and a preview video: required sizes, the first frame, captions, localisation and a repeatable process.
05Indie business · UK VAT · Digital products · 12 min read
A plain-English map of how UK VAT usually applies when you sell an app or digital product, through Apple or your own site. This is not tax advice.
06Indie business · Privacy · UK · 12 min read
A practical template for a small UK app privacy policy: what to declare, analytics, purchases, third parties and App Store links. Not legal advice.
07Indie business · Pricing · 11 min read
How to pick a price for a small app or digital tool: costs, value, price points, VAT, experiments and the mistakes of copying a competitor.
08Indie business · Privacy · Analytics · 13 min read
How cookie-free analytics relates to UK GDPR and PECR: when a cookie banner is needed, what ‘no cookies’ means, and a cautious setup. Not legal advice.
09App Store · Review · Rejections · 12 min read
A checklist for an App Store rejection: how to read the message, the usual causes, what to fix, how to reply, and how to resubmit without guessing.
10App Store · Accessibility · Compliance · 13 min read
A checklist for App Store Accessibility Nutrition Labels: what each feature means, how to test it honestly, and how this relates to accessible SwiftUI.
Let's bring your ideas to life. Whether you're envisioning a game-changing Apple Watch app or a transformative iOS experience, I'm here to make it happen.
Start a projectHi, I'm Lee. The quickest ways to reach me:
✎ Send an enquiry ✉ hello@leej.uk ☎ +44 7307 307625 X @leejohnson