如何解决:“第179行:开始和结束标记不匹配连接第159行和单元格”

时间:2019-04-07 09:06:47

标签: swift tags storyboard mismatch

我正在尝试在Xcode上运行我的应用程序,但出现此错误: '第179行:开始和结束标记不匹配连接第159行和单元格'

我尝试查看代码,但是我对标签没有太多的经验,所以我不明白什么是不匹配的。我在下面附上了代码(第158-179行)

                                    <color key="backgroundColor" white="1" alpha="0.56000000000000005" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                                    <connections>
                                        <outlet property="image" destination="lnq-OO-OaN" id="UHY-Dq-1OG"/>
                                <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" restorationIdentifier="cell" reuseIdentifier="cell" id="GEz-5A-SDb" customClass="OrderCell" customModule="CoFace" customModuleProvider="target">
                                    <rect key="frame" x="0.0" y="0.0" width="300" height="303"/>
                                    <autoresizingMask key="autoresizingMask" flexibleMaxY="YES"/>
                                    <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO">
                                        <rect key="frame" x="0.0" y="0.0" width="300" height="303"/>
                                        <autoresizingMask key="autoresizingMask"/>
                                        <subviews>
                                            <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Z9G-J6-k2r">
                                                <rect key="frame" x="20" y="20" width="260" height="263"/>
                                                <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES" flexibleMaxY="YES"/>
                                            </imageView>
                                        </subviews>
                                    </view>
                                    <connections>
                                        <outlet property="image" destination="Z9G-J6-k2r" id="XOw-Ss-Tzd"/>
                                        <segue destination="vr6-9f-iga" kind="show" identifier="orderSegue" id="XrK-4r-n5E"/>
                                    </connections>
                                </collectionViewCell>
                            </cells>

有人可以帮我吗?

0 个答案:

没有答案