Fresh Beginning
  • Home
  • Speaking
  • Reading
  • Github
  • Alma Mater
  • Contact
Subscribe
Tagged

Blocks

A collection of 3 posts

async Alternatives and Continuations - Bridging legacy async code with async-await structure (Advanced Swift Topic)
async-await

async Alternatives and Continuations - Bridging legacy async code with async-await structure (Advanced Swift Topic)

If you haven't yet read couple of my posts that introduce a new async-await construct in Swift, below are the links you can follow to know more about itHow to use async/await in Swift using ExamplesUsing async/await APIs in Swift 5.5. Examples of using async await and

  • Jayesh Kawli
Jayesh Kawli Feb 8, 2022 • 7 min read
Objective-C

Objective-C blocks - Example and a Quick reference

This post is inspired by following Tweet when it was mentioned after years of experience, developer still could not remember the blocks syntax. After years of iOS development, I finally caved & made an xcode snip of an Obj-C block as a property. Still can never remember the syntax 🙈 —

  • Jayesh Kawli
Jayesh Kawli Oct 27, 2016 • 1 min read
iOS

Macro for checking nil/NULL blocks

This is an easy and quick tip I came across while going through NSHipster's Reader Submissions - 2016. Sometimes we use the blocks which we may or may not be nil. Well, unlike other mechanism by which you can send message to nil object, you cannot call a nil/NULL

  • Jayesh Kawli
Jayesh Kawli Apr 30, 2016 • 1 min read
Fresh Beginning © 2022
Powered by Ghost