How can I find a line number in Xcode?

后端 未结 8 1499
小鲜肉
小鲜肉 2021-02-03 16:53

I have a function in my *.m file

- (void)myFunction {}

How can I find the line number this function?

8条回答
  •  悲&欢浪女
    2021-02-03 17:20

    Shortcut cmd+L. Enter line number.

    or

    cmd+O. $CLASS_NAME:$LINE_NUMBER.

    And your XCode goes to the line and highlights it!

提交回复
热议问题