menu
techminis

A naukri.com initiative

google-web-stories
Home

>

PC & Laptops News

>

Swift Conc...
source image

Mjtsai

4d

read

194

img
dot

Swift Concurrency in Real Apps

  • Overriding NSObject.init() within a @MainActor-isolated type is difficult-to-impossible.
  • The compiler must honor the API contract of awakeFromNib, which is a special-case issue.
  • Some APIs, like Notifications, won't work well with Swift concurrency and may be deprecated and replaced.
  • TIL: awakeFromNib() can be called more than once when objects are loaded from XIBs.

Read Full Article

like

11 Likes

For uninterrupted reading, download the app