Everyone knows there is a free source code application available for iPad named ComicFlow, but the source code is in the google source code – no download project link there.
I copied the entire source code into my new project, but there are some errors:
#import "HTTPServer.h" //missing error
#import "DAVConnection.h"//missing error
#import "cocoahttpserver/Core/Categories/DDData.m"//missing error
#import "cocoahttpserver/Core/Categories/DDNumber.m"// missing error
#import "cocoahttpserver/Core/Categories/DDRange.m"// missing error
@interface HTTPServer (Internal)
- (void) socket:(GCDAsyncSocket*)sock didAcceptNewSocket:(GCDAsyncSocket*)newSocket;//cannot find interface declarationhttpserver
I can’t find this declaration anywhere on the source code. I know this is a difficult question to answer, but anyone who knows how to deal with this problem, please feel free to answer me. Thanks in advance.
You should install hg (or called mercurial) and type
hg clone https://code.google.com/p/comicflow/. The source repository of ComicFlow has defined that it includes some subrepo such as the cocoahttpserver you mentioned. If you use hg to checkout the source code, they’ll be taken care of automatically.