iOS Dev Weekly – Issue 370 – Sep 21st 2018

Comment

I was watching Max Howell ^(https://cur.at/knYhWoq?m=rss) talk about creating brew ^(https://cur.at/TLJstQM?m=rss) yesterday at FrenchKit ^(https://cur.at/EaRXwcc?m=rss). As part of his presentation, he made a great point about how important it was for open source projects to have great readme files ^(https://cur.at/9eLoFQ2?m=rss) and I couldn’t agree with him more.

As part of putting this newsletter together each week, I read a lot of readme files. As you might imagine, I have opinions on the subject. 😂 Creating a really great readme is hard and it takes more time and care than you might imagine.

Does it start out by saying what the project actually does? You’d be surprised how many don’t! Does it say how it will benefit the potential user? Does it spend more time talking about how to install it ^(https://cur.at/KIXGPYy?m=rss) than it does saying how it will help you? If the library contains something visible, does it include a screenshot or two? If animation is important, are those screenshots presented as animated gifs? All of these things, and more are important.

As part of the discussion that happened on Twitter, Tim Searle ^(https://cur.at/SXDWEOI?m=rss) bravely volunteered the readme from his Euclid library ^(https://cur.at/Vrot74Z?m=rss) for a public critique. Hopefully it was an interesting thread if you want to give it a read ^(https://cur.at/qxwU5NE?m=rss).

If you maintain, or help to maintain an open source project, when was the last time you took a look at the readme file from the position of someone completely new to it? Could it be improved? Marketing isn’t just for apps and services, it applies to open source libraries too! 👌

Dave Verwer

News

Swift 4.2 Released! ^(https://cur.at/ozPQ2RS?m=rss)

I’m sure you’re all familiar with Swift 4.2 by now, but I wanted to highlight the official post as it is wonderful to see Apple acknowledge the community in it. In this instance, with a link to Ole Begemann ^(https://cur.at/zx2qT6b?m=rss)‘s new 4.2 features playground ^(https://cur.at/HMGK3zF?m=rss). This is really great to see!

Oh and if you’re wondering how Swift 5.0 is shaping up so far, Paul Hudson ^(https://cur.at/QzuiykZ?m=rss) has the jump on that with a post ^(https://cur.at/8FhsnjB?m=rss) and accompanying playground ^(https://cur.at/mKlDRnO?m=rss).

swift.org ^(https://cur.at/ozPQ2RS?m=rss)

x-callback-url ^(https://cur.at/QxGNNuu?m=rss)

That Apple kept Shortcuts (née Workflow 😀) largely intact for the iOS 12 release is incredible. That it led to them finally acknowledging, and even officially documenting ^(https://cur.at/li8NPIb?m=rss) x-callback-url is even more astounding. What a time to be alive! 🎉

twitter.com ^(https://cur.at/QxGNNuu?m=rss)

Sponsored Link

Square Reader SDK: Your App, Our Hardware ^(https://cur.at/oqni20B?m=rss)

With our quickstart, you can take a transaction within minutes. Learn how to connect Square hardware to your app for payments.

squareup.com ^(https://cur.at/oqni20B?m=rss)

Tools

Exporting NSData from the Xcode 10 debugger ^(https://cur.at/Wckliew?m=rss)

Had you noticed this new feature of the Xcode 10 debugger? Thanks to Thomas Zoechling ^(https://cur.at/cPp00cg?m=rss) for pointing it out!

twitter.com ^(https://cur.at/Wckliew?m=rss)

Code

Capturing Self with Swift 4.2 ^(https://cur.at/tg0kVWT?m=rss)

I agree with Ben Scheirman ^(https://cur.at/3GPiSfn?m=rss), if you’re new to the language that this language feature could feel weird. However, I think it’s easily explainable and worth the potential confusion for the improvement to the language. I like it.

benscheirman.com ^(https://cur.at/tg0kVWT?m=rss)

The NSHipster guide to iOS 12 ^(https://cur.at/I9a4m3H?m=rss)

iOS 12 had some big developer features like ARKit and Create ML, but that’s not what this week’s NSHipster post is about. It’s about the small things that you might otherwise have missed. Did you know you could detect a “flat” device orientation, or read an NFC tag when your app is backgrounded?

nshipster.com ^(https://cur.at/I9a4m3H?m=rss)

NSFWDetector: A NSFW detector with CoreML ^(https://cur.at/B8E5Bth?m=rss)

As you might imagine, this was nearly the “And Finally…” link fo this week, but I can actually see this being potentially useful in all sorts of projects. As someone who once built an iOS game which allowed user uploaded photos, I wish this had existed several years ago. 😯

github.com ^(https://cur.at/B8E5Bth?m=rss)

Inside AudioKit Synth One: A Brief Tour for Developers ^(https://cur.at/8Ow7xZR?m=rss)

I often link to open source apps in the hope that they’ll teach someone something about app development. One disadvantage of linking to a GitHub repository though is that there’s usually not much of a guide about how to get into the code if you’re new to it. Not so with AudioKit Synth ^(https://cur.at/RuP0jKB?m=rss) because this post will give you a great start at getting into this comprehensive open source audio app ^(https://cur.at/iCE9vFY?m=rss).

audiokitpro.com ^(https://cur.at/8Ow7xZR?m=rss)

Design

Designing and Developing for Siri Shortcuts ^(https://cur.at/1ZXA6Wc?m=rss)

I agree with every word of this fantastic article from Max Rudberg ^(https://cur.at/MCV9htw?m=rss) on why you should integrate with Siri shortcuts to allow much deeper integration of your app with the operating system.

maxrudberg.com ^(https://cur.at/1ZXA6Wc?m=rss)

5 Steps to a Better Onboarding Experience ^(https://cur.at/F2vOA1r?m=rss)

Peter Livesey ^(https://cur.at/wi2x0ms?m=rss) with a great article looking at the on boarding experience of one of his own apps. He takes inspiration from the wonderful User Onboarding ^(https://cur.at/t6TVSQa?m=rss) site and does a run through of the old version, followed by an explanation on how he fixed some of the problems.

medium.com ^(https://cur.at/F2vOA1r?m=rss)

macOS Development

Porting iOS Apps to the Mac with “Marzipan” ^(https://cur.at/z1PaRIE?m=rss)

More links in the macOS category? 🤯 There might be even more next year when Marzipan gets an official release. Until then, here’s Peter Steinberger ^(https://cur.at/Ezggopt?m=rss) with a practical look at getting an app up and running using unofficial techniques.

It’s worth mentioning that Marzipan is not officially available to developers in Mojave, and that today’s version will very likely have fundamental changes by the time Apple really let us see it next year. That doesn’t mean this article isn’t worth reading though! 🤓

pspdfkit.com ^(https://cur.at/z1PaRIE?m=rss)

And finally…

An Oral History of Apple’s Infinite Loop ^(https://cur.at/q9tTsWJ?m=rss)

“Scott, you don’t understand. You know how we pay by swiping your badge and then it’s deducted from your salary? I only get paid a dollar year! Every time I swipe we get a free meal!”

Great stories.

wired.com ^(https://cur.at/q9tTsWJ?m=rss)


This RSS feed is published on
https://appmarsh.com/ ^(https://appmarsh.com/).
You can also subscribe
via email ^(https://appmarsh.com/#cta-newsletter)
or
Safari push notifications ^(https://appmarsh.com/#cta-push).