Hello, I don't understand how to use these two methods:
They return BOOL and expect a NSUInteger as argument, but I'm expecting them to RETURN the count of messages in the folder, can you explain the logic between this?
I've tried to do:
where inbox is CTCoreFolder that I got with folderWithPath:
But I receive a EXC_BAD_ACCESS from the method, on line:
*totalCount = [self imapSession]->imap_selection_info->sel_exists;
@gmaletic Thank you very much, it works!!!!
I think it would be better to fix the comments inside CTCoreFolder.h -- it currently says:
-- Returns the number of messages in the folder.
-- @return Return YES on success, NO on error.
It is a little ambiguous.
hah,it is a point parameter.you should pass a &totalCount.
Clean up some method docs, fixes #83