Skip to content

ref: Convert Core Data tracker to Swift - #8958

Draft
philprime wants to merge 1 commit into
mainfrom
ref/core-data-tracker-swift
Draft

philprime wants to merge 1 commit into
mainfrom
ref/core-data-tracker-swift

Conversation

@philprime

Copy link
Copy Markdown
Member

Moves SentryCoreDataTracker from Objective-C to Swift while preserving its fetch and save instrumentation. The Objective-C selectors used by Core Data swizzling remain available through the generated Swift interface.

Testing

  • make format
  • make generate-public-api
  • make analyze
  • make build-ios FOR_AGENTS=true
  • make test-macos FOR_AGENTS=true ONLY_TESTING=SentryTests/SentryCoreDataTrackerTests
  • make test-ios FOR_AGENTS=true ONLY_TESTING=SentryTests/SentryCoreDataTrackerTests

#skip-changelog

Move SentryCoreDataTracker to Swift without changing its tracing behavior.
Preserve the Objective-C selectors used by Core Data swizzling.
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.

1 participant