This is the #23 article. I couldn’t update this blog last week because of my vacation. I’ll continue to create a simple blog from now on:) Don’t worry!



Article

View Models at Kickstarter

Brandon from Kickstarter joins us and shows how the company uses view models to write highly testable code. We integrate Apple Pay payments and look at Kickstarter’s open-source codebase.


5 Predictions for WWDC17

Every year a pilgrimage to WWDC happens for thousands of developers. From far and wide they descend on California in the United States for a week full of Apple goodness. There’s bands, tech-talks, meetups, happy hours, awards and even selfies. For those of us who didn’t get lucky in the raffle this year, or who live further abroad, we’ll likely gather at a local company with fellow devs, to watch and react to the announcements live. I know that’s exactly what I’ll be doing at around 5 AM, equipped with breakfast and excitement.


Preserves Superview Layout Margins

Ever wondered what the “Preserve Superview Margins” checkbox does in Interface Builder? When should you use it and why does it not seem to do anything most of the time? Here are my notes along with an extra step you will need to make it work with stack views.


Deriving Equatable and Hashable conformance

Developers have to write large amounts of boilerplate code to support equatability and hashability of complex types. This proposal offers a way for the compiler to automatically derive conformance to Equatable and Hashable to reduce this boilerplate, in a subset of scenarios where generating the correct implementation is known to be possible.


Object-oriented programming and third party dependencies

Third party dependencies are like candies. Too many are detrimental, but some here and there don’t hurt a lot, as long as you keep them under control. And the smaller, the better.


Updates: May 10, 2017

Overriding methods with default parameter values in Swift

I tried a lot with many ways and came up with the solution: marking original method unavailable.


Readable Swift: The Curious Case of Not

Before a thing can be read, it must be seen. And this is a problem with Swift’s1 “not” operator: !. It’s comparatively thin so it doesn’t leave a lot of ink on the page. And unlike a . or ,, it’s also tall, so it isn’t able to use its negative space to stake out territory.


Haptic Feedback makes you vibrate!

The iPhone could vibrate ever since it was launched. And so did almost all the other phones, even from before smartphones were a thing. But Apple took this function further than anyone else, by introducing the Taptic Engine in the Apple Watch, and afterwards in many other products, like the new MacBooks and iPhones. The Taptic Engine provides haptic feedback, more similar to real-life touches than standard vibration.

I didn’t know taptic is from haptic and tap.



Slide

Reduce Build Times and Get Home Faster by Yusei Nishiyama


Test Doubles Are A Scam – Matt Diephouse

In Functional Swift


Krzysztof Zabłocki - Type-safe meta programming in Swift? Lets talk about Sourcery.

Swift has very limited runtime support and no meta-programming features. Lets take a look at recently released Sourcery and how it can be applied in variety of different use-cases to make development more powerful and enjoyable, while at the same time limiting amount of human mistakes.

In craft conf.



Github

mzp/SlackStack

Multi-column/multi-row slack client for macOS


mono0926/LicensePlist

iOS license plists generator. Carthage, CocoaPods and the libraries specified by YAML file are supported.



Random

Functional Swift Conference 2017

On April 15, 2017, a small conference on the topic of Functional Programming in Swift will happen in Brooklyn (similar to the 2014, 2015 and 2016 editions). We will have a day filled with awesome talks and lots of great conversation.


AppIconizer

Generate the full icon set required for Apple App Store and Google Play Store submissions.



Podcast

Japan, Sequences and Collections with Soroush Khanlou

On today’s episode, Jaim, Erica, and Andrew discuss Japan, Sequences and Collections with Soroush Khanlou. Soroush is an iOs developer from New York City. He served as one of the speakers in try! Swift Conference in Japan. Also, he is a blogger and the co-host of a popular software engineering podcast titled Fatal Error. Tune in!


Episode 141 – No Longer Spinning Rust, Best of the MTJC podcast

Rescued from the archives – Greg Heo leads the all West Coast show. We begin with a discussion about NSPredicate. #askMtJC covers tips for finding your first job. We follow up on Swift Playgrounds and APFS. We discuss GraphQL and the rumored in-screen Home button on the iPhone 7. Picks: Ultimate Apple IO death chart, Git standup, Detecting Low Power mode, WWDC app. Stealth Pick: Buckethead



Tokyo by Train!

If you have any questions and feedbacks about a kind of new Swifty week, feel free to ask me :+1: You can catch me on Twitter and Github.

Have a lovely week <3