Moved more ivars to class extensions

This commit is contained in:
Pierre-Olivier Latour 2014-03-20 08:52:32 -07:00
parent 79e041eae5
commit 6c1439405d
4 changed files with 15 additions and 9 deletions

View File

@ -54,10 +54,7 @@
@property(nonatomic, readonly) NSString* filePath; // Only valid after open / write / close sequence
@end
@interface GCDWebServerURLEncodedFormRequest : GCDWebServerDataRequest {
@private
NSDictionary* _arguments;
}
@interface GCDWebServerURLEncodedFormRequest : GCDWebServerDataRequest
@property(nonatomic, readonly) NSDictionary* arguments; // Only valid after open / write / close sequence
+ (NSString*)mimeType;
@end

View File

@ -63,6 +63,12 @@ enum {
}
@end
@interface GCDWebServerURLEncodedFormRequest () {
@private
NSDictionary* _arguments;
}
@end
@interface GCDWebServerMultiPart () {
@private
NSString* _contentType;

View File

@ -29,10 +29,6 @@
#import "GCDWebServer.h"
@interface AppDelegate : UIResponder <UIApplicationDelegate> {
@private
UIWindow* _window;
GCDWebServer* _webServer;
}
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property(retain, nonatomic) UIWindow* window;
@end

View File

@ -27,6 +27,13 @@
#import "AppDelegate.h"
@interface AppDelegate () {
@private
UIWindow* _window;
GCDWebServer* _webServer;
}
@end
@implementation AppDelegate
@synthesize window=_window;