mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-01-12 22:51:50 +08:00
gateguru -> OTRestFramework in comments
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
//
|
||||
// NSDictionary+OTRestRequestSerialization.h
|
||||
// gateguru
|
||||
// OTRestFramework
|
||||
//
|
||||
// Created by Blake Watters on 7/28/09.
|
||||
// Copyright 2009 Objective 3. All rights reserved.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//
|
||||
// NSDictionary+OTRestRequestSerialization.m
|
||||
// gateguru
|
||||
// OTRestFramework
|
||||
//
|
||||
// Created by Blake Watters on 7/28/09.
|
||||
// Copyright 2009 Objective 3. All rights reserved.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//
|
||||
// OTRestClient.h
|
||||
// gateguru
|
||||
// OTRestFramework
|
||||
//
|
||||
// Created by Blake Watters on 7/28/09.
|
||||
// Copyright 2009 Objective 3. All rights reserved.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//
|
||||
// OTRestClient.m
|
||||
// gateguru
|
||||
// OTRestFramework
|
||||
//
|
||||
// Created by Blake Watters on 7/28/09.
|
||||
// Copyright 2009 Objective 3. All rights reserved.
|
||||
|
||||
@@ -31,19 +31,11 @@
|
||||
|
||||
- (void)loadModelFromResponse:(OTRestResponse*)response {
|
||||
id model = [_mapper buildModelFromString:[response payloadString]];
|
||||
// id model = [_mapper buildModelFromXML:[[response payloadXMLDocument] firstChild]];
|
||||
[_delegate performSelector:self.callback withObject:model];
|
||||
}
|
||||
|
||||
- (void)loadModelsFromResponse:(OTRestResponse*)response {
|
||||
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];
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//
|
||||
// OTRestParams.h
|
||||
// gateguru
|
||||
// OTRestFramework
|
||||
//
|
||||
// Created by Blake Watters on 8/3/09.
|
||||
// Copyright 2009 Objective 3. All rights reserved.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//
|
||||
// OTRestParams.m
|
||||
// gateguru
|
||||
// OTRestFramework
|
||||
//
|
||||
// Created by Blake Watters on 8/3/09.
|
||||
// Copyright 2009 Objective 3. All rights reserved.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//
|
||||
// OTRestParamsAttachment.h
|
||||
// gateguru
|
||||
// OTRestFramework
|
||||
//
|
||||
// Created by Blake Watters on 8/6/09.
|
||||
// Copyright 2009 Objective 3. All rights reserved.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//
|
||||
// OTRestAttachment.m
|
||||
// gateguru
|
||||
// OTRestFramework
|
||||
//
|
||||
// Created by Blake Watters on 8/6/09.
|
||||
// Copyright 2009 Objective 3. All rights reserved.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//
|
||||
// OTRestParamsDataAttachment.h
|
||||
// gateguru
|
||||
// OTRestFramework
|
||||
//
|
||||
// Created by Blake Watters on 8/6/09.
|
||||
// Copyright 2009 Objective 3. All rights reserved.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//
|
||||
// OTRestParamsDataAttachment.m
|
||||
// gateguru
|
||||
// OTRestFramework
|
||||
//
|
||||
// Created by Blake Watters on 8/6/09.
|
||||
// Copyright 2009 Objective 3. All rights reserved.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//
|
||||
// OTRestParamsFileAttachment.h
|
||||
// gateguru
|
||||
// OTRestFramework
|
||||
//
|
||||
// Created by Blake Watters on 8/6/09.
|
||||
// Copyright 2009 Objective 3. All rights reserved.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//
|
||||
// OTRestParamsFileAttachment.m
|
||||
// gateguru
|
||||
// OTRestFramework
|
||||
//
|
||||
// Created by Blake Watters on 8/6/09.
|
||||
// Copyright 2009 Objective 3. All rights reserved.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//
|
||||
// OTRestRequest.h
|
||||
// gateguru
|
||||
// OTRestFramework
|
||||
//
|
||||
// Created by Jeremy Ellison on 7/27/09.
|
||||
// Copyright 2009 Objective3. All rights reserved.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//
|
||||
// OTRestRequest.m
|
||||
// gateguru
|
||||
// OTRestFramework
|
||||
//
|
||||
// Created by Jeremy Ellison on 7/27/09.
|
||||
// Copyright 2009 Objective3. All rights reserved.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//
|
||||
// OTRestRequestSerializable.h
|
||||
// gateguru
|
||||
// OTRestFramework
|
||||
//
|
||||
// Created by Blake Watters on 8/3/09.
|
||||
// Copyright 2009 Objective 3. All rights reserved.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//
|
||||
// OTRestResponse.h
|
||||
// gateguru
|
||||
// OTRestFramework
|
||||
//
|
||||
// Created by Blake Watters on 7/28/09.
|
||||
// Copyright 2009 Objective 3. All rights reserved.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//
|
||||
// OTRestResponse.m
|
||||
// gateguru
|
||||
// OTRestFramework
|
||||
//
|
||||
// Created by Blake Watters on 7/28/09.
|
||||
// Copyright 2009 Objective 3. All rights reserved.
|
||||
|
||||
Reference in New Issue
Block a user