Format for Displaying TODO in the Xcode Jump Bar

I can never remember the exact format to get TODOs to show up in the Xcode jump bar. And for some reason, I can never pick the right search terms to look it up. So here it is for my reference and yours! Note that this works when the comments are outside of the method name. It use to work inside the method, but that has changed.

// TODO: finish the implementation!
-(void)getSome:(DeliciousFood*){
    NSLog(@"method not implemented");
}

That will result in the jump bar displaying whatever is in the comment following TODO: like this:

jump bar that shows

Format for Displaying TODO in the Xcode Jump Bar
Tagged on:         

Leave a Reply