Swift
92.7K views | +0 today

Swift 5.4 Released!

From swift.org

Swift 5.4 is now officially released! This release contains a variety of language and tooling improvements.

No comment yet.

Every SwiftUI protocol explained

From www.fivestars.blog

How many protocols does SwiftUI define? How many do we know about and actually use? Let's answer these questions, and more!
No comment yet.

4 Xcode shortcuts to boost your productivity for SwiftUI

From sarunw.com

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.
No comment yet.

Getting Ready for App Tracking Transparency

From swiftsenpai.com

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.
No comment yet.

idrougge/OptionallyDecodable: Property wrapper for turning decoding failures into optionals instead of errors.

From github.com

Property wrapper for turning decoding failures into optionals instead of errors. - idrougge/OptionallyDecodable
No comment yet.

davdroman/TextBuilder: Like a SwiftUI ViewBuilder, but for Text

From github.com

Like a SwiftUI ViewBuilder, but for Text. Contribute to davdroman/TextBuilder development by creating an account on GitHub.
No comment yet.

Sourcery Pro

From www.merowing.info

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:
No comment yet.

Styling localized strings in Swift

From www.swiftbysundell.com

How to render localized strings that contain mixed styling using either UIKit or SwiftUI.
No comment yet.

How to Manage Photo Library Permission in iOS

From swiftsenpai.com

This article shows you how to manage each and every photo authorization status, including the limited access status introduced in iOS 14.
No comment yet.

LostMoa - Bringing Polymorphism to Codable

From lostmoa.com

A clean way to add polymorphic Codable support to Swift, avoiding the typical repeated custom decode/encode logic that slows us all down.
No comment yet.

SwiftUI Adaptive Stack View With Equal Distribution

From useyourloaf.com

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.
No comment yet.

joemasilotti/HTTP-Client: A barebones Swift HTTP client with automatic JSON response parsing.

From github.com

A barebones Swift HTTP client with automatic JSON response parsing. - joemasilotti/HTTP-Client
No comment yet.

App Bound Domains

From useyourloaf.com

Apple introduced App Bound Domains in iOS 14 to make it easier to restrict in-app web content to a limited number of domains.
No comment yet.

Core Data and SwiftUI

From davedelong.com

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…
No comment yet.

Custom Property Wrappers for SwiftUI

From davedelong.com

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.
No comment yet.

How to preview a device in landscape orientation with SwiftUI Previews

From sarunw.com

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.
No comment yet.

A sneak peek into SwiftUI's graph

From www.fivestars.blog

Let's explore how SwiftUI knows what and when to observe view-specific publishers at any given time!
No comment yet.

Simple Slick SwiftUI Onboarding View | by Michael Abadi S. | Geek Culture | Apr, 2021

From medium.com

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…
No comment yet.

Introducing Swift Collections

From swift.org

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.

No comment yet.

Resources for learning SwiftUI ·

From www.jessesquires.com

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
No comment yet.

truizlop/FuzzyFind: A Swift package to perform fuzzy search queries on strings

From github.com

A Swift package to perform fuzzy search queries on strings - truizlop/FuzzyFind
No comment yet.

The SwiftUI Experiment

From kean.blog

Wrapping up the series on Pulse development
No comment yet.

7 Circles of SPM or how to make a modular application using Swift Package Manager | by Andrey Gluhih | e-Legion | Mar, 2021

From medium.com

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…
No comment yet.

How to Set Up Core Data and CloudKit When You Haven’t the Faintest Clue What You’re Doing

From beckyhansmeyer.com

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…
No comment yet.