r/iOSProgramming • u/Lobojpm • 9m ago
App Saturday Text Zoom app - Updated with SwiftUI and optimized for iPhone Duo and more

App Saturday..... :)
I recently relaunched "Text Zoom", an app I first shipped in 2011 for composing text with a "Zoom" option for easily reviewing it at large and small scale. It helped me back then as just a way to write text that I could easily see or zoom out for context (and not accidentally send until I was ready).
Now it also has transformed into a way to make signs you can hold up, a teleprompter, read-aloud, change colors/fonts, etc.
It's a full rewrite in SwiftUI for iPhone, iPad and Apple Watch. It was $0.99 but I changed it to free with a one-time Pro unlock. I was able to give original buyers the Pro version automatically with AppTransaction.
I actually find it useful myself for composing texts, emails, etc. and I used it recently when giving a speech. The "Pinch to Zoom" of the text size, which allows you to make it small with lots on the screen or very big and easy to see, is kind of useful (at least for me!).

I also tried top optimize it for iPhone Duo which makes it a "sign" app too.

A few things that might be of interest to this group:
Grandfathering paid users when you go free. AppTransaction.shared gives you originalPurchaseDate. Anyone who first got the app before the switch gets Pro, no receipt parsing needed. Skip the check in DEBUG, because in the simulator it pops up an Apple Account sign-in.
iPhone Duo outer display. registerSceneAccessory(.cameraCapture(sceneConfiguration:)) lets you put your own UI on the outer screen. I use it so the user can read a script while filming with the main cameras. iOS only shows it while you have an active capture session.
An Undo button for UITextView. Setting textView.text wipes the undo stack. Do a Clear through replace(_:withText:) and it becomes undoable, just like shake-to-undo. Also, after undoManager.undo() the restored text is left selected, so the next keystroke replaces all of it. Collapse the selection afterwards.
Fonts from font apps (Fontcase, Adobe Fonts) need the com.apple.developer.user-fonts entitlement, plus a CTFontManagerRequestFonts call, but it's cool to be able to let the user use their own fonts in the app.
Happy to answer questions about any of these.
App Store link: https://apps.apple.com/app/id454380237
Website: https://www.pixelbrush.com/TextZoom/


