Appledoc doesn't see method comments if there is code with objc blocks. #296

Closed
exister opened this Issue Dec 29, 2012 · 1 comment

2 participants

@exister

I have the following class structure.

/** Comment
*
* @param param1 param1
* @param param2 param2
*/
- (void)method:(id)param1 param2:(id)param2
{
    [self.client getPath:@"1.x/" delegate:delegate parameters:params success:^(AFHTTPRequestOperation *operation, id responseObject)
    {
#ifdef DDLogInfo
        DDLogInfo(@"log");
#else
        NSLog(@"log");
#endif
    } failure:^(AFHTTPRequestOperation *operation, NSError *error)
    {
#ifdef DDLogError
        DDLogError(@"log");
#else
        NSLog(@"log");
#endif
    }];
}

/** Missed comment
*
*/
- (void)missedMethod
{
}

When I run appledoc --keep-undocumented-members --project-name "project" --project-company "company" --company-id "com.company" --logformat xcode --keep-intermediate-files --no-repeat-first-par --no-warn-invalid-crossref comment for method:param2 is extracted, but missedMethod, as well as all methods below it, are showed as is not documented!.

If I delete method:param2 body, everything is fine.

@tomaz
Owner

Current version has become quite buggy with time.I didn't envision such versatile needs, so am now focusing on making 3.0 more stable and extendable.

This seems to be related to #208, so I'm closing this ticket to prevent duplication. Feel free to comment on #208 to be notified about progress.

@tomaz tomaz closed this Dec 31, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment