This week’s issue features articles about the Swift Package Manager, sharing Swift code and custom to
|
January 14 · Issue #142 · View online |
|
Happy reading! As always, if you’d like to support Swift Weekly please share this issue with friends and colleagues.
|
|
|
It's time to use Swift Package Manager - Artsy Engineering
It’s been three years, and Swift Package Manager (SPM) is at a point where it can be useful for iOS projects. Orta Therox writes about the pros and cons of using SPM.
|
Sharing Swift code — Swift by Sundell
We might not realize it, but most of us share code with other people every single day. However, sharing code in a way that’s clear and effective can be quite difficult — and it’s easy for misunderstandings to happen, and for bugs to start occurring because an API was used “the wrong way”. John Sundell takes a look at what goes into sharing code in a nice way, and some techniques that we can employ to make any code that we share easier to understand.
|
Writing custom tools with Swift · paul-samuels.com
Paul Samuels explains how he writes custom command line tools with Swift.
|
Keychain Services API Tutorial for Passwords in Swift | raywenderlich.com
In this Keychain tutorial for Swift on iOS, you’ll learn how to interact with the C language API to securely store passwords in the iOS Keychain.
|
ISO-8601, YYYY, yyyy, and why your year may be wrong — Erica Sadun
A friendly reminder about using the correct syntax in date formatters by Erica Sadun.
|
Debugging Out of Memory Issues: Catching Layout Feedback Loop with the Runtime Magic
In this article, Ruslan Serebriakov writes about layout feedback loop debugging. He explains what it is exactly and how you can debug it in your production code.
|
Swift Codable Testing · paul-samuels.com
The Codable protocol is an often used feature of the Swift Standard Library. However it is not always clear what you should write unit tests for when you are using it. Paul Samuels gives his advice.
|
QR Code generation with a custom logo and color using Swift - SwiftLee
Create a QR code Core Image in Swift by applying multiple Core Image filters to adjust the color and combine the QR code with your own logo.
|
Dive deep into Swift String
This article goes through the fundamentals of the String type in Swift, from the String Encoding to the Swift String API.
|
Improving accessibility for iOS app – Snowdog Labs – Medium
Majid Jabrayilov wants to show you some practices that make your app accessible for VoiceOver users. VoiceOver provides spoken descriptions and braille output of onscreen elements.
|
Accidentally Synchronous Tests · paul-samuels.com
Asynchronous code is hard and it’s very easy to make subtle mistakes. Paul Samuels looks at a real life influenced example where they accidentally made their unit tests synchronous, therefore reducing the tests effectiveness at catching bugs.
|
|
GitHub - rsrbk/LayoutLoopHunter
Runtime-based setup for tracking autolayout feedback loops - rsrbk/LayoutLoopHunter
|
Did you enjoy this issue?
|
|
|
|
If you don't want these updates anymore, please unsubscribe here
If you were forwarded this newsletter and you like it, you can subscribe here
|
|
|