Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: xcode 15 warning #548

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

wenbingzuo
Copy link

Summary

Fix Xcode 15 warning "Forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents."

Requirements (place an x in each of the [ ])

Comment on lines 12 to 13
static var dummyDataSource: UInt8 = 0
static var dummyDelegate: UInt8 = 0

Choose a reason for hiding this comment

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

I think it can works like this.

Suggested change
static var dummyDataSource: UInt8 = 0
static var dummyDelegate: UInt8 = 0
static var dummyDataSource: StaticString = "dummyDataSource"
static var dummyDelegate: StaticString = "dummyDelegate"

@gsbernstein
Copy link

Would love to see this merged

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