@@ -48,8 +48,6 @@ -(NSString *) startComment
4848 NSString *authorInfo = @" " ;
4949
5050 if ([[VVDocumenterSetting defaultSetting ] useAuthorInformation ] && !self.forSwift ) {
51- authorInfo = [NSString stringWithFormat: @" %@ @Author" ,
52- self .prefixString];
5351 NSMutableString *authorCotent = @" " .mutableCopy ;
5452
5553 if ([[VVDocumenterSetting defaultSetting ] authorInformation ].length > 0 ) {
@@ -69,13 +67,14 @@ -(NSString *) startComment
6967 }
7068 [authorCotent appendString: [formatter stringFromDate: [NSDate date ]]];
7169 }
72- authorInfo = [NSString stringWithFormat: @" %@ \n " , authorInfo];
70+
71+ authorInfo = [NSString stringWithFormat: @" %@ @Author %@ \n %@ \n " , self .prefixString, authorCotent, self .prefixString];
7372 }
7473
7574 if ([[VVDocumenterSetting defaultSetting ] useHeaderDoc ]) {
76- return [NSString stringWithFormat: @" %@ /*!\n %@%@ <#Description#>\n " , self .indent, self .prefixString, descriptionTag];
75+ return [NSString stringWithFormat: @" %@ /*!\n %@%@%@ <#Description#>\n " , self .indent, authorInfo , self .prefixString, descriptionTag];
7776 } else if ([[VVDocumenterSetting defaultSetting ] prefixWithSlashes ]) {
78- return [NSString stringWithFormat: @" %@%@ <#Description#>\n " , self .prefixString, descriptionTag];
77+ return [NSString stringWithFormat: @" %@%@%@ <#Description#>\n " , self .prefixString, authorInfo , descriptionTag];
7978 } else {
8079 return [NSString stringWithFormat: @" %@ /**\n %@%@%@ <#Description#>\n " , self .indent, authorInfo, self .prefixString, descriptionTag];
8180 }
0 commit comments