Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

'unarchiveTopLevelObjectWithData' was deprecated #204

Open
Kondamon opened this issue Feb 5, 2024 · 0 comments
Open

'unarchiveTopLevelObjectWithData' was deprecated #204

Kondamon opened this issue Feb 5, 2024 · 0 comments

Comments

@Kondamon
Copy link

Kondamon commented Feb 5, 2024

Hello and thanks for the great framework!

Im getting this warning when building projects with Carlos:

'unarchiveTopLevelObjectWithData' was deprecated in iOS 12.0: Use unarchivedObject(ofClass:from:) instead.

if let unencodedObject = try? NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(cachedValue) as? T {

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant