How to write Swift scripts using the new Command API in Vapor 4
Shell scripts are essentials on the server side. Learn how to build Swift scripts for your backend apps using property wrappers.
Shell scripts are essentials on the server side. Learn how to build Swift scripts for your backend apps using property wrappers.
Clean up state or print out debug information just before leaving the scope by defining the defer statement can improve development a lot.
Clear up any ambiguity and get typed errors too
Swift 4 is almost upon us, and I thought I would explore one of its features that I haven’t had the opportunity to that much: KeyPaths. There’s a lot of interesting nuance in here that I previously didn’t realize existed which I’d love to share.
Using Apple's recommended unified logging system using OSLog can be done in just a few steps. Learn how to use it in combination with the Console app.
Learn how to create your own Combine publisher in Swift
Once you know the boilerplate, it’s not hard to build a custom publisher in Combine.
Combine vs RxSwift: in this article we introduce Combine, the new Apple framework, and spot its main differences with RxSwift.
Welcome to another programming tutorial in the Swift programming language! Today we we are going to talk about a topic that usually everybody knows something more or less, but it’s important for new developers in Swift to really understand what is all about and how it works. It’s quite often for the subject of our discussion not to receive the proper attention, so it’s either misused or not used at all. It’s a topic that the more someone advances in Swift, the more necessary it becomes in order to write better and clearer code. And that topic is about Access […]
Over a weekend recently I built a tiny Mac app (more on that later). What I was trying to achieve required executing AppleScript, like so many things on macOS. It seemed simple enough, but of course new app sandboxing restrictions...
Bypass the mistakes I made and jump straight into the code.
Many of us feel nervous when meeting a group of people for the first time. What are the dynamics of the group, what are the in-jokes, will I find common ground with someone - are just a few questions that can plague you. A lot of your hard work at
How to use Swift 5.1 property wrappers to cut your dependency injection code in half
Memory Management in Swift: Understanding Strong, Weak and Unowned References
In this Menu Bar App tutorial you will learn how to present a menu and a popover that shows quotes from famous people.