Alastair Writes Code
  • Home
  • About
Subscribe

Alastair Coote

29 Jan 2025 • 7 min read

What actually happens when you use a CSS transform

'transform' is a powerful CSS attribute and we're all told we should use it "for performance". But why? I'm going to find out.

Read more
29 Apr 2023 • 1 min read

Getting WKWebView to treat a WKURLSchemeHandler as secure

The bad news upfront: you can't do this in an app you're going to submit to the App Store because it involves using a private API. But I thought it was interesting nonetheless. In short: iOS's webview, WKWebView, allows you create a "custom

Read more
20 Sep 2020 • 8 min read

To JSC or not to JSC: running JavaScript on iOS in 2020

Did you know that iOS comes with a JavaScript engine bundled into the OS? JavaScriptCore (JSC) is the same engine used inside Safari, wrapped in a very interesting API that lets you mix JavaScript and native values together. Most importantly, when it was introduced in iOS 7 it was also

Read more
  • Sign up
Published with Ghost