closures

  • Using Action Closures with UIKit Controls

    Using Action Closures with UIKit Controls

    Explore how to use action closures with UIKit controls, the new alternative of the old good target-action pattern available since iOS 14.

  • Escaping Closures in Swift

    Escaping Closures in Swift

    Read about escaping closures in Swift and how to avoid memory related problems in a post that explains everything in simple words.

  • Passing Data in iOS: Delegates, Notifications, and Closures

    Today, I’m going to discuss about an important and definitely interesting topic which focuses on a quite often overlooked concept. And, this question is commonly asked by beginners: How do you implement communication internally in apps and exchange messages properly among classes or other entities in Swift projects?