How can I find a line number in Xcode?
问题 I have a function in my *.m file - (void)myFunction {} How can I find the line number this function? 回答1: You can go to: Xcode > Preferences > Text Editing then tick "Line numbers". Go to your method and you'll see the appropriate line number shown in the left-hand border of the text editor. 回答2: Go to Xcode Preferences > Text Editing > Show: Line numbers to show the line numbers on the editor. 回答3: This can also be done through code when your implementation file grows. I have found this very