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:
parent
14476c98a1
commit
d75dc24e33
2 changed files with 4 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue