瀏覽代碼

Update README.md

kishikawa katsumi 10 年之前
父節點
當前提交
f834ec4caa
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -372,7 +372,7 @@ if error != nil {
 > Shared web credentials is a programming interface that enables native iOS apps to share credentials with their website counterparts. For example, a user may log in to a website in Safari, entering a user name and password, and save those credentials using the iCloud Keychain. Later, the user may run a native app from the same developer, and instead of the app requiring the user to reenter a user name and password, shared web credentials gives it access to the credentials that were entered earlier in Safari. The user can also create new accounts, update passwords, or delete her account from within the app. These changes are then saved and used by Safari.  
 <https://developer.apple.com/library/ios/documentation/Security/Reference/SharedWebCredentialsRef/>
 
-```
+```swift
 let keychain = Keychain(server: "https://www.kishikawakatsumi.com", protocolType: .HTTPS)
 
 let username = "kishikawakatsumi@mac.com"