How can I find a line number in Xcode?
Go to Xcode Preferences > Text Editing > Show: Line numbers to show the line numbers on the editor.
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.