Skip to content

Commit

Permalink
change icons
Browse files Browse the repository at this point in the history
  • Loading branch information
kosyloa committed Mar 20, 2024
1 parent 80790c5 commit 199e88e
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 16 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 5 additions & 15 deletions Samples/QuoteTableApp/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,6 @@
<rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="AppIcon" translatesAutoresizingMaskIntoConstraints="NO" id="4lb-Wc-x3B">
<rect key="frame" x="59" y="288.33333333333337" width="275" height="275.33333333333337"/>
<constraints>
<constraint firstAttribute="width" secondItem="4lb-Wc-x3B" secondAttribute="height" id="lJN-AZ-ciq"/>
</constraints>
</imageView>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" allowsSelection="NO" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="-1" estimatedSectionHeaderHeight="-1" sectionFooterHeight="-1" estimatedSectionFooterHeight="-1" translatesAutoresizingMaskIntoConstraints="NO" id="EH9-zJ-QLZ">
<rect key="frame" x="10" y="113.33333333333331" width="373" height="663.66666666666674"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
Expand Down Expand Up @@ -250,7 +244,6 @@
<viewLayoutGuide key="safeArea" id="25G-gY-cKV"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstItem="4lb-Wc-x3B" firstAttribute="width" secondItem="bnX-km-PdS" secondAttribute="width" multiplier="0.7" id="21f-4p-vXh"/>
<constraint firstItem="EH9-zJ-QLZ" firstAttribute="leading" secondItem="25G-gY-cKV" secondAttribute="leading" constant="10" id="40x-hA-kHB"/>
<constraint firstItem="25G-gY-cKV" firstAttribute="bottom" secondItem="gdj-9e-TIL" secondAttribute="bottom" constant="10" id="8B1-6Y-YFi"/>
<constraint firstItem="Dcb-73-MCr" firstAttribute="centerY" secondItem="gdj-9e-TIL" secondAttribute="centerY" id="9Q9-fi-d1i"/>
Expand All @@ -260,9 +253,7 @@
<constraint firstItem="gdj-9e-TIL" firstAttribute="leading" secondItem="25G-gY-cKV" secondAttribute="leading" constant="20" id="HVJ-dF-7MI"/>
<constraint firstItem="Dcb-73-MCr" firstAttribute="leading" secondItem="gdj-9e-TIL" secondAttribute="trailing" constant="10" id="M8N-Os-LWo"/>
<constraint firstItem="25G-gY-cKV" firstAttribute="trailing" secondItem="er8-zz-YEu" secondAttribute="trailing" constant="10" id="N5e-GT-uWw"/>
<constraint firstItem="4lb-Wc-x3B" firstAttribute="centerY" secondItem="bnX-km-PdS" secondAttribute="centerY" id="Nue-K2-Vop"/>
<constraint firstItem="gdj-9e-TIL" firstAttribute="top" secondItem="EH9-zJ-QLZ" secondAttribute="bottom" constant="10" id="THC-Vm-yzK"/>
<constraint firstItem="4lb-Wc-x3B" firstAttribute="centerX" secondItem="bnX-km-PdS" secondAttribute="centerX" id="W9S-qw-mQW"/>
<constraint firstItem="EH9-zJ-QLZ" firstAttribute="top" secondItem="er8-zz-YEu" secondAttribute="bottom" constant="20" id="apO-7t-5Jm"/>
<constraint firstItem="25G-gY-cKV" firstAttribute="trailing" secondItem="EH9-zJ-QLZ" secondAttribute="trailing" constant="10" id="hMT-0Z-bdv"/>
<constraint firstItem="kK3-Yq-zxb" firstAttribute="centerY" secondItem="er8-zz-YEu" secondAttribute="centerY" id="iT5-lx-gUc"/>
Expand Down Expand Up @@ -296,7 +287,7 @@
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="252" verticalHuggingPriority="251" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Hgf-XF-OGD">
<rect key="frame" x="372" y="66" width="11" height="20.333333333333329"/>
<rect key="frame" x="348" y="59" width="35" height="34.333333333333343"/>
<state key="normal" title="Button"/>
<buttonConfiguration key="configuration" style="plain" title="+">
<fontDescription key="titleFontDescription" style="UICTFontTextStyleHeadline"/>
Expand All @@ -306,7 +297,7 @@
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="252" verticalHuggingPriority="251" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="tMq-LB-hEm">
<rect key="frame" x="9.9999999999999964" y="66" width="54.666666666666657" height="20.333333333333329"/>
<rect key="frame" x="10" y="59" width="78.666666666666671" height="34.333333333333343"/>
<state key="normal" title="Button"/>
<buttonConfiguration key="configuration" style="plain" title="Cancel">
<fontDescription key="titleFontDescription" style="UICTFontTextStyleHeadline"/>
Expand All @@ -316,7 +307,7 @@
</connections>
</button>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" allowsSelection="NO" allowsSelectionDuringEditing="YES" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="-1" estimatedSectionHeaderHeight="-1" sectionFooterHeight="-1" estimatedSectionFooterHeight="-1" translatesAutoresizingMaskIntoConstraints="NO" id="eaD-lA-Hk4">
<rect key="frame" x="10" y="106.33333333333331" width="373" height="711.66666666666674"/>
<rect key="frame" x="10" y="113.33333333333331" width="373" height="704.66666666666674"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="SymbolCellId" rowHeight="100" id="hie-pI-BNO" customClass="SymbolCell" customModule="DXARQuoteTableApp" customModuleProvider="target">
Expand Down Expand Up @@ -514,14 +505,13 @@
</scenes>
<designables>
<designable name="OfZ-3h-hz9">
<size key="intrinsicContentSize" width="41.666666666666671" height="30.333333333333332"/>
<size key="intrinsicContentSize" width="24.666666666666668" height="20.333333333333332"/>
</designable>
<designable name="my2-SE-epx">
<size key="intrinsicContentSize" width="45.333333333333329" height="30.333333333333332"/>
<size key="intrinsicContentSize" width="28.333333333333332" height="20.333333333333332"/>
</designable>
</designables>
<resources>
<image name="AppIcon" width="128" height="128"/>
<systemColor name="labelColor">
<color red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</systemColor>
Expand Down
4 changes: 3 additions & 1 deletion Samples/QuoteTableApp/SymbolsViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ extension SymbolsViewController: UITableViewDelegate, UITableViewDataSource {
return 70
}

func tableView(_ tableView: UITableView, commit editingStyle: UITableViewCell.EditingStyle, forRowAt indexPath: IndexPath) {
func tableView(_ tableView: UITableView,
commit editingStyle: UITableViewCell.EditingStyle,
forRowAt indexPath: IndexPath) {
if editingStyle == .delete {
symbols.remove(at: indexPath.row)
tableView.deleteRows(at: [indexPath], with: .automatic)
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 199e88e

Please sign in to comment.