Sākums Izpētīt Palīdzība
Pierakstīties
xieguangming
/
HaiwaiAdv2
1
0
Atdalīts 0
Faili Problēmas 0 Izmaiņu pieprasījumi 0 Vikivietne
Koks: c59544dd4d
Atzari Tagi
master
HaiwaiAdv2
/
NatureSDK
/
Pods
/
PromisesObjC
/
README.md

README.md 3.0 KB
Vēsture Neapstrādāts

Apache
License Travis Gitter Chat

Platforms Languages Package Managers

Promises

Promises is a modern framework that provides a synchronization construct for Objective-C and Swift to facilitate writing asynchronous code.

  • Introduction
    • The problem with async code
    • Promises to the rescue
    • What is a promise?
  • Framework
    • Features
    • Benchmark
  • Getting started
    • Add dependency
    • Import
    • Adopt
  • Basics
    • Creating promises
      • Async
      • Do
      • Pending
      • Resolved
    • Observing fulfillment
      • Then
    • Observing rejection
      • Catch
  • Extensions
    • All
    • Always
    • Any
    • Await
    • Delay
    • Race
    • Recover
    • Reduce
    • Retry
    • Timeout
    • Validate
    • Wrap
  • Advanced topics
    • Default dispatch queue
    • Ownership and retain cycles
    • Testing
    • Objective-C <-> Swift interoperability
    • Dot-syntax in Objective-C
  • Anti-patterns
    • Broken chain
    • Nested promises
© 2025 Gogs Versija: 0.11.97.1209 Lapa: 52ms Sagatave: 2ms
latviešu
latviešu English 简体中文 繁體中文(香港) 繁體中文(臺灣) Deutsch français Nederlands русский 日本語 español português do Brasil polski български italiano suomi Türkçe čeština српски svenska 한국어 galego українська English (United Kingdom) Magyar Slovenčina Indonesian Persian Vietnamese Português
Javascript Licenses Mājas lapa Go1.13.5