Skip to content

fix: xcode 15 warning#548

Open
wenbingzuo wants to merge 2 commits intoJuanpe:mainfrom
wenbingzuo:fix-xcode15-warning
Open

fix: xcode 15 warning#548
wenbingzuo wants to merge 2 commits intoJuanpe:mainfrom
wenbingzuo:fix-xcode15-warning

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