gateguru -> OTRestFramework in comments

This commit is contained in:
Blake Watters
2009-09-27 23:14:59 -04:00
parent b26c6020b5
commit 045de795a9
18 changed files with 17 additions and 25 deletions

View File

@@ -1,6 +1,6 @@
// //
// NSDictionary+OTRestRequestSerialization.h // NSDictionary+OTRestRequestSerialization.h
// gateguru // OTRestFramework
// //
// Created by Blake Watters on 7/28/09. // Created by Blake Watters on 7/28/09.
// Copyright 2009 Objective 3. All rights reserved. // Copyright 2009 Objective 3. All rights reserved.

View File

@@ -1,6 +1,6 @@
// //
// NSDictionary+OTRestRequestSerialization.m // NSDictionary+OTRestRequestSerialization.m
// gateguru // OTRestFramework
// //
// Created by Blake Watters on 7/28/09. // Created by Blake Watters on 7/28/09.
// Copyright 2009 Objective 3. All rights reserved. // Copyright 2009 Objective 3. All rights reserved.

View File

@@ -1,6 +1,6 @@
// //
// OTRestClient.h // OTRestClient.h
// gateguru // OTRestFramework
// //
// Created by Blake Watters on 7/28/09. // Created by Blake Watters on 7/28/09.
// Copyright 2009 Objective 3. All rights reserved. // Copyright 2009 Objective 3. All rights reserved.

View File

@@ -1,6 +1,6 @@
// //
// OTRestClient.m // OTRestClient.m
// gateguru // OTRestFramework
// //
// Created by Blake Watters on 7/28/09. // Created by Blake Watters on 7/28/09.
// Copyright 2009 Objective 3. All rights reserved. // Copyright 2009 Objective 3. All rights reserved.

View File

@@ -31,19 +31,11 @@
- (void)loadModelFromResponse:(OTRestResponse*)response { - (void)loadModelFromResponse:(OTRestResponse*)response {
id model = [_mapper buildModelFromString:[response payloadString]]; id model = [_mapper buildModelFromString:[response payloadString]];
// id model = [_mapper buildModelFromXML:[[response payloadXMLDocument] firstChild]];
[_delegate performSelector:self.callback withObject:model]; [_delegate performSelector:self.callback withObject:model];
} }
- (void)loadModelsFromResponse:(OTRestResponse*)response { - (void)loadModelsFromResponse:(OTRestResponse*)response {
NSArray* models = [_mapper buildModelsFromString:[response payloadString]]; NSArray* models = [_mapper buildModelsFromString:[response payloadString]];
// NSMutableArray* models = [[[NSMutableArray alloc] init] autorelease];
// NSArray* elements = [[[response payloadXMLDocument] firstChild] childElements];
// for (Element* element in elements) {
// id model = [_mapper buildModelFromXML:element];
// [models addObject:model];
// }
[_delegate performSelector:self.callback withObject:models]; [_delegate performSelector:self.callback withObject:models];
} }

View File

@@ -1,6 +1,6 @@
// //
// OTRestParams.h // OTRestParams.h
// gateguru // OTRestFramework
// //
// Created by Blake Watters on 8/3/09. // Created by Blake Watters on 8/3/09.
// Copyright 2009 Objective 3. All rights reserved. // Copyright 2009 Objective 3. All rights reserved.

View File

@@ -1,6 +1,6 @@
// //
// OTRestParams.m // OTRestParams.m
// gateguru // OTRestFramework
// //
// Created by Blake Watters on 8/3/09. // Created by Blake Watters on 8/3/09.
// Copyright 2009 Objective 3. All rights reserved. // Copyright 2009 Objective 3. All rights reserved.

View File

@@ -1,6 +1,6 @@
// //
// OTRestParamsAttachment.h // OTRestParamsAttachment.h
// gateguru // OTRestFramework
// //
// Created by Blake Watters on 8/6/09. // Created by Blake Watters on 8/6/09.
// Copyright 2009 Objective 3. All rights reserved. // Copyright 2009 Objective 3. All rights reserved.

View File

@@ -1,6 +1,6 @@
// //
// OTRestAttachment.m // OTRestAttachment.m
// gateguru // OTRestFramework
// //
// Created by Blake Watters on 8/6/09. // Created by Blake Watters on 8/6/09.
// Copyright 2009 Objective 3. All rights reserved. // Copyright 2009 Objective 3. All rights reserved.

View File

@@ -1,6 +1,6 @@
// //
// OTRestParamsDataAttachment.h // OTRestParamsDataAttachment.h
// gateguru // OTRestFramework
// //
// Created by Blake Watters on 8/6/09. // Created by Blake Watters on 8/6/09.
// Copyright 2009 Objective 3. All rights reserved. // Copyright 2009 Objective 3. All rights reserved.

View File

@@ -1,6 +1,6 @@
// //
// OTRestParamsDataAttachment.m // OTRestParamsDataAttachment.m
// gateguru // OTRestFramework
// //
// Created by Blake Watters on 8/6/09. // Created by Blake Watters on 8/6/09.
// Copyright 2009 Objective 3. All rights reserved. // Copyright 2009 Objective 3. All rights reserved.

View File

@@ -1,6 +1,6 @@
// //
// OTRestParamsFileAttachment.h // OTRestParamsFileAttachment.h
// gateguru // OTRestFramework
// //
// Created by Blake Watters on 8/6/09. // Created by Blake Watters on 8/6/09.
// Copyright 2009 Objective 3. All rights reserved. // Copyright 2009 Objective 3. All rights reserved.

View File

@@ -1,6 +1,6 @@
// //
// OTRestParamsFileAttachment.m // OTRestParamsFileAttachment.m
// gateguru // OTRestFramework
// //
// Created by Blake Watters on 8/6/09. // Created by Blake Watters on 8/6/09.
// Copyright 2009 Objective 3. All rights reserved. // Copyright 2009 Objective 3. All rights reserved.

View File

@@ -1,6 +1,6 @@
// //
// OTRestRequest.h // OTRestRequest.h
// gateguru // OTRestFramework
// //
// Created by Jeremy Ellison on 7/27/09. // Created by Jeremy Ellison on 7/27/09.
// Copyright 2009 Objective3. All rights reserved. // Copyright 2009 Objective3. All rights reserved.

View File

@@ -1,6 +1,6 @@
// //
// OTRestRequest.m // OTRestRequest.m
// gateguru // OTRestFramework
// //
// Created by Jeremy Ellison on 7/27/09. // Created by Jeremy Ellison on 7/27/09.
// Copyright 2009 Objective3. All rights reserved. // Copyright 2009 Objective3. All rights reserved.

View File

@@ -1,6 +1,6 @@
// //
// OTRestRequestSerializable.h // OTRestRequestSerializable.h
// gateguru // OTRestFramework
// //
// Created by Blake Watters on 8/3/09. // Created by Blake Watters on 8/3/09.
// Copyright 2009 Objective 3. All rights reserved. // Copyright 2009 Objective 3. All rights reserved.

View File

@@ -1,6 +1,6 @@
// //
// OTRestResponse.h // OTRestResponse.h
// gateguru // OTRestFramework
// //
// Created by Blake Watters on 7/28/09. // Created by Blake Watters on 7/28/09.
// Copyright 2009 Objective 3. All rights reserved. // Copyright 2009 Objective 3. All rights reserved.

View File

@@ -1,6 +1,6 @@
// //
// OTRestResponse.m // OTRestResponse.m
// gateguru // OTRestFramework
// //
// Created by Blake Watters on 7/28/09. // Created by Blake Watters on 7/28/09.
// Copyright 2009 Objective 3. All rights reserved. // Copyright 2009 Objective 3. All rights reserved.