objective c - Nested comments in Xcode -


when write method bit complicated prefer add little comment block above as

/*--------------------------------------------------------------+ | when wrote this, god , understood doing | now, god knows +-------------------------------------------------------------*/ - (void) overlydifficultmethodtograsp { ... } 

is way comment out method code hit cmd + /? result in

///*--------------------------------------------------------------+ // | when wrote this, god , understood doing // | now, god knows // +-------------------------------------------------------------*/ //- (void) overlydifficultmethodtograsp { ... } //     

what is

/* /*--------------------------------------------------------------+  | when wrote this, god , understood doing  | now, god knows  +-------------------------------------------------------------*/ - (void) overlydifficultmethodtograsp { ... } */ 

which, can see, doesn't work...

why? think large chunks of // ugly!

this has not xcode, language (and compiler) you're using. can't have nested comment blocks in c or objective-c.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -