OSDN Git Service

艦隊名を表示するようにした
authormasakih <masakih@users.sourceforge.jp>
Tue, 3 Mar 2015 16:36:28 +0000 (01:36 +0900)
committermasakih <masakih@users.sourceforge.jp>
Tue, 3 Mar 2015 16:36:28 +0000 (01:36 +0900)
KCD.xcodeproj/project.pbxproj
KCD/HMFleetViewController.m
KCD/HMFleetViewController.xib

index 1a5da61..5cb6380 100644 (file)
                                F4D6BCA61AA298FD00742FEB /* HMShipDetailViewController.h */,
                                F4D6BCA71AA298FD00742FEB /* HMShipDetailViewController.m */,
                                F4D6BCA81AA298FD00742FEB /* HMShipDetailViewController.xib */,
+                               F4BEE4711AA5E34600979752 /* HMSlotItemFrameView.h */,
+                               F4BEE4721AA5E34600979752 /* HMSlotItemFrameView.m */,
                                F4D6BCAB1AA2A60900742FEB /* HMSokuTransformer.h */,
                                F4D6BCAC1AA2A60900742FEB /* HMSokuTransformer.m */,
                                F4D6BCAE1AA2A97100742FEB /* HMLengTransformer.h */,
                                F4D6BCB51AA2C10700742FEB /* HMHideEquipNumberTransformer.m */,
                                F4D6BCB71AA32BEA00742FEB /* HMFleetViewController.h */,
                                F4D6BCB81AA32BEA00742FEB /* HMFleetViewController.m */,
-                               F4BEE4711AA5E34600979752 /* HMSlotItemFrameView.h */,
-                               F4BEE4721AA5E34600979752 /* HMSlotItemFrameView.m */,
                                F4D6BCB91AA32BEA00742FEB /* HMFleetViewController.xib */,
                        );
                        name = TestAndDebug;
index bf8cbef..b406192 100644 (file)
@@ -90,6 +90,7 @@
        }
        
        self.representedObject = fleet;
+       self.title = fleet.name;
        
        for(NSInteger i = 1; i < 7; i++) {
                NSString *shipID = [self.fleet valueForKey:[NSString stringWithFormat:@"ship_%ld", i - 1]];
index b032dbe..0f0f4b9 100644 (file)
                         <binding destination="-2" name="selectedTag" keyPath="fleetNumber" id="4gQ-71-HFy"/>
                     </connections>
                 </matrix>
+                <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" id="GMS-aA-S7M">
+                    <rect key="frame" x="368" y="271" width="179" height="17"/>
+                    <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                    <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Label" id="pRI-rA-JGD">
+                        <font key="font" metaFont="system"/>
+                        <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+                        <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
+                    </textFieldCell>
+                    <connections>
+                        <binding destination="-2" name="displayPatternValue1" keyPath="title" id="QcF-tz-knF">
+                            <dictionary key="options">
+                                <string key="NSDisplayPattern">【 %{value1}@ 】</string>
+                            </dictionary>
+                        </binding>
+                    </connections>
+                </textField>
                 <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" id="f8W-G4-mOr">
-                    <rect key="frame" x="420" y="271" width="56" height="17"/>
+                    <rect key="frame" x="542" y="271" width="56" height="17"/>
                     <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
                     <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="索敵値:" id="vA3-9F-FLk">
                         <font key="font" size="13" name="AquaKana"/>
                     </textFieldCell>
                 </textField>
                 <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" id="mUy-1k-ALk">
-                    <rect key="frame" x="471" y="271" width="29" height="17"/>
+                    <rect key="frame" x="593" y="271" width="29" height="17"/>
                     <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
                     <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="999" id="HeX-Wd-ikA">
                         <numberFormatter key="formatter" formatterBehavior="default10_4" usesGroupingSeparator="NO" groupingSize="0" minimumIntegerDigits="0" maximumIntegerDigits="42" id="ntt-Mj-4hA"/>
                     </connections>
                 </textField>
                 <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" id="ee5-Xk-4iW">
-                    <rect key="frame" x="510" y="271" width="56" height="17"/>
+                    <rect key="frame" x="632" y="271" width="56" height="17"/>
                     <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
                     <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="制空値:" id="dS3-tO-y1s">
                         <font key="font" size="13" name="AquaKana"/>
                     </textFieldCell>
                 </textField>
                 <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" id="Jhy-EA-ust">
-                    <rect key="frame" x="561" y="271" width="29" height="17"/>
+                    <rect key="frame" x="683" y="271" width="29" height="17"/>
                     <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
                     <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="999" id="ytq-FR-96e">
                         <numberFormatter key="formatter" formatterBehavior="default10_4" usesGroupingSeparator="NO" groupingSize="0" minimumIntegerDigits="0" maximumIntegerDigits="42" id="NZH-vE-NqR"/>