Menu

1 / 2

One photo frame codebase for iPhone, iPad, Mac and Apple TV, back to iOS 12

DEV Community: ios·Manuel Escrig·5 days ago
#Vuvi4w2T
#devtoios#devto#dev#apple#frame
Reading 0:00
15s threshold

Digital Photo Frame turns an Apple device into a picture frame. It's been on the App Store since March 2017, and it has shipped more than 160 releases. The interesting engineering isn't the slideshow itself. It's keeping it running, alone, for weeks.

One project, four platforms

The app is one Xcode project with an iOS target, a Mac Catalyst build, a tvOS target and a WidgetKit extension. It's UIKit, with MVVM for the main screens, coordinators for navigation, and a service layer for every photo source:

Apple Photos and iCloud shared albums

Google Photos

Self-hosted servers through Immich or WebDAV/NAS

Flickr and Unsplash

On the Mac, a small AppKit plugin bundle covers what Catalyst can't do.

Supporting old iPads has a price

The deployment target is still iOS 12 . A lot of people run the app on an old iPad that can't update anymore, and that's exactly the point of the product. The cost shows up in the dependencies.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.