We don’t need to declare ivars in the interface block if they are only accessed via accessors.

This is only true because we’re targeting x86_64 on OS X. The same is true for all iOS architectures, but not i386 on OS X.
Use CFBridgingRelease in a few places: it acts just like [(id)CFMakeCollectable(obj) autorelease] on non-ARC code, but is a bit cleaner.
This commit is contained in:
C.W. Betts committed 2014-06-19 15:32:20 -06:00
1 parent 8577ed8953
commit 7bd4e56cd5
14 files changed
+38 -78

No files matched your search

-10
View File
@@ -10,16 +10,6 @@
#define NTSYNCHRONOUSTASK_H
@interface NTSynchronousTask : NSObject
{
@private
NSTask *mv_task;
NSPipe *mv_outputPipe;
NSPipe *mv_inputPipe;
NSData* mv_output;
BOOL mv_done;
int mv_result;
}
@property (readonly, retain) NSData *output;
@property (readonly) int result;