Pythonista and Editorial have become two of the staples in my day to day workflow. Recently there have been some ripples in Apple's perception of these two apps:
I’ve just resubmitted Editorial 1.1.1. It can no longer download or open .py files from Dropbox – fingers crossed.— Ole Zorn (@olemoritz) June 8, 2014
Just submitted Pythonista 1.5 within Apple's 48h deadline. “Open in” menu integration is gone, I hope this is enough.— Ole Zorn (@olemoritz) June 13, 2014
Apple raised concerns about the ability for both of these apps to use the “Open In” menu function to get files from other sources, like Dropbox. While this functionality has been in both apps for some time, Apple went back and said both apps break the App Store policy. To meet Apple's requests, Ole Zorn (@olemoritz), creator of Pythonista and Editorial, removed the ability to use the “Open In” menu functionality. While this change appear to have satisfied Apple, it broke quite a few work processes for people who used Dropbox as their central repository for scripts and files - including me. Thankfully the beauty of using apps that can run Python is that they have a way of working around Apple's change request. Ole has shared a Python script to use a UI file picker to bring files back into Pythonista (v1.5+) or Editorial (v1.1+) from Dropbox. The script, listed below, was shared by Ole on GitHub: This script can be run either directly in Pythonista or used as an Editorial workflow to pull files from Dropbox back to the local folder of the app. So instead of opening a file in Dropbox and pushing it over to an app, like this: I can run the script, or workflow, and pull the file I want back into the app like this: I think the functionality offered with the Dropbox UI Picker script is a better fit for both apps. When I need to get a file I can pull it back into Pythonista or Editorial without leaving the app I'm working in. This keeps my focus on the script or post I'm working on instead of bouncing around from Dropbox's app back to the one I'm working in. So for now I've future proofed both Pythonista and Editorial from any problems of losing the “Open In” menu functionality. Thanks Ole!