Subscribe for weekly commentary and coverage of Swift and Apple platform development. Written by Dave Verwer and published every Friday. Free.

Picture of Dave Verwer

Issue 276

11th November 2016

Written by Dave Verwer

Comment

It’s felt like a fairly quiet week in iOS due to you know what… Or, maybe my ability to read and filter Twitter just completely broke down amongst the noise! 🙉 Either way, I hope you still enjoy this slightly shorter than usual issue!

Dave Verwer

Forward Courses: 50% Off All Subscriptions For iOS Dev Weekly Readers

Join Forward Courses today for 50% off and get access to full-day courses on beginning and advanced Swift, PoP, functional programming, React Native, Four Semesters of Computer Science, accessibility, and many more. All of our past conference talks are also available for free on the site.

News

Linking to Your tvOS App Product Pages

We’re one big step closer to app discovery on tvOS being fixed! 🎉 Using iTunes Connect link maker you can now link directly to any tvOS app. This, along with the auto-install of apps that have a tvOS version available means we’re almost there. The only apps left out in the cold now are ones are written only for tvOS, where you still need to go to the store and search.

Tools

Scriptarian

I never, ever have to write AppleScript again? Count me in! AppleScript may not be as important today as it once was but there’s still a huge number of apps that support it, and to be able to control them via Swift is great.


Better Xcode Run Script Build Phases

Useful tips here on making your Run Script build phases easier to understand, easier to debug and easier to view.


PlaygroundTDD

Chris Schools and Gabriel Peart with a small library that adds a PlaygroundTestObserver to easily run your tests directly within a playground. I can’t see this being used to test playground code so much, but it’d make a simple way to start teaching unit testing and TDD.

Code

Emptiness

No, not how we all sometimes feel inside, but what if arrays in Swift couldn’t be empty? After reading it, I think I’m still on the side of allowing empty arrays to exist still being my preference, but it’s an interesting exploration of the alternative by Soroush Khanlou.


Yammer iOS App ported to Swift 3

Following on from last week’s news that Swift 2.x will only be supported in Xcode for a short while longer, let’s look at one last migration story. This time from Francesco Frison describing the migration of the Yammer app from 2.3 to 3. We should all hope that the Swift team never ask us to do a migration as significant as this again.

macOS Development

The Touch Bar on your iPad

Want to develop for the touch bar on-device, but don’t have a shiny new MacBook? Andreas Verhoeven and Robbert Klarenbeek have just the thing for you. I haven’t tested this myself as I still haven’t upgraded to Sierra but it looks good from the demo video.

Design

Stop Making Me Sign Up!

A million times this. This is one of the reasons that CloudKit is so great as there’s no need for a separate user account. However, even if you must have the user sign up, try and think of ways for people to get a sense of your app without instantly being blocked by a login/signup screen. Oh and if you don’t believe it’s hurting your user adoption, I’d encourage some measurement.

Sponsored Jobs

Job Offers Delivered, straight to your inbox

Sick of pushy recruiters, and dead end interviews? Try Hired to talk to companies that are the right fit. 💜


Senior Mobile Engineer, Credit Karma - San Francisco

5 stars in the App Store, but our work has just begun. Come Join Us!


Lead and Grow our Mobile Team in San Francisco @ Prolific Interactive

We deliver 100% Swift, 4+ star apps, always featured, high-impact apps for major consumer brands. Help us conquer the west coast!

And finally...

Developers Read 1-Star Reviews

I’m pretty sure everyone has seen this as it came out a few minutes after last week’s issue, but just in case… 😀