Skip to content
Swift Dev Notes
  • Home
April 8, 2023
Daniel Gallego Foundation

Call instances as a functions

Today we are going to talk about a small addition to the Swift language which introduces the ability to call instances of classes and structs as functions. All we need…

Read More

January 15, 2023
Daniel Gallego Foundation

Property Wrappers

What is a property wrapper? We can think of property wrappers as a way to decorate variables and function parameters. We can use it to run additional code every time…

Read More

January 11, 2023
Daniel Gallego Foundation

KeyPath

We can use key paths to have a reference to a property from an object. For example, in this simple case, we can pass to a method an object and…

Read More

January 8, 2023
Daniel Gallego Foundation

Custom operators

We can create our custom operators and combine them. It is not a common practice but can be useful in some cases. Let's start by creating an operator similar to…

Read More

Search

Recent Posts

  • Actors
  • Task group
  • Bridge Async Await, Delegates, Combine and Completion blocks
  • Async Sequence
  • Async Await Cancellation in Swift

Categories

  • Architecture
  • Combine
  • concurrency
  • Foundation
  • SwiftUI

Daniel Gallego Peralta

daniel.ios.dgp@gmail.com

  • LinkedIn

Proudly powered by WordPress | Theme: WPKites by Spicethemes