Khởi tạo ScriptWidget – tạo widget cho iOS/macOS bằng JavaScript + JSX! Dùng SwiftUI + WidgetKit, hỗ trợ Live Activities và Dynamic Island, mã nguồn mở (MIT), một codebase cho cả iOS/iPadOS/macOS. Nhận phản hồi về kiến trúc và API. #ScriptWidget #WidgetKit #SwiftUI #JavaScript #JSX #OpenSource #CôngCụLậpTrình #iOSDev #MãNguồnMở

https://www.reddit.com/r/SideProject/comments/1qjyrvb/i_opensourced_scriptwidget_build_iosmacos_widgets/

Introducing Jewel Case: Spotify Album Art for Your Mac Desktop

Remember when music was physical? You’d flip through a stack of CDs, admiring the album art before deciding what to spin. The jewel case was part of the experience—the artwork set the mood before the first note played.

Streaming killed that ritual. Spotify buried album art behind tiny thumbnails, and unless you’re staring at your phone, you never see it. I wanted that back.

The Problem

I spend most of my day looking at my Mac, not my phone. When music is playing, I want to see what’s playing—really see it. The big, beautiful album artwork. Not hunt for a browser tab or pull out my phone.

macOS widgets seemed like the obvious solution. A glanceable “Now Playing” widget right on my desktop. But Spotify doesn’t offer one. Third-party apps either wanted too many permissions or looked like afterthoughts.

So I built my own.

Jewel Case

Jewel Case is a simple Mac app that does one thing well: shows you what’s playing on Spotify.

The menu bar shows the current track. Click it, and you get the full album art with playback controls. But the real magic is the widget—drop it on your desktop, and your currently playing album art is always visible. It’s like having a tiny record player on your desk.

Features:

  • Desktop widget — Small or medium size, shows album artwork and track info
  • Menu bar player — Quick access to playback controls without switching apps
  • Interactive controls — Play, pause, skip—right from the widget (Premium required)
  • Automatic updates — Artwork refreshes as tracks change

The Technical Bits

Built with SwiftUI and WidgetKit. The trickiest part was getting the widget to update reliably—widgets don’t have continuous network access, so the main app caches the current track data to a shared App Group container. The widget reads from there instead of hitting Spotify’s API directly.

OAuth was the usual dance. If you’ve ever implemented Spotify auth, you know.

Get It

Jewel Case is available on the Mac App Store — free to download.

#Apple #development #MacOS #NerdyStuff #Swift #SwuiftUI #WidgetKit

I’ve been exploring WidgetKit in iOS 26 by building a Step Counter widget and documenting what I learned.

This isn’t an App Store release. It’s an intentional build used to understand system surfaces, constraints, and tradeoffs.

https://iamshift.substack.com/step-counter-widgetkit-ios-26

#iamshift
#iOS #WidgetKit #Swift #SwiftUI #Engineering

Step Counter WidgetKit Exploration in iOS 26

Explore building a Step Counter widget in iOS 26 using WidgetKit timelines, system surfaces, and resilient data sourcing under real constraints.

shift ∴ Moin

New post in my iOS 26 micro-app series, Step Counter Widget.

Built with WidgetKit + SwiftUI, it tracks daily steps with a progress ring, optional HealthKit integration, and MV + services architecture. I also cover how Live Activity could extend this project, even though it’s not part of the MVP implementation.

👉 Read here: https://medium.com/shift-bydesign/step-counter-widget-interactive-system-surfaces-in-ios-26-0d2d0664b108
#iOSDev #Swift #SwiftUI #WidgetKit #HealthKit

Step Counter Widget: Interactive System Surfaces in iOS 26

Widgets have grown into one of the most visible surfaces in iOS. They’re not just glanceable — they’re interactive, they refresh in the…

Medium

Our apps can trigger widgets to update by asking WidgetCenter to reload timelines.

#visionOS #SwiftUI #WidgetKit #AppleVisionPro

https://stepinto.vision/example-code/widgets-reloading-a-widget-from-an-app-scene/

FlutterアプリによるGlanceとWidgetKitで実現する両OS対応ウィジェット機能実装
https://developers.cyberagent.co.jp/blog/archives/58077/

#developers #エンジニア #Fanbase #FanTech #Flutter #Glance #WidgetKit

FlutterアプリによるGlanceとWidgetKitで実現する両OS対応ウィジェット機能実装 | CyberAgent Developers Blog

はじめに こんにちは、FANTECH本部 Fanbase事業部でモバイルアプリエンジニアをしている成 ...

CyberAgent Developers Blog

Level of detail for widgets in #WidgetKit + #SwiftUI environment value. Can be default or simplified.

Documentation: https://developer.apple.com/documentation/widgetkit/levelofdetail

These iPad Lockscreen #WidgetKit widgets for PDX Transit have been fun to build too! :) There are two: one with shortcuts to the app and another showing your top 4 bookmarks.

Wallpaper from @BasicAppleGuy which is also the default wallpaper included in the original iPad with Retina display.

#publictransit #pdxtransit #portland

I might have overdone it with #WidgetKit but as a friend once told me… “just give me everything and let me fuck it up.” (Something along those lines) 😅 Lock Screen widgets, regular widgets, Control Center buttons… they all there for you to fuck it up I guess. Oh and tons of stuff in the Shortcuts app!