You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to change a specific VALValet's accessibility level?
For instance, let's say a VALValet had .always accessibility and now I want to make it .afterFirstUnlock.
The Apple docs say that it's possible, and there's even some sample code on StackOverflow, but is there a way to do this with Valet without having to migrate to a new VALValet with different accessibility?
Thanks.
The text was updated successfully, but these errors were encountered:
You can't change the accessibility level on an existing Valet. However, you can create a new Valet, and use -migrateObjectsFromValet:removeOnCompletion: to migrate the items over when both are accessible.
Creating a new Valet is cheap, and the migration call is explicit and allows you to detect errors. We wouldn't want to create an API that implicitly migrated via changing the accessibility level. Closing this out.
Is it possible to change a specific VALValet's accessibility level?
For instance, let's say a VALValet had
.always
accessibility and now I want to make it.afterFirstUnlock
.The Apple docs say that it's possible, and there's even some sample code on StackOverflow, but is there a way to do this with Valet without having to migrate to a new VALValet with different accessibility?
Thanks.
The text was updated successfully, but these errors were encountered: