OSDN Git Service

クラス名を変更
authormasakih <masakih@users.sourceforge.jp>
Fri, 20 May 2016 15:22:15 +0000 (00:22 +0900)
committermasakih <masakih@users.sourceforge.jp>
Fri, 20 May 2016 15:22:15 +0000 (00:22 +0900)
KCD.xcodeproj/project.pbxproj
KCD/HMAPIResponse.h [moved from KCD/HMAPIResult.h with 91% similarity]
KCD/HMAPIResponse.m [moved from KCD/HMAPIResult.m with 96% similarity]
KCD/HMJSONCommand.h
KCD/HMJSONCommand.m
KCD/HMJSONReciever.m

index 0acf503..153ae4e 100644 (file)
                F4BEEE9F18D211280006F70C /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = F4BEEE9D18D211280006F70C /* Localizable.strings */; };
                F4BEEFDB1B0A219E004702B8 /* HMShipDeckCommand.m in Sources */ = {isa = PBXBuildFile; fileRef = F4BEEFDA1B0A219E004702B8 /* HMShipDeckCommand.m */; };
                F4BEEFE11B0B6326004702B8 /* HMDummyShipCommand.m in Sources */ = {isa = PBXBuildFile; fileRef = F4BEEFE01B0B6326004702B8 /* HMDummyShipCommand.m */; };
-               F4BEEFE91B0CE312004702B8 /* HMAPIResult.m in Sources */ = {isa = PBXBuildFile; fileRef = F4BEEFE81B0CE312004702B8 /* HMAPIResult.m */; };
+               F4BEEFE91B0CE312004702B8 /* HMAPIResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = F4BEEFE81B0CE312004702B8 /* HMAPIResponse.m */; };
                F4BEEFFC1B11A5A7004702B8 /* HMExternalBrowserWindowController.xib in Resources */ = {isa = PBXBuildFile; fileRef = F4BEEFFE1B11A5A7004702B8 /* HMExternalBrowserWindowController.xib */; };
                F4BEEFFF1B11A5C2004702B8 /* HMMediumShipViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = F4BEF0011B11A5C2004702B8 /* HMMediumShipViewController.xib */; };
                F4BEF0021B11A5CC004702B8 /* HMFleetMinimumViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = F4BEF0041B11A5CC004702B8 /* HMFleetMinimumViewController.xib */; };
                F4BEEFDA1B0A219E004702B8 /* HMShipDeckCommand.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HMShipDeckCommand.m; sourceTree = "<group>"; };
                F4BEEFDF1B0B6326004702B8 /* HMDummyShipCommand.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HMDummyShipCommand.h; sourceTree = "<group>"; };
                F4BEEFE01B0B6326004702B8 /* HMDummyShipCommand.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HMDummyShipCommand.m; sourceTree = "<group>"; };
-               F4BEEFE71B0CE312004702B8 /* HMAPIResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HMAPIResult.h; sourceTree = "<group>"; };
-               F4BEEFE81B0CE312004702B8 /* HMAPIResult.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HMAPIResult.m; sourceTree = "<group>"; };
+               F4BEEFE71B0CE312004702B8 /* HMAPIResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HMAPIResponse.h; sourceTree = "<group>"; };
+               F4BEEFE81B0CE312004702B8 /* HMAPIResponse.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HMAPIResponse.m; sourceTree = "<group>"; };
                F4BEEFFD1B11A5A7004702B8 /* ja */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ja; path = ja.lproj/HMExternalBrowserWindowController.xib; sourceTree = "<group>"; };
                F4BEF0001B11A5C2004702B8 /* ja */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ja; path = ja.lproj/HMMediumShipViewController.xib; sourceTree = "<group>"; };
                F4BEF0031B11A5CC004702B8 /* ja */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ja; path = ja.lproj/HMFleetMinimumViewController.xib; sourceTree = "<group>"; };
                                F494DC6C18CC054800AE97E4 /* HMNyukyoDockStatus.m */,
                                F4C3957218CDDFE500A1E918 /* HMKenzoDockStatus.h */,
                                F4C3957318CDDFE500A1E918 /* HMKenzoDockStatus.m */,
-                               F4BEEFE71B0CE312004702B8 /* HMAPIResult.h */,
-                               F4BEEFE81B0CE312004702B8 /* HMAPIResult.m */,
+                               F4BEEFE71B0CE312004702B8 /* HMAPIResponse.h */,
+                               F4BEEFE81B0CE312004702B8 /* HMAPIResponse.m */,
                                F49546241B1355EC00E0D8D0 /* HMBookMarkItem.h */,
                                F49546251B1355EC00E0D8D0 /* HMBookmarkItem.m */,
                                F49546291B14CBA600E0D8D0 /* HMBookmarkManager.h */,
                                F4AA06101931869E00844688 /* HMBattleResultCommand.m in Sources */,
                                F4B37EF019FADFC9002F371A /* HMIgnoreZeroTransformer.m in Sources */,
                                F49688641B3AFE4900D3CEDE /* HMProgressPanel.m in Sources */,
-                               F4BEEFE91B0CE312004702B8 /* HMAPIResult.m in Sources */,
+                               F4BEEFE91B0CE312004702B8 /* HMAPIResponse.m in Sources */,
                                F4B3DC4418E70B370011B4FC /* HMServerDataStore.m in Sources */,
                                F4AA0607192E3B6200844688 /* HMMapStartCommand.m in Sources */,
                                F4AA0604192E20F500844688 /* HMCalculateDamageCommand.m in Sources */,
similarity index 91%
rename from KCD/HMAPIResult.h
rename to KCD/HMAPIResponse.h
index 36b9c3d..a62c8ba 100644 (file)
@@ -1,5 +1,5 @@
 //
-//  HMAPIResult.h
+//  HMAPIResponse.h
 //  KCD
 //
 //  Created by Hori,Masaki on 2015/05/21.
@@ -8,7 +8,7 @@
 
 #import <Foundation/Foundation.h>
 
-@interface HMAPIResult : NSObject
+@interface HMAPIResponse : NSObject
 
 @property (readonly, nonatomic) NSString *api;
 @property (readonly, nonatomic) NSDictionary *parameter;
similarity index 96%
rename from KCD/HMAPIResult.m
rename to KCD/HMAPIResponse.m
index 597d807..dacbbd7 100644 (file)
@@ -1,17 +1,17 @@
 //
-//  HMAPIResult.m
+//  HMAPIResponse.m
 //  KCD
 //
 //  Created by Hori,Masaki on 2015/05/21.
 //  Copyright (c) 2015年 Hori,Masaki. All rights reserved.
 //
 
-#import "HMAPIResult.h"
+#import "HMAPIResponse.h"
 
 #import "HMAppDelegate.h"
 
 
-@interface HMAPIResult ()
+@interface HMAPIResponse ()
 @property (strong, readwrite, nonatomic) NSString *api;
 @property (strong, readwrite, nonatomic) NSDictionary *parameter;
 @property (strong, readwrite, nonatomic) id json;
@@ -24,7 +24,7 @@
 
 @end
 
-@implementation HMAPIResult
+@implementation HMAPIResponse
 
 - (instancetype)initWithRequest:(NSURLRequest *)request data:(NSData *)data
 {
index a7c4b71..5c512c8 100644 (file)
@@ -8,12 +8,12 @@
 
 #import <Foundation/Foundation.h>
 
-#import "HMAPIResult.h"
+#import "HMAPIResponse.h"
 
 
 @interface HMJSONCommand : NSObject
 
-+ (HMJSONCommand *)commandForAPIResult:(HMAPIResult *)apiResult;
++ (HMJSONCommand *)commandForAPIResult:(HMAPIResponse *)apiResult;
 
 @property (copy) NSString *argumentsString;
 @property (strong) NSData *jsonData;
index 71f6782..04ff8de 100644 (file)
@@ -46,7 +46,7 @@ static NSMutableArray *registeredCommands = nil;
        });
 }
 
-+ (HMJSONCommand *)commandForAPIResult:(HMAPIResult *)apiResult
++ (HMJSONCommand *)commandForAPIResult:(HMAPIResponse *)apiResult
 {
        HMJSONCommand *command = nil;
        
index 21f00cb..4e632d5 100644 (file)
@@ -10,7 +10,7 @@
 
 #import "CustomHTTPProtocol.h"
 #import "HMAppDelegate.h"
-#import "HMAPIResult.h"
+#import "HMAPIResponse.h"
 
 
 @interface HMJSONReciever ()
@@ -76,7 +76,7 @@
        NSString *string = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];
        [[NSApp delegate] logLineReturn:@"body -> \n%@", string];
 #else
-       HMAPIResult *apiResult = [[HMAPIResult alloc] initWithRequest:protocol.request data:data];
+       HMAPIResponse *apiResult = [[HMAPIResponse alloc] initWithRequest:protocol.request data:data];
        if(apiResult) {
                [self.queueu enqueue:apiResult];
        }