Automattic / Gravatar-SDK-iOS

Gravatar SDK is a Swift library that allows you to integrate Gravatar features into your own iOS applications.
https://gravatar.com
Mozilla Public License 2.0
41 stars 5 forks source link

Concurrency: Fix warnings that occur on the associated object keys #246

Closed pinarol closed 6 months ago

pinarol commented 6 months ago

Closes https://github.com/Automattic/Gravatar-SDK-iOS/issues/158

Description

Fixes this warning:

Screenshot 2024-05-06 at 17 35 14

To fix: We basically use raw pointers and make the keys constant.

Testing Steps

The warning should fade when using strict concurrency. Smoke test screens with avatar in the demo app.