Преглед на файлове

- 멤버리스트, 닫기버튼 Oulet 수정

TaeHyun преди 8 години
родител
ревизия
8f5556f5f5
променени са 2 файла, в които са добавени 16 реда и са изтрити 10 реда
  1. 12 10
      OneCable/Base.lproj/HomeMember.storyboard
  2. 4 0
      OneCable/Classes/ViewControllers/HomeMemberScreens/HomeMemberViewController.m

+ 12 - 10
OneCable/Base.lproj/HomeMember.storyboard

@@ -50,12 +50,13 @@
                                                 </connections>
                                             </button>
                                             <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="JFO-nI-N8s" userLabel="View - EditMode">
-                                                <rect key="frame" x="320" y="20" width="90" height="50"/>
+                                                <rect key="frame" x="320" y="20" width="100" height="50"/>
                                                 <subviews>
                                                     <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="D4W-8c-ano" customClass="CustomButton">
-                                                        <rect key="frame" x="0.0" y="0.0" width="45" height="50"/>
+                                                        <rect key="frame" x="0.0" y="0.0" width="50" height="50"/>
                                                         <constraints>
-                                                            <constraint firstAttribute="width" constant="45" id="nV9-1S-ahd"/>
+                                                            <constraint firstAttribute="height" constant="50" id="H9n-ce-IOj"/>
+                                                            <constraint firstAttribute="width" constant="50" id="nV9-1S-ahd"/>
                                                         </constraints>
                                                         <fontDescription key="fontDescription" type="system" pointSize="15"/>
                                                         <state key="normal" image="common_head_btn_delete"/>
@@ -65,9 +66,10 @@
                                                         </connections>
                                                     </button>
                                                     <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="uLj-Rv-Fp1" customClass="CustomButton">
-                                                        <rect key="frame" x="45" y="0.0" width="45" height="50"/>
+                                                        <rect key="frame" x="50" y="0.0" width="50" height="50"/>
                                                         <constraints>
-                                                            <constraint firstAttribute="width" constant="45" id="hlG-Lv-IV6"/>
+                                                            <constraint firstAttribute="width" constant="50" id="hlG-Lv-IV6"/>
+                                                            <constraint firstAttribute="height" constant="50" id="k0w-kk-Sjk"/>
                                                         </constraints>
                                                         <fontDescription key="fontDescription" type="system" pointSize="15"/>
                                                         <state key="normal" image="common_head_btn_close"/>
@@ -77,14 +79,14 @@
                                                         </connections>
                                                     </button>
                                                 </subviews>
-                                                <color key="backgroundColor" red="0.96078431369999995" green="0.96078431369999995" blue="0.96078431369999995" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                                                <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
                                                 <constraints>
                                                     <constraint firstAttribute="trailing" secondItem="uLj-Rv-Fp1" secondAttribute="trailing" id="28l-hY-CFU"/>
                                                     <constraint firstAttribute="bottom" secondItem="D4W-8c-ano" secondAttribute="bottom" id="Ak8-ot-zY8"/>
                                                     <constraint firstItem="D4W-8c-ano" firstAttribute="top" secondItem="JFO-nI-N8s" secondAttribute="top" id="IMf-TE-5jU"/>
                                                     <constraint firstItem="D4W-8c-ano" firstAttribute="leading" secondItem="JFO-nI-N8s" secondAttribute="leading" id="J60-Xr-gYg"/>
                                                     <constraint firstAttribute="bottom" secondItem="uLj-Rv-Fp1" secondAttribute="bottom" id="JNY-Ed-6uY"/>
-                                                    <constraint firstAttribute="width" constant="90" id="Q5V-nH-Bi1"/>
+                                                    <constraint firstAttribute="width" constant="100" id="Q5V-nH-Bi1"/>
                                                     <constraint firstItem="uLj-Rv-Fp1" firstAttribute="top" secondItem="JFO-nI-N8s" secondAttribute="top" id="vAr-N5-gJQ"/>
                                                 </constraints>
                                             </view>
@@ -112,7 +114,7 @@
                                                 <state key="normal" backgroundImage="common_head_btn_close"/>
                                                 <state key="highlighted" backgroundImage="common_head_btn_close_press"/>
                                                 <connections>
-                                                    <action selector="btnOptionTouched:" destination="rMi-z4-kw5" eventType="touchUpInside" id="mVa-Pq-K7S"/>
+                                                    <action selector="btnCloseTouched:" destination="rMi-z4-kw5" eventType="touchUpInside" id="Svd-3N-ICP"/>
                                                 </connections>
                                             </button>
                                         </subviews>
@@ -123,7 +125,7 @@
                                             <constraint firstAttribute="bottom" secondItem="lLJ-TV-GFz" secondAttribute="bottom" id="4PC-2c-mbU"/>
                                             <constraint firstItem="BQC-jo-sr2" firstAttribute="top" secondItem="kbC-Vg-3ar" secondAttribute="bottom" id="4PF-CK-Mgb"/>
                                             <constraint firstItem="kbC-Vg-3ar" firstAttribute="top" secondItem="l0a-wm-olW" secondAttribute="top" id="6Sh-8B-5Ct"/>
-                                            <constraint firstAttribute="trailing" secondItem="JFO-nI-N8s" secondAttribute="trailing" constant="-90" id="8Ps-j5-gDq"/>
+                                            <constraint firstAttribute="trailing" secondItem="JFO-nI-N8s" secondAttribute="trailing" constant="-100" id="8Ps-j5-gDq"/>
                                             <constraint firstAttribute="trailing" secondItem="kbC-Vg-3ar" secondAttribute="trailing" id="8uR-d5-hQq"/>
                                             <constraint firstAttribute="height" constant="70" id="Als-Mn-bZC"/>
                                             <constraint firstAttribute="trailing" secondItem="EJS-zY-9Mn" secondAttribute="trailing" id="Ap2-pP-n4L"/>
@@ -619,7 +621,7 @@
                     </view>
                     <connections>
                         <outlet property="addHubContainerView" destination="axh-aL-iCk" id="GeE-Hm-sDa"/>
-                        <outlet property="btnClose" destination="lLJ-TV-GFz" id="jpv-yD-mBJ"/>
+                        <outlet property="btnClose" destination="lLJ-TV-GFz" id="JeH-92-E0l"/>
                         <outlet property="btnOption" destination="EJS-zY-9Mn" id="XJG-2W-QmO"/>
                         <outlet property="collectionView" destination="1BG-fl-tMC" id="fqb-pb-riZ"/>
                         <outlet property="constraintEditModeRight" destination="8Ps-j5-gDq" id="fIl-dq-Oc9"/>

+ 4 - 0
OneCable/Classes/ViewControllers/HomeMemberScreens/HomeMemberViewController.m

@@ -287,6 +287,10 @@
     [self toggleOptionsWithArray:sender btnArray:_moreBtnArray];
 }
 
+- (IBAction)btnCloseTouched:(id)sender {
+    
+}
+
 - (NSInteger)getNormalMemberCount
 {
     NSInteger result = 0;