Neil Hargreaves

@glotcha
55 Followers
164 Following
558 Posts
I design and code software for Apple platforms to make learning languages easier.
LanguagesđŸ‡Ŧ🇧N 🇮🇹C2 🇩đŸ‡ĒC2 đŸ‡Ģ🇷C1 🇹🇭C1 đŸ‡ģđŸ‡ŗB1 đŸ‡Ŧ🇷A2
TIL #swiftlang function type variance (contravariance) which works really well if you want to call your UIActionHandler code from outside a UIAction! So (UIAction?) -> Void is a subtype of (UIAction) -> Void because it's more permissive — it can handle everything the non-optional version can, and more. Btw UIKit ftw in quite a lot of cases! 😅
The fix for the unpleasant RSI I got moving from the M1 wedge MacBook Air to the M4 (32GB). I'll switch to the MacBook Pro fairly soon, the Air lost a point of differentiation. If you look at this page it feels like Apple doesn't even consider ergonomics as part of industrial design. https://support.apple.com/en-us/101928
Bummer that upgrading from M1 to M4 MacBook Air I get RSI from typing because it's no longer a wedge shape. I'm gonna try propping it up at the back. Edit: "Hey Jony, how do you like the new MacBook Air design?" ... "No too shabby!"
A nice simple #Xcode tip ... annotate between the // and the mark keyword
claude.ai tip the website seems to default to a vibe coding setup (ie: spew 500+ lines for even for non-code questions) but with artifacts turned off it answers much more concisely and any code is placed inline like the ChatGPT app
Apple's UI design team have done amazing work with the new design, it's a such a difficult thing to do and the scope of the project is huge. I really love the new possibilities that have opened up in app design! 🤍 🙏 cc @stern
#macos26 #Xcode seems like less vertical space for actual code editing (ahem content) and fullscreen/spaces is still a turd to use đŸ¤Ļâ€â™‚ī¸
the real value of the Liquid Glass redesign is having controls occupy a different visual plane gives the mind a little bit more uninterrupted space to breath
#iOS26 filter for new API with Xcode's documentation viewer
#wwdc25 I really like the new iOS design especially input accessory views + I thought this design video was really inspiring https://developer.apple.com/videos/play/wwdc2025/359 👏👏👏
Design foundations from idea to interface - WWDC25 - Videos - Apple Developer

Great apps feel clear, intuitive, and effortless to use. In this session, you'll discover how app design can elevate functionality,...

Apple Developer