Disable this!

已回答

Hi, how do i diable this annoying thing!

The "position:" thing, its hella annoying!

0

position: is simply indicating what the parameter name is.

This happens when you declare a function using the underscore in place of a public parameter name as shown below. AppCode is showing you what the function's internal parameter name is. I generally find this feature useful, but if you want to disable it, poke around in the settings for something similar to "Inline parameter hints".

func testFunc(_ firstParam: String?, _ testParam: String?) -> String? {
return nil
}
0

请先登录再写评论。