桂欢 пре 1 година
родитељ
комит
991aec4bee
21 измењених фајлова са 60 додато и 49 уклоњено
  1. 2 0
      SLAiELTS/SLAiELTS/AppMarcos/YMConstMacro.h
  2. 2 2
      SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/SLAddressBookVc.xib
  3. 1 0
      SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/SLNearbyPeopleVc.m
  4. 2 1
      SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Views/AddressBookCell.m
  5. 1 1
      SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Views/SLNearbyPeopleCell.h
  6. 4 11
      SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Views/SLNearbyPeopleCell.m
  7. 10 3
      SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Views/SLNearbyPeopleCell.xib
  8. 2 2
      SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Views/SLRecomFriendsCell.xib
  9. 1 0
      SLAiELTS/SLAiELTS/ViewControllers/Home/Views/Cells/SLHomeMsgTableViewCell.m
  10. 1 5
      SLAiELTS/SLAiELTS/ViewControllers/Home/Views/Cells/SLHomeMsgTableViewCell.xib
  11. 3 2
      SLAiELTS/SLAiELTS/ViewControllers/Home/Views/SLHomeView.m
  12. 6 0
      SLAiELTS/SLAiELTS/ViewControllers/LoginVC/SLLoginVCViewController.m
  13. 9 2
      SLAiELTS/SLAiELTS/ViewControllers/LoginVC/SLLoginVCViewController.xib
  14. 1 0
      SLAiELTS/SLAiELTS/ViewControllers/MessageVC/Models/MessageModel.h
  15. 1 0
      SLAiELTS/SLAiELTS/ViewControllers/MessageVC/Models/MessageModel.m
  16. 1 1
      SLAiELTS/SLAiELTS/ViewControllers/Moments/MomentsVc/SLMomentsVc.m
  17. 1 0
      SLAiELTS/SLAiELTS/ViewControllers/MyVC/VCs/SLUserCenterViewController.m
  18. 3 10
      SLAiELTS/SLAiELTS/ViewControllers/MyVC/Views/Cells/SLBaseTableViewCell.xib
  19. 5 0
      SLAiELTS/SLAiELTS/ViewControllers/MyVC/Views/Cells/SLMyListCollectionViewCell.m
  20. 1 1
      SLAiELTS/SLAiELTS/ViewControllers/MyVC/Views/SLBaseCellView.m
  21. 3 8
      SLAiELTS/SLAiELTS/ViewControllers/MyVC/Views/SLBaseCellView.xib

+ 2 - 0
SLAiELTS/SLAiELTS/AppMarcos/YMConstMacro.h

@@ -98,6 +98,8 @@
 
 #define SLBlueColor      SLColor(@"#1677FF")
 
+#define SLBlueSelColor      SLColor(@"#0052D9")
+
 #define SL333Color      SLColor(@"#333333")
 
 #endif /* YMConstMacro_h */

+ 2 - 2
SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/SLAddressBookVc.xib

@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21225" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
     <device id="retina6_0" orientation="portrait" appearance="light"/>
     <dependencies>
         <deployment identifier="iOS"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21207"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
         <capability name="Safe area layout guides" minToolsVersion="9.0"/>
         <capability name="System colors in document resources" minToolsVersion="11.0"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>

+ 1 - 0
SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/SLNearbyPeopleVc.m

@@ -111,6 +111,7 @@
 }
 
 - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
+    [tableView deselectRowAtIndexPath:indexPath animated:YES];
     SLFriendsModel *model = [self.nearbyPeoples objectAtIndex:indexPath.row];
     SLFriensInfoVc *vc = [SLFriensInfoVc loadViewControllewWithNib];
     vc.friendModel = model;

+ 2 - 1
SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Views/AddressBookCell.m

@@ -13,8 +13,9 @@
 - (void)awakeFromNib {
     [super awakeFromNib];
     self.photoIV.clipsToBounds = YES;
-    self.selectionStyle = UITableViewCellSelectionStyleNone;
+//    self.selectionStyle = UITableViewCellSelectionStyleNone;
 }
+
 - (IBAction)selBtnClick:(UIButton *)sender {
     sender.selected = !sender.selected;
     self.frendModel.isSelected = sender.selected;

+ 1 - 1
SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Views/SLNearbyPeopleCell.h

@@ -19,7 +19,7 @@ NS_ASSUME_NONNULL_BEGIN
 
 @property (weak, nonatomic) IBOutlet UILabel *distanceLabel;
 
-@property (nonatomic, strong) UIScrollView *interestcrollView;
+@property (weak, nonatomic) IBOutlet UIScrollView *interestcrollView;
 
 - (void)confignCellWith:(SLFriendsModel *)model;
 

+ 4 - 11
SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Views/SLNearbyPeopleCell.m

@@ -18,6 +18,10 @@
         make.height.mas_equalTo(24);
         make.right.equalTo(self.contentView.mas_right).offset(-16);
     }];
+    _interestcrollView.bounces = NO;
+    _interestcrollView.showsVerticalScrollIndicator = NO;
+    _interestcrollView.showsHorizontalScrollIndicator = NO;
+    _interestcrollView.userInteractionEnabled = NO;
 }
 
 - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
@@ -55,15 +59,4 @@
     self.interestcrollView.contentSize = CGSizeMake(x, 24);
 }
 
-- (UIScrollView *)interestcrollView {
-    if (!_interestcrollView) {
-        _interestcrollView = [[UIScrollView alloc] initWithFrame:CGRectZero];
-        _interestcrollView.bounces = NO;
-        _interestcrollView.showsVerticalScrollIndicator = NO;
-        _interestcrollView.showsHorizontalScrollIndicator = NO;
-        [self.contentView addSubview:_interestcrollView];
-    }
-    return _interestcrollView;
-}
-
 @end

+ 10 - 3
SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Views/SLNearbyPeopleCell.xib

@@ -1,15 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21225" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
     <device id="retina6_0" orientation="portrait" appearance="light"/>
     <dependencies>
         <deployment identifier="iOS"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21207"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
     <objects>
         <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
         <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
-        <tableViewCell contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" rowHeight="99" id="KGk-i7-Jjw" customClass="SLNearbyPeopleCell">
+        <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="SLNearbyPeopleCell" rowHeight="99" id="KGk-i7-Jjw" customClass="SLNearbyPeopleCell">
             <rect key="frame" x="0.0" y="0.0" width="354" height="99"/>
             <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
             <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
@@ -43,6 +43,12 @@
                     <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon_sex_woman_b" translatesAutoresizingMaskIntoConstraints="NO" id="3Tw-rh-f0k">
                         <rect key="frame" x="151.33333333333334" y="26" width="18.333333333333343" height="18.333333333333329"/>
                     </imageView>
+                    <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="B7F-6I-Gxd">
+                        <rect key="frame" x="72" y="53" width="262" height="35"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+                        <viewLayoutGuide key="contentLayoutGuide" id="13V-0B-Qe0"/>
+                        <viewLayoutGuide key="frameLayoutGuide" id="uQw-ea-31x"/>
+                    </scrollView>
                 </subviews>
                 <constraints>
                     <constraint firstAttribute="trailing" secondItem="80A-AO-lwb" secondAttribute="trailing" constant="10" id="4sL-NB-kCR"/>
@@ -58,6 +64,7 @@
             <connections>
                 <outlet property="distanceLabel" destination="80A-AO-lwb" id="1Ps-Mj-mam"/>
                 <outlet property="headImageView" destination="LMr-Xc-pRl" id="rQy-vf-jxR"/>
+                <outlet property="interestcrollView" destination="B7F-6I-Gxd" id="fzU-9d-Qo2"/>
                 <outlet property="sexImageView" destination="3Tw-rh-f0k" id="mnM-bl-4s9"/>
                 <outlet property="userNameLabel" destination="FQH-An-920" id="jbd-Kt-VIc"/>
             </connections>

+ 2 - 2
SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Views/SLRecomFriendsCell.xib

@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21225" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
     <device id="retina6_0" orientation="portrait" appearance="light"/>
     <dependencies>
         <deployment identifier="iOS"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21207"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
         <capability name="Safe area layout guides" minToolsVersion="9.0"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>

+ 1 - 0
SLAiELTS/SLAiELTS/ViewControllers/Home/Views/Cells/SLHomeMsgTableViewCell.m

@@ -12,6 +12,7 @@
 - (void)awakeFromNib {
     [super awakeFromNib];
     // Initialization code
+    self.selectionStyle = UITableViewCellSelectionStyleDefault;
 }
 
 - (void)setSelected:(BOOL)selected animated:(BOOL)animated {

+ 1 - 5
SLAiELTS/SLAiELTS/ViewControllers/Home/Views/Cells/SLHomeMsgTableViewCell.xib

@@ -10,7 +10,7 @@
     <objects>
         <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
         <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
-        <tableViewCell contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" rowHeight="117" id="KGk-i7-Jjw" customClass="SLHomeMsgTableViewCell">
+        <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="SLHomeMsgTableViewCell" rowHeight="117" id="KGk-i7-Jjw" customClass="SLHomeMsgTableViewCell">
             <rect key="frame" x="0.0" y="0.0" width="389" height="117"/>
             <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
             <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
@@ -61,7 +61,6 @@
                                 </constraints>
                             </view>
                         </subviews>
-                        <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                         <constraints>
                             <constraint firstItem="WSp-se-8ET" firstAttribute="leading" secondItem="11s-ic-gAj" secondAttribute="leading" id="4OF-qW-Tgk"/>
                             <constraint firstItem="WSp-se-8ET" firstAttribute="top" secondItem="11s-ic-gAj" secondAttribute="bottom" constant="4" id="4u3-Kz-IXY"/>
@@ -96,9 +95,6 @@
     </objects>
     <resources>
         <image name="icon_ellipse" width="52.333332061767578" height="52.333332061767578"/>
-        <systemColor name="systemBackgroundColor">
-            <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-        </systemColor>
         <systemColor name="systemGray2Color">
             <color red="0.68235294117647061" green="0.68235294117647061" blue="0.69803921568627447" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
         </systemColor>

+ 3 - 2
SLAiELTS/SLAiELTS/ViewControllers/Home/Views/SLHomeView.m

@@ -26,7 +26,6 @@
 
 - (void)confignMyView
 {
-    [self.tableView registerNibCellWithReuseIdentifierClass:SLHomeMsgTableViewCell.class];
     [self.navView mas_makeConstraints:^(MASConstraintMaker *make) {
         make.left.right.top.equalTo(self);
         make.height.equalTo(@(kNavBarHeight));
@@ -65,7 +64,7 @@
 }
 
 - (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath {
-    return YES;
+    return NO;
 }
 
 - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath {
@@ -131,7 +130,9 @@
         _tableView = [[UITableView alloc] initWithFrame:CGRectZero style:UITableViewStyleGrouped];
         _tableView.delegate = self;
         _tableView.dataSource = self;
+        _tableView.estimatedRowHeight = 80.f;
         _tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
+        [_tableView registerNibCellWithReuseIdentifierClass:SLHomeMsgTableViewCell.class];
         [self addSubview:_tableView];
     }
     return _tableView;

+ 6 - 0
SLAiELTS/SLAiELTS/ViewControllers/LoginVC/SLLoginVCViewController.m

@@ -29,6 +29,7 @@
 
 @property (weak, nonatomic) IBOutlet UITextField *codeTextField;
 @property (weak, nonatomic) IBOutlet UIButton *protocolBtn;
+@property (weak, nonatomic) IBOutlet UIButton *loginBtn;
 
 @property (nonatomic, assign) BOOL isCodeLogin;
 @end
@@ -49,6 +50,11 @@
     [btn setImage:ImageName(@"icon_clear_circle") forState:UIControlStateNormal];
     self.protocolBtn.selected = YES;
     self.view.backgroundColor = [UIColor whiteColor];
+    UIImage *image = [UIImage imageWithColor:SLBlueColor size:self.loginBtn.frame.size];
+    UIImage *image1 = [UIImage imageWithColor:SLBlueSelColor size:self.loginBtn.frame.size];
+    [self.loginBtn setBackgroundImage:[UIImage imageWithColor:SLBlueColor size:self.loginBtn.frame.size] forState:UIControlStateNormal];
+    [self.loginBtn setBackgroundImage:[UIImage imageWithColor:SLBlueSelColor size:self.loginBtn.frame.size] forState:UIControlStateHighlighted];
+
 }
 
 - (void)viewWillDisappear:(BOOL)animated {

+ 9 - 2
SLAiELTS/SLAiELTS/ViewControllers/LoginVC/SLLoginVCViewController.xib

@@ -14,6 +14,7 @@
                 <outlet property="codeBtn" destination="3dG-q3-igq" id="tcV-uL-Dbe"/>
                 <outlet property="codeTextField" destination="MB4-ou-zff" id="hGp-TB-5Uh"/>
                 <outlet property="forgetBtn" destination="JLS-pH-gdV" id="GB7-yA-IbI"/>
+                <outlet property="loginBtn" destination="C8d-nI-KQg" id="tE4-hk-2Uv"/>
                 <outlet property="loginDesLabel" destination="nBW-rE-zyn" id="N7t-RG-Ubr"/>
                 <outlet property="loginLabel" destination="7Xs-yp-gmX" id="34s-bb-qhI"/>
                 <outlet property="phoneTextField" destination="M1D-uh-9hz" id="eM4-hI-t7n"/>
@@ -165,9 +166,9 @@
                         <action selector="forgetPwClick:" destination="-1" eventType="touchUpInside" id="MfI-g5-zzq"/>
                     </connections>
                 </button>
-                <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="C8d-nI-KQg">
+                <button opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="C8d-nI-KQg">
                     <rect key="frame" x="18" y="492" width="339" height="58"/>
-                    <color key="backgroundColor" red="0.086274509799999996" green="0.46666666670000001" blue="1" alpha="1" colorSpace="calibratedRGB"/>
+                    <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                     <constraints>
                         <constraint firstAttribute="height" constant="58" id="Y9g-aW-CEX">
                             <userDefinedRuntimeAttributes>
@@ -221,6 +222,9 @@
                             <state key="normal" title="用户服务协议">
                                 <color key="titleColor" red="0.086274509799999996" green="0.46666666670000001" blue="1" alpha="1" colorSpace="calibratedRGB"/>
                             </state>
+                            <state key="highlighted">
+                                <color key="titleColor" red="0.0" green="0.32156862745098036" blue="0.85098039215686272" alpha="1" colorSpace="calibratedRGB"/>
+                            </state>
                             <connections>
                                 <action selector="userProtocolBtnClick:" destination="-1" eventType="touchUpInside" id="J4N-Ph-H01"/>
                             </connections>
@@ -238,6 +242,9 @@
                             <state key="normal" title="免责声明">
                                 <color key="titleColor" red="0.086274509799999996" green="0.46666666670000001" blue="1" alpha="1" colorSpace="calibratedRGB"/>
                             </state>
+                            <state key="highlighted">
+                                <color key="titleColor" red="0.0" green="0.32156862749999998" blue="0.85098039219999999" alpha="1" colorSpace="calibratedRGB"/>
+                            </state>
                             <connections>
                                 <action selector="userProtocolBtnClick:" destination="-1" eventType="touchUpInside" id="nNA-32-qW3"/>
                             </connections>

+ 1 - 0
SLAiELTS/SLAiELTS/ViewControllers/MessageVC/Models/MessageModel.h

@@ -33,6 +33,7 @@ NS_ASSUME_NONNULL_BEGIN
 
 @property (nonatomic, strong) NSString *voicePath;
 
+/// 音频时长
 @property (nonatomic, assign) NSTimeInterval audioDuration;
 
 /// 时间戳

+ 1 - 0
SLAiELTS/SLAiELTS/ViewControllers/MessageVC/Models/MessageModel.m

@@ -95,6 +95,7 @@
         _audioDuration = [self calcuLateAudioDuration];
     }
 }
+
 - (NSTimeInterval)calcuLateAudioDuration {
     AVURLAsset *audioAsset = nil;
     NSDictionary *dic = @{AVURLAssetPreferPreciseDurationAndTimingKey:@(YES)};

+ 1 - 1
SLAiELTS/SLAiELTS/ViewControllers/Moments/MomentsVc/SLMomentsVc.m

@@ -381,7 +381,7 @@ static CGFloat textFieldH = 56;
                 [[SLHttpCenter SharedInstance] getWithUrl:@"/api/Friend/DelateComment" parameter:@{@"commentId":commentModel.commendId} success:^(id responseObject) {
                     [temp removeObjectAtIndex:indexPath1.section];
                     editModel.list = [temp copy];
-                    [weakSelf.tableView reloadRowsAtIndexPaths:@[indexPath1] withRowAnimation:UITableViewRowAnimationNone];
+                    [weakSelf.tableView reloadData];
                 } failure:^(SPRequestError *error) {
 
                 }];

+ 1 - 0
SLAiELTS/SLAiELTS/ViewControllers/MyVC/VCs/SLUserCenterViewController.m

@@ -60,6 +60,7 @@
 }
 
 - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
+    [tableView deselectRowAtIndexPath:indexPath animated:YES];
     SLPageModelDetail *detail = [[self.dataModels objectAtIndex:indexPath.section] objectAtIndex:indexPath.row];
     if ([detail.title isEqualToString:@"头像"]) {
         [self.imageUpload willShowActionSheet];

+ 3 - 10
SLAiELTS/SLAiELTS/ViewControllers/MyVC/Views/Cells/SLBaseTableViewCell.xib

@@ -1,16 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21225" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
     <device id="retina6_0" orientation="portrait" appearance="light"/>
     <dependencies>
         <deployment identifier="iOS"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21207"/>
-        <capability name="System colors in document resources" minToolsVersion="11.0"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
     <objects>
         <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
         <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
-        <tableViewCell contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="SLBaseTableViewCell" rowHeight="39" id="KGk-i7-Jjw" customClass="SLBaseTableViewCell">
+        <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="SLBaseTableViewCell" rowHeight="39" id="KGk-i7-Jjw" customClass="SLBaseTableViewCell">
             <rect key="frame" x="0.0" y="0.0" width="320" height="39"/>
             <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
             <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
@@ -19,7 +18,6 @@
                 <subviews>
                     <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Gr0-Ph-UFM" customClass="SLBaseCellView">
                         <rect key="frame" x="0.0" y="0.0" width="320" height="39"/>
-                        <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                     </view>
                 </subviews>
                 <constraints>
@@ -35,9 +33,4 @@
             <point key="canvasLocation" x="87.692307692307693" y="-3.1990521327014219"/>
         </tableViewCell>
     </objects>
-    <resources>
-        <systemColor name="systemBackgroundColor">
-            <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-        </systemColor>
-    </resources>
 </document>

+ 5 - 0
SLAiELTS/SLAiELTS/ViewControllers/MyVC/Views/Cells/SLMyListCollectionViewCell.m

@@ -24,7 +24,12 @@
         baseCell.leftImageView.image = ImageName(obj.bgImage);
         baseCell.subTitleLabel.text = obj.subTitle;
         WS(weakSelf);
+        __block SLBaseCellView *blockBaseCell = baseCell;
         [baseCell addTapWithBlock:^{
+            blockBaseCell.contentView.backgroundColor = [UIColor colorWithRed:199 / 255.0 green:198 / 255.0 blue:205 / 255.0 alpha:1.0];
+            [UIView animateWithDuration:0.5 animations:^{
+                blockBaseCell.contentView.backgroundColor = [UIColor whiteColor];
+            }];
             switch (idx) {
                 case 0:
                 {

+ 1 - 1
SLAiELTS/SLAiELTS/ViewControllers/MyVC/Views/SLBaseCellView.m

@@ -47,7 +47,7 @@
     [self.lineView mas_makeConstraints:^(MASConstraintMaker *make) {
         make.left.equalTo(self.leftImageView);
         make.right.equalTo(self.contentView);
-        make.bottom.equalTo(self.contentView.mas_bottom).offset(-1);
+        make.bottom.equalTo(self.contentView.mas_bottom).offset(-0.5);
         make.height.mas_equalTo(1);
     }];
 }

+ 3 - 8
SLAiELTS/SLAiELTS/ViewControllers/MyVC/Views/SLBaseCellView.xib

@@ -1,10 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21225" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
     <device id="retina6_0" orientation="portrait" appearance="light"/>
     <dependencies>
         <deployment identifier="iOS"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21207"/>
-        <capability name="System colors in document resources" minToolsVersion="11.0"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
     <objects>
@@ -51,16 +50,12 @@
                     <color key="backgroundColor" red="0.94901960784313721" green="0.95294117647058818" blue="0.96862745098039216" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                 </view>
             </subviews>
-            <color key="backgroundColor" systemColor="systemBackgroundColor"/>
             <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
             <point key="canvasLocation" x="115.38461538461539" y="-274.05213270142178"/>
         </view>
     </objects>
     <resources>
         <image name="icon_chevron_right" width="24.666666030883789" height="24.333333969116211"/>
-        <image name="icon_my_yj" width="28.333333969116211" height="28.333333969116211"/>
-        <systemColor name="systemBackgroundColor">
-            <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-        </systemColor>
+        <image name="icon_my_yj" width="24" height="24.333333969116211"/>
     </resources>
 </document>