Skip to content

Commit 10f23a2

Browse files
committed
format fix
1 parent d06823b commit 10f23a2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

CodeApp/Utilities/KeychainWrapper/KeychainItemAccessibility.swift

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,57 +34,57 @@ protocol KeychainAttrRepresentable {
3434
public enum KeychainItemAccessibility {
3535
/**
3636
The data in the keychain item cannot be accessed after a restart until the device has been unlocked once by the user.
37-
37+
3838
After the first unlock, the data remains accessible until the next restart. This is recommended for items that need to be accessed by background applications. Items with this attribute migrate to a new device when using encrypted backups.
3939
*/
4040
@available(iOS 4, *)
4141
case afterFirstUnlock
4242

4343
/**
4444
The data in the keychain item cannot be accessed after a restart until the device has been unlocked once by the user.
45-
45+
4646
After the first unlock, the data remains accessible until the next restart. This is recommended for items that need to be accessed by background applications. Items with this attribute do not migrate to a new device. Thus, after restoring from a backup of a different device, these items will not be present.
4747
*/
4848
@available(iOS 4, *)
4949
case afterFirstUnlockThisDeviceOnly
5050

5151
/**
5252
The data in the keychain item can always be accessed regardless of whether the device is locked.
53-
53+
5454
This is not recommended for application use. Items with this attribute migrate to a new device when using encrypted backups.
5555
*/
5656
@available(iOS 4, *)
5757
case always
5858

5959
/**
6060
The data in the keychain can only be accessed when the device is unlocked. Only available if a passcode is set on the device.
61-
61+
6262
This is recommended for items that only need to be accessible while the application is in the foreground. Items with this attribute never migrate to a new device. After a backup is restored to a new device, these items are missing. No items can be stored in this class on devices without a passcode. Disabling the device passcode causes all items in this class to be deleted.
6363
*/
6464
@available(iOS 8, *)
6565
case whenPasscodeSetThisDeviceOnly
6666

6767
/**
6868
The data in the keychain item can always be accessed regardless of whether the device is locked.
69-
69+
7070
This is not recommended for application use. Items with this attribute do not migrate to a new device. Thus, after restoring from a backup of a different device, these items will not be present.
7171
*/
7272
@available(iOS 4, *)
7373
case alwaysThisDeviceOnly
7474

7575
/**
7676
The data in the keychain item can be accessed only while the device is unlocked by the user.
77-
77+
7878
This is recommended for items that need to be accessible only while the application is in the foreground. Items with this attribute migrate to a new device when using encrypted backups.
79-
79+
8080
This is the default value for keychain items added without explicitly setting an accessibility constant.
8181
*/
8282
@available(iOS 4, *)
8383
case whenUnlocked
8484

8585
/**
8686
The data in the keychain item can be accessed only while the device is unlocked by the user.
87-
87+
8888
This is recommended for items that need to be accessible only while the application is in the foreground. Items with this attribute do not migrate to a new device. Thus, after restoring from a backup of a different device, these items will not be present.
8989
*/
9090
@available(iOS 4, *)

0 commit comments

Comments
 (0)