From c05a3c3a99920fad4a02744baf24c8e5bdc57c47 Mon Sep 17 00:00:00 2001 From: Tony Tam Date: Tue, 30 Sep 2014 05:10:24 -0700 Subject: [PATCH] updated client --- .../client/petstore/objc/client/SWGOrders.h | 15 +++++++++++ .../client/petstore/objc/client/SWGOrders.m | 27 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 samples/client/petstore/objc/client/SWGOrders.h create mode 100644 samples/client/petstore/objc/client/SWGOrders.m diff --git a/samples/client/petstore/objc/client/SWGOrders.h b/samples/client/petstore/objc/client/SWGOrders.h new file mode 100644 index 00000000000..2acdc54b3be --- /dev/null +++ b/samples/client/petstore/objc/client/SWGOrders.h @@ -0,0 +1,15 @@ +#import +#import "SWGObject.h" +#import "NSDictionary.h" +#import "SWGOrders.h" +#import "NSMutableDictionary.h" + + +@interface SWGOrders : NSMutableDictionary + +- (id) + +- (id) initWithValues: (NSDictionary*)dict; +- (NSDictionary*) asDictionary; + +@end diff --git a/samples/client/petstore/objc/client/SWGOrders.m b/samples/client/petstore/objc/client/SWGOrders.m new file mode 100644 index 00000000000..8c919d1913d --- /dev/null +++ b/samples/client/petstore/objc/client/SWGOrders.m @@ -0,0 +1,27 @@ +#import "SWGDate.h" +#import "SWGOrders.h" + +@implementation SWGOrders + +-(id) + + return self; +} + +-(id) initWithValues:(NSDictionary*)dict +{ + self = [super init]; + if(self) { + + } + return self; +} + +-(NSDictionary*) asDictionary { + NSMutableDictionary* dict = [[NSMutableDictionary alloc] init]; + + NSDictionary* output = [dict copy]; + return output; +} + +@end