Elektrine lite

← Feed

Paul Hudson

twostraws@mastodon.social

<p>I write Swift and write about Swift, but most people prefer my dogs.</p>

Posts

  • View post

    iOS developers: Please for the love of god stop making your own custom tab views, not least they because they all freaking suck on iPhone Duo. Shopify, Facebook, Google, Airbnb, YouTube, and more are all trying, and none of them are succeeding 🤷‍♂️

  • View post

    The symbolEffect() modifier adds bounce, pulse, variable color, and rotation animations to SF Symbols with almost no effort. Multi-layer symbols can even animate each layer individually ✨ https://www.hackingwithswift.com/quick-start/swiftui/how-to-animate-sf-symbols

  • View post

    I don&#39;t think I ever swear on social media, but this one is worth it: holy shit! A JSON-based project format for Xcode! 🤯

  • View post

    I know I live in a bubble, but hot damn demand for the iPhone Duo seems off the charts. (I think you’re all wrong, and should not buy one.) (Mostly so that I can buy one.)

  • View post

    If you pressed &quot;Upgrade to iOS 27&quot; and are instead getting 26.7, congratulations: you are *not* alone 🙃 #iOS27

  • View post

    Want to customize the way links are opened? Tapping a link in SwiftUI opens Safari by default, but a custom OpenURLAction lets you intercept, redirect, or handle the URL yourself. https://www.hackingwithswift.com/quick-start/swiftui/how-to-customize-the-way-links-are-opened

  • View post

    New on the Kickstart blog: What kills apps, and why it *isn’t* being Sherlocked. Apple added Dark Noise’s core job to iOS, and the app still earns over $4,700 a month. Sherlocking is a real risk, but it isn’t an automatic death sentence! https://www.kickstart.tools/blog/what-kills-apps-and-why-it-isnt-being-sherlocked

  • View post

    New on the Kickstart blog: How to make an app press kit journalists actually open. The exact anatomy of a press kit that gets your app covered – the fact sheet, the images journalists use, and a complete template to copy! https://www.kickstart.tools/blog/how-to-make-an-app-press-kit-journalists-actually-open

  • View post

    New on the Kickstart blog: When to call requestReview() – Apple’s rules and the timing that works. Apple limits how often review prompts appear and now gives clear guidance for using them, so here’s how to ask respectfully after a meaningful success. https://www.kickstart.tools/blog/when-to-call-requestreview-apples-rules-and-the-timing-that-works

  • View post

    Kickstart had almost 3,000 downloads in week one, reached #2 in the Mac App Store Developer chart, and I’ve shipped three updates since. The mistake? I still haven’t contacted the press about it 🫠 Here’s my launch retrospective – learn from my mistakes! https://www.kickstart.tools/blog/kickstart-launch-retrospective

  • View post

    Replacing Bool parameters with two-case enums turns cryptic calls like stopAnimation(false) into self-documenting code like stopAnimation(.performingFinalActions). It&#39;s a small change that makes a surprising difference to readability. https://www.hackingwithswift.com/articles/172/using-two-cased-enums-in-place-of-a-boolean

  • View post

    @gruber Random, but: Thank you for Markdown. I&amp;#39;ve never thought to say that before, which is odd in retrospect, but Markdown is such a delightful way to express text, and it has been really transformative for all computer users.

  • View post

    There&amp;#39;s an open-source SwiftUI agent skill that catches the mistakes AI tools keep making: deprecated modifiers, accessibility gaps, performance pitfalls. One command to install, and your AI-generated SwiftUI gets a serious quality boost. https://www.hackingwithswift.com/articles/282/swiftui-agent-skill-claude-codex-ai

  • View post

    Catch the error, *then* what? #expect(throws:) and #require(throws:) in Swift Testing return the error directly, so you can inspect it separately from the throw check itself. https://www.hackingwithswift.com/swift/6.1/swift-testing-errors-expect

  • View post

    Today&amp;#39;s Hacking with Swift+ live stream starts in four hours – come and build a complete app from scratch! https://www.hackingwithswift.com/plus

  • View post

    Sunday Build with HWS+: I mean who *doesn&amp;#39;t* love Regex? Create a SwiftUI app that lets you experiment with regular expressions in real time, with pattern matching, group highlighting, and Swift code generation. #SundayBuild https://www.hackingwithswift.com/plus/live-streams/regexcoach

  • View post

    First ice cream of the year - living the good life!

  • View post

    For HWS+ subscribers: Building a fully scalable, animated clock face with Canvas and TimelineView is a satisfying exercise in precise, relative drawing - and it looks great at any size. 🕰️ https://www.hackingwithswift.com/plus/recreating-ui/remaking-the-clock

  • View post

    What if you could build websites the same way you build SwiftUI apps, declaratively in pure Swift with no HTML required? That&amp;#39;s the idea behind Ignite, and it works surprisingly well. 🔥 https://www.hackingwithswift.com/articles/266/build-your-next-website-in-swift

  • View post

    @rmondello I saw this and thought of you. https://apple.news/AOMs_ZOZTSLuHxkeLRBWq4A

  • View post

    I picked up a lovely piece of 3D printing for Apple fans! 🤩

  • View post

    RE: https://mastodon.social/@twostraws/116455657942809795 I appreciate all the replies and reposts 🙇‍♂️ Kickstart will be released in exactly three weeks, but you can preorder today here: https://apps.apple.com/app/kickstart-app-accelerator/id6758355178

  • View post

    Use scrollTargetLayout() with .viewAligned to snap between individual child views, or .paging to move exactly one screen at a time. https://www.hackingwithswift.com/quick-start/swiftui/how-to-make-a-scrollview-snap-with-paging-or-between-child-views

  • View post

    After months of work, my new app is finally available to preorder on the Mac App Store. It&amp;#39;s called Kickstart, and it has just one job: to help indie app developers make more money on the App Store. How does it do that? Let me explain…

  • View post

    @dvrzan I love the design!

  • View post

    @superbetsy@mastodon.social One for your collection, if you don&#39;t already have it!

  • View post

    Today I&amp;#39;m launching my new app, Hacktivate. It teaches real-world computer science skills through 240 &amp;quot;capture the flag&amp;quot; challenges, and works on iPhone, iPad, and Mac with one purchase. I&amp;#39;ve poured a ton of love into it, and I&amp;#39;d love to hear what you think 🙌 https://apps.apple.com/gb/app/hacktivate-capture-the-flag/id6748286602

  • View post

    Recently I launched four agent skills for Swift developers, but I left the best power up for last. Today I&amp;#39;m finally revealing exactly how to teach your AI to write Swift the Hacking with Swift way! #Boom https://www.hackingwithswift.com/articles/284/teach-your-ai-to-write-swift-the-hacking-with-swift-way

  • View post

    Agent skills are lightweight Markdown files that teach AI coding assistants things they don&amp;#39;t already know, like deprecated APIs and platform-specific edge cases. They load into context on demand, so nothing gets wasted. https://www.hackingwithswift.com/articles/283/how-to-install-and-use-ai-agent-skills-in-xcode

  • View post

    See you in Cupertino! #WWDC26 (If you also won a ticket, you *must* confirm your place!)