issue-2-background-networking
issue-2-background-networking copied to clipboard
Not compatible with Xcode 4.2
I do a lot of work on my Snow Leopard system and therefore must use Xcode 4.2.
There are two errors that I don't understand in DownloadOperation.m, one on line 88 and one on line 96.
Line 88: _isExecuting = isExecuting; Use of undeclared identifier "_isExecuting"; did you mean "isExecuting"?
Line 96: _isFinshed = isFinshed; Use of undeclared identifier "_isFinshed"; did you mean "isFinshed"?
I'd expect that I'd have to add @synthesizes for all private properties, but how can this be done for those two so as to not generate this error?
Think I got it: @synthesize isExecuting = _isExecuting;
In DownloadOperation.h and DownloadOperation.m, why is an NSError declared as a property twice? If you want to have public and private properties named error, shouldn't you name them differently to point out which is which?
What is the right way to @synthesize the block property?
@property (nonatomic, copy) void (^progressCallback) (float);
That looks about right. I don't have access to 10.7 to test it, though. llvm / clang switch to auto-synthesise at point, IIRC it was part of llvm 3.2.