Difficulty implementing ComicFlow project
Everyone knows there is a free source code application available for iPad named ComicFlow, but the source cod开发者_运维知识库e 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.
I'm the owner of the project. What happened at that time is that one of ComicFlow's subrepositories (CocoaHTTPServer) was relocated from Google Code to GitHub and it prevented things to work correctly. I actually fixed this problem a while back.
I also just did some significant changes to ComicFlow and it depends quite less on external repositories so the checkout process should be quite smoother.
- Install latest Xcode from Apple
- From Xcode > Preferences > Downloads > Components, install "Command Line Tools"
- Install latest Mercurial.
- Type this in Terminal
hg clone https://code.google.com/p/comicflow
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.
精彩评论