Skip to content
Swift Dev Notes
  • Home
January 22, 2023
Daniel Gallego Combine 1

Combine basics: types of Publishers

Just A publisher that emits an output to each subscriber just once and then finishes. Generic only over the output since can not fail. let justPublisher = Just<String>("one value") //Just.init(<#T##output:…

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

January 4, 2023
Daniel Gallego SwiftUI

Modifiers in SwiftUI

Modifiers in SwiftUI allows us to describe a customization for a view. We can use it directly to wrap a view or we can create an extension, which will apply…

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