iT邦幫忙

2023 iThome 鐵人賽

DAY 14
0
Mobile Development

App從開發到上架系列 第 14

Day15: iOS 開發:畫面建構(最新消息) - NewsViewController

  • 分享至 

  • xImage
  •  
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
    <device id="retina6_12" orientation="portrait" appearance="light"/>
    <dependencies>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21679"/>
        <capability name="Safe area layout guides" minToolsVersion="9.0"/>
        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
    </dependencies>
    <objects>
        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="NewsViewController" customModule="FoodDemo" customModuleProvider="target">
            <connections>
                <outlet property="tbvNews" destination="dXp-Ch-0MZ" id="BAA-Cr-Yqy"/>
                <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
            </connections>
        </placeholder>
        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
        <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
            <rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
            <subviews>
                <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="plain" separatorStyle="default" rowHeight="100" estimatedRowHeight="20" sectionHeaderHeight="-1" estimatedSectionHeaderHeight="-1" sectionFooterHeight="-1" estimatedSectionFooterHeight="-1" translatesAutoresizingMaskIntoConstraints="NO" id="dXp-Ch-0MZ">
                    <rect key="frame" x="0.0" y="12.666666666666686" width="393" height="852"/>
                    <color key="backgroundColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                </tableView>
            </subviews>
            <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
            <color key="backgroundColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
            <constraints>
                <constraint firstItem="dXp-Ch-0MZ" firstAttribute="centerY" secondItem="fnl-2z-Ty3" secondAttribute="centerY" id="KkF-kd-VNg"/>
                <constraint firstItem="dXp-Ch-0MZ" firstAttribute="height" secondItem="i5M-Pr-FkT" secondAttribute="height" id="tNB-4b-MLb"/>
                <constraint firstItem="dXp-Ch-0MZ" firstAttribute="centerX" secondItem="fnl-2z-Ty3" secondAttribute="centerX" id="vOY-aA-AdB"/>
                <constraint firstItem="dXp-Ch-0MZ" firstAttribute="width" secondItem="i5M-Pr-FkT" secondAttribute="width" id="yMl-ak-8Bb"/>
            </constraints>
            <point key="canvasLocation" x="57" y="-12"/>
        </view>
    </objects>
</document>


上一篇
Day14: iOS 開發:畫面功能(會員) - 透過第三方來登入
下一篇
Day16: iOS 開發:畫面功能(最新消息) - Notification
系列文
App從開發到上架30
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言