This Week's Sponsor:

Kolide

Ensures that if a device isn’t secure it can’t access your apps.  It’s Device Trust for Okta.


Merging Text Captured from iOS 8 Extensions

A few days ago, I asked a question on Twitter and received lots of interesting replies that I wanted to save for reference. I thought that I could simply use iOS 8 extensions to append direct links to each tweet to a single note, but that turned out to be harder than expected.

Two months into iOS 8, there’s now a good selection of apps capable of saving text from any app via the system share sheet – notably, Drafts, Evernote, and Clips. However, all these extensions receive text from the share sheet and create a new note in their respective apps, whereas I wanted to be able to save multiple tweets to a single note with as little interaction as possible.

I tweeted that, ideally, there would be an iOS 8 extension with an “append” mode that, after receiving text, would be capable of appending it to the bottom of an existing note, but neither Clips or Drafts have support for this feature. Phillip Gruneich is right to point out that I could create a multi-step Drafts action to append each tweet to a draft, but that would still require me to save each tweet from the extension and then go through each one of them all over again. I just want to save tweets from the share sheet and be done with it.

Thanks to reader Jonathan, I came across an app called NoteBox that can capture text with a share extension and has a native Merge feature. It wasn’t exactly what I was looking for (an append mode built directly into an extension), but it was close, and I needed ideas anyway, so I decided to check it out.

NoteBox is new to me and it looks like a strange mix of Drafts and Mailbox. The app is clearly inspired by Drafts (down to the icon), but it lacks all of its advanced features and it combines note-taking with some task management aspects taken from Mailbox and Apple’s Mail app (you can swipe notes to complete them or keep them in archive, for instance). There’s sync, one-tap shortcuts for actions, and a built-in web browser for links (which is a great idea).

What I was interested in was the Merge feature, which is available by selecting multiple notes (Edit button, top left) and selecting Merge Notes from the share sheet.

This brings up a dialog that lets you choose a separator (nice touch); after that, you’ll end up with a single note with the merged contents of all the previous ones.

In my case, I saved each relevant tweet from Twitterrific, opened NoteBox, and used the Merge feature. I now have a single note with all the links to responses I received on Twitter, and I didn’t have to go through them twice or come up with a crazy workflow to append them to the bottom of a text file. This would have taken at least 30 minutes before iOS 8 between copy & paste and app switching; it took me two minutes with share sheets in Twitterrific1 and merging in NoteBox.

Now I just need to figure out how to turn these Twitter URLs into embedded tweets programmatically.


  1. I don’t understand why, two months after the release of iOS 8, the official Twitter app for iOS doesn’t implement the system share sheet for action and share extensions. There is no technical hurdle preventing Twitter from adding their own custom buttons to a share sheet or coming up with ways to show both custom and native share sheets. If the decision is political because Twitter doesn’t want to allow users to easily share Twitter content to external services, then it’s a stupid one, likely driven by an absurd idea that “user lock-in” is good for “engagement” and other buzzwords possibly made up by the same person in charge of the strategy statatement (but isn’t a share sheet all about connecting people to their world and other brands after all? Isn’t a share sheet “information sharing”? This is why I’m not a CFO, I guess). If a share sheet is considered dangerous by Twitter, then I guess that Twitter has bigger problems to worry about. Thankfully, third-party Twitter clients are still around to be good iOS citizens. ↩︎

Unlock More with Club MacStories

Founded in 2015, Club MacStories has delivered exclusive content every week for over six years.

In that time, members have enjoyed nearly 400 weekly and monthly newsletters packed with more of your favorite MacStories writing as well as Club-only podcasts, eBooks, discounts on apps, icons, and services. Join today, and you’ll get everything new that we publish every week, plus access to our entire archive of back issues and downloadable perks.

The Club expanded in 2021 with Club MacStories+ and Club Premier. Club MacStories+ members enjoy even more exclusive stories, a vibrant Discord community, a rotating roster of app discounts, and more. And, with Club Premier, you get everything we offer at every Club level plus an extended, ad-free version of our podcast AppStories that is delivered early each week in high-bitrate audio.

Choose the Club plan that’s right for you:

  • Club MacStories: Weekly and monthly newsletters via email and the web that are brimming with app collections, tips, automation workflows, longform writing, a Club-only podcast, periodic giveaways, and more;
  • Club MacStories+: Everything that Club MacStories offers, plus exclusive content like Federico’s Automation Academy and John’s Macintosh Desktop Experience, a powerful web app for searching and exploring over 6 years of content and creating custom RSS feeds of Club content, an active Discord community, and a rotating collection of discounts, and more;
  • Club Premier: Everything in from our other plans and AppStories+, an extended version of our flagship podcast that’s delivered early, ad-free, and in high-bitrate audio.