0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

refactor(console): update iOS tutorial (#1452)

This commit is contained in:
Gao Sun 2022-07-07 17:48:02 +08:00 committed by GitHub
parent 14476c98a1
commit d75dc24e33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -50,10 +50,11 @@ CocoaPods [does not support local dependency](https://github.com/CocoaPods/Cocoa
<pre>
<code className="language-swift">
{`import Logto
import LogtoClient
let config = try? LogtoConfig(
endpoint: "${props.endpoint}",
appId: "${props.appId}",
appId: "${props.appId}"
)
let logtoClient = LogtoClient(useConfig: config)`}
</code>

View file

@ -49,10 +49,11 @@ CocoaPods [不支持本地依赖](https://github.com/CocoaPods/CocoaPods/issues/
<pre>
<code className="language-swift">
{`import Logto
import LogtoClient
let config = try? LogtoConfig(
endpoint: "${props.endpoint}",
appId: "${props.appId}",
appId: "${props.appId}"
)
let logtoClient = LogtoClient(useConfig: config)`}
</code>