Skip to content

unarchiveObjectWithData: and archivedDataWithRootObject: are deprecated#610

Merged
bolsinga merged 5 commits intopinterest:masterfrom
woshimaliang:ios12
Sep 2, 2021
Merged

unarchiveObjectWithData: and archivedDataWithRootObject: are deprecated#610
bolsinga merged 5 commits intopinterest:masterfrom
woshimaliang:ios12

Conversation

@woshimaliang
Copy link
Copy Markdown
Contributor

migrate code to new apis.

Comment thread Carthage/Checkouts/PINCache/Source/PINDiskCache.h Outdated
Comment thread Carthage/Checkouts/PINCache/Source/PINDiskCache.m Outdated
Comment on lines +22 to +23
PINDiskCacheErrorReadFailure = -1000,
PINDiskCacheErrorWriteFailure = -1001,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you could revert this formatting change, too.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i could but previously they're not right indented?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's fine then. It's just not related to the rest of this change.

@bolsinga bolsinga merged commit 0a3bf07 into pinterest:master Sep 2, 2021
annomusa added a commit to annomusa/PINRemoteImage that referenced this pull request Dec 17, 2021
* master-pinremoteimage:
  Disable asserts in release builds when using Swift Package Manager
  unarchiveObjectWithData: and archivedDataWithRootObject: are deprecated (pinterest#610)
  update comment
  Set cachePolicy accordingly when PINRemoteImageManagerDownloadOptionsIgnoreCache is provided
  Decode WebP images directly into a buffer Core Animation likes (pinterest#600)
  Xcode 12.5 / SPM - Add missing headers to fix build errors with SPM and Xcode 12.5 (pinterest#597)
  Fixed spm  integration on regular Xcode project (pinterest#586)
  Fix PINRemoteImageManager.h Close Comment Formatting (pinterest#594)
  Fix typo in PINRemoteImageManager.html (pinterest#593)
  Carthage is broken on Xcode 12 (pinterest#584)
  Update podspec to match release
  Hopefully fix publish for real this time...

# Conflicts:
#	Package.swift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants