首頁 探索 說明
登入
xieguangming
/
HaiwaiAdv2
1
0
複刻 0
檔案 問題管理 0 合併請求 0 Wiki
目錄樹: c59544dd4d
分支列表 標籤列表
master
HaiwaiAdv2
/
NatureSDK
/
Pods
/
PromisesObjC
/
README.md

README.md 3.0 KB
文件歷史 原始文件

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 版本: 0.11.97.1209 頁面: 38ms 樣板: 2ms
繁體中文(臺灣)
繁體中文(臺灣) English 简体中文 繁體中文(香港) Deutsch français Nederlands latviešu русский 日本語 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 網站 Go1.13.5