Voloda2 Voloda2 - 2 months ago 12
iOS Question

How can I find a line number in XCode?

I have a function in my *.m file

-(void) myFunction {}


How can I find a line number this function?

Answer

In Xcode 4 and above:

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.

Comments