Voloda2 Voloda2 - 1 year ago 115
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 Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download