Skip to content

Commit

Permalink
working hyperlink
Browse files Browse the repository at this point in the history
  • Loading branch information
KunJeongPark committed Feb 4, 2025
1 parent d1acd82 commit 9e59c80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v2_MIGRATION_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This guide helps you migrate your code from version 1.x or 2.0.0-beta releases t
> **Note:**
> Most of the examples below show the changes introduced in **2.0.0-beta1** (new `CoreSDKError` wrapper types in **2.0.0-beta2**), which used completion signature of the form `(SomeResult?,CoreSDKError?) -> Void`.
> For **2.0.0 GA**, these methods now use `Result<SomeResult, CoreSDKError>` in their completion blocks.
> Please see the [What's New in 2.0.0 GA] <a name="what's-new-in-200-ga"></a>section below for updated code snippets.
> Please see the [What's New in 2.0.0 GA](#whats-new-in-200-ga) section below for updated code snippets.
## Overview
Version 2.0 of the SDK transitions from delgate-based flows to completion handler-based flows. This change simplifies the integration and provides better compatibility with modern async/await patterns.
Expand Down Expand Up @@ -303,7 +303,7 @@ func processPayment() async {
}
```

### [What's New in 2.0.0 GA](#whats-new-in-200-ga)
### What's New in 2.0.0 GA
- If you were already in 2.0.0-beta versions, the difference in GA is that all completion blocks now return a single Result instead of two optionals. For example:
Using Completion Handlers
```swift
Expand Down

0 comments on commit 9e59c80

Please sign in to comment.