Swift 5.4 Released!
Swift 5.4 is now officially released! This release contains a variety of language and tooling improvements.
Swift 5.4 is now officially released! This release contains a variety of language and tooling improvements.
How many protocols does SwiftUI define? How many do we know about and actually use? Let's answer these questions, and more!
Leaning tips and tricks about the tool will help you down the road. Today, I will show you 4 Xcode shortcuts that I find helpful when dealing with SwiftUI.
Learn how to get user's permission to track them or to access their device's IDFA by using the AppTrackingTransparency framework in iOS 14.5.
Property wrapper for turning decoding failures into optionals instead of errors. - idrougge/OptionallyDecodable
Like a SwiftUI ViewBuilder, but for Text. Contribute to davdroman/TextBuilder development by creating an account on GitHub.
Sourcery Pro is a Mac App that extends Xcode with the ability to create your own live templates that understand your code structure.
You can create any template you want but the app also comes bundled with many popular templates to get you started.
Default templates include:
Mocks from any protocol Codable conformance for enums with associated values SwiftUI from data structure Lenses / Prisms Automatic interfaces from types Type erasure And many more… More info Xcode integration Editor Writing templates Xcode integration The app provides an Xcode Source extensions that let’s you run templates you have against the code of your projects, see it in action:
How to render localized strings that contain mixed styling using either UIKit or SwiftUI.
This article shows you how to manage each and every photo authorization status, including the limited access status introduced in iOS 14.
A clean way to add polymorphic Codable support to Swift, avoiding the typical repeated custom decode/encode logic that slows us all down.
Getting to grips with SwiftUI requires thinking a little different. Here's an example where I wanted the equivalent of an adaptive UIKit stack view with an equal distribution to give views equal width.
A barebones Swift HTTP client with automatic JSON response parsing. - joemasilotti/HTTP-Client
Apple introduced App Bound Domains in iOS 14 to make it easier to restrict in-app web content to a limited number of domains.
In the previous post, I shared how you can create custom property wrappers that will work with SwiftUI’s view updating mechanism. I wrote that because I’ve got one other neat property wrapper to share, but understanding how it works requires knowing how to make custom wrappers. Now that I’ve got that out of the way…
As I’ve been working with SwiftUI, I’ve come up with some custom property wrappers that I want to share with you. Most of these are property wrappers that can be easily accomplished using other approaches, but I like these for their expressivity.
SwiftUI doesn't have a built-in way to preview for a device in landscape orientation at the moment, but we can simulate that with a few modifiers.
Let's explore how SwiftUI knows what and when to observe view-specific publishers at any given time!
Apparently, even if SwiftUI 2.0 has powerful enough for production code, but sometimes they are still lacking documentation for a simple component like PagingView. As your information, there is now a…
I’m thrilled to announce Swift Collections, a new open-source package focused on extending the set of available Swift data structures. Like the Swift Algorithms and Swift Numerics packages before it, we’re releasing Swift Collections to help incubate new functionality for the Swift Standard Library.
A few months ago, I shared my notes and resources for learning about compilers and LLVM. It turned out to be pretty popular and folks seemed to find it useful. So I decided to do it again, but thi
A Swift package to perform fuzzy search queries on strings - truizlop/FuzzyFind
I believe many developers have faced the task of breaking a project into modules. This article does not contain any information on how to solve cyclic dependencies or allocate functionality to…
Note: This was posted before WWDC 2021, so if major changes were made to Core Data + CloudKit, they aren’t reflected here. This right here is just pure dumpster fire all the way down. Also if…