Skip to content

Commit c384d5d

Browse files
authored
Merge pull request #2416 from onevcat/darkbrewx-feature/network-metrics
Add network metrics
2 parents a160967 + 9c1dca6 commit c384d5d

File tree

11 files changed

+680
-9
lines changed

11 files changed

+680
-9
lines changed

Demo/Demo/Kingfisher-Demo/Base.lproj/Main.storyboard

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="23094" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="peg-r0-mlo">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="23727" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="peg-r0-mlo">
33
<device id="retina5_5" orientation="portrait" appearance="dark"/>
44
<dependencies>
55
<deployment identifier="iOS"/>
6-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="23084"/>
6+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="23721"/>
77
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
88
<capability name="System colors in document resources" minToolsVersion="11.0"/>
99
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
@@ -515,9 +515,33 @@
515515
<segue destination="nhf-ZY-JwU" kind="show" id="Srz-py-yg9"/>
516516
</connections>
517517
</tableViewCell>
518-
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" id="TIF-8x-GLM">
518+
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" id="wqA-9Z-1Al">
519519
<rect key="frame" x="0.0" y="754" width="414" height="44"/>
520520
<autoresizingMask key="autoresizingMask"/>
521+
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="wqA-9Z-1Al" id="zF8-ez-i13">
522+
<rect key="frame" x="0.0" y="0.0" width="414" height="44"/>
523+
<autoresizingMask key="autoresizingMask"/>
524+
<subviews>
525+
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Network Metrics" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zRy-GJ-Gal">
526+
<rect key="frame" x="19.999999999999993" y="11.666666666666664" width="125.33333333333331" height="21"/>
527+
<fontDescription key="fontDescription" type="system" pointSize="17"/>
528+
<nil key="textColor"/>
529+
<nil key="highlightedColor"/>
530+
</label>
531+
</subviews>
532+
<constraints>
533+
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="zRy-GJ-Gal" secondAttribute="trailing" constant="20" symbolic="YES" id="Z4X-JI-dgy"/>
534+
<constraint firstItem="zRy-GJ-Gal" firstAttribute="centerY" secondItem="zF8-ez-i13" secondAttribute="centerY" id="Zaf-1G-5CY"/>
535+
<constraint firstItem="zRy-GJ-Gal" firstAttribute="leading" secondItem="zF8-ez-i13" secondAttribute="leading" constant="20" symbolic="YES" id="ncb-FX-kMj"/>
536+
</constraints>
537+
</tableViewCellContentView>
538+
<connections>
539+
<segue destination="Pg3-sc-Em9" kind="show" id="aWn-Nh-tPk"/>
540+
</connections>
541+
</tableViewCell>
542+
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" id="TIF-8x-GLM">
543+
<rect key="frame" x="0.0" y="798" width="414" height="44"/>
544+
<autoresizingMask key="autoresizingMask"/>
521545
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="TIF-8x-GLM" id="ykx-Ds-PkP">
522546
<rect key="frame" x="0.0" y="0.0" width="414" height="44"/>
523547
<autoresizingMask key="autoresizingMask"/>
@@ -1064,6 +1088,22 @@
10641088
</objects>
10651089
<point key="canvasLocation" x="1850.7246376811595" y="1735.5978260869567"/>
10661090
</scene>
1091+
<!--Network Metrics View Controller-->
1092+
<scene sceneID="zOx-Gp-KL6">
1093+
<objects>
1094+
<viewController id="Pg3-sc-Em9" customClass="NetworkMetricsViewController" customModule="Kingfisher_Demo" customModuleProvider="target" sceneMemberID="viewController">
1095+
<view key="view" contentMode="scaleToFill" id="PY3-v0-EIu">
1096+
<rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
1097+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
1098+
<viewLayoutGuide key="safeArea" id="5i9-7s-TjX"/>
1099+
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
1100+
</view>
1101+
<navigationItem key="navigationItem" id="aD3-6d-iIp"/>
1102+
</viewController>
1103+
<placeholder placeholderIdentifier="IBFirstResponder" id="K6C-pd-2au" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
1104+
</objects>
1105+
<point key="canvasLocation" x="2654" y="-1114"/>
1106+
</scene>
10671107
<!--SwiftUI View Controller-->
10681108
<scene sceneID="rw7-vi-6Ep">
10691109
<objects>

0 commit comments

Comments
 (0)