HeroTransitions / Hero

Elegant transition library for iOS & tvOS
https://HeroTransitions.github.io/Hero/
MIT License
22.06k stars 1.73k forks source link

unarchiveObject(with:) and archivedData(withRootObject:) deprecated in iOS 12.0 #691

Closed Pe-te closed 3 years ago

Pe-te commented 3 years ago

Getting these warnings in Xcode 12:

/iOS/Pods/Hero/Sources/Extensions/UIKit+Hero.swift:30:30: 'unarchiveObject(with:)' was deprecated in iOS 12.0: Use +unarchivedObjectOfClass:fromData:error: instead /iOS/Pods/Hero/Sources/Extensions/UIKit+Hero.swift:30:68: 'archivedData(withRootObject:)' was deprecated in iOS 12.0: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead

sebastien-tribu commented 3 years ago

Same, any risks of this pod breaking if iOS 15 removes this method?

JoeMatt commented 3 years ago

Created PR #702