Removing old storyboard scenes

This commit is contained in:
Selim Mustafaev 2025-04-06 13:53:46 +03:00
parent 406b1b02b5
commit fa80cc5022
2 changed files with 4 additions and 227 deletions

View File

@ -8,104 +8,6 @@
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies> </dependencies>
<scenes> <scenes>
<!--Voice records-->
<scene sceneID="9pI-G0-wG0">
<objects>
<viewController id="JIE-9Y-R8R" customClass="RecordsController" customModule="AutoCat" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="VgQ-mW-DCS">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="jeg-Q0-sHX">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="AudioRecordCell" id="mzE-bt-IiX" customClass="AudioRecordCell" customModule="AutoCat" customModuleProvider="target">
<rect key="frame" x="0.0" y="50" width="375" height="50.5"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="mzE-bt-IiX" id="bqu-eN-DJP">
<rect key="frame" x="0.0" y="0.0" width="375" height="50.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="fc7-Eb-6ms" customClass="CellProgressView" customModule="AutoCat" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="375" height="50.5"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
</view>
<stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="12" translatesAutoresizingMaskIntoConstraints="NO" id="QSJ-FJ-C4c">
<rect key="frame" x="8" y="0.0" width="359" height="50.5"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="BKm-HE-Aor">
<rect key="frame" x="0.0" y="3.5" width="44" height="44"/>
<constraints>
<constraint firstAttribute="width" secondItem="BKm-HE-Aor" secondAttribute="height" multiplier="1:1" id="Y4G-Ki-oYP"/>
<constraint firstAttribute="height" constant="44" id="lQk-Ob-dxJ"/>
</constraints>
<state key="normal" image="play.fill" catalog="system"/>
<connections>
<action selector="onPlay:" destination="mzE-bt-IiX" eventType="touchUpInside" id="hwo-ns-0RK"/>
</connections>
</button>
<label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="252" verticalHuggingPriority="251" text="00:00" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bFQ-eU-5YJ">
<rect key="frame" x="50" y="15" width="0.0" height="20.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" systemColor="systemTealColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MjS-Hy-iGH">
<rect key="frame" x="56" y="0.5" width="291" height="50"/>
<fontDescription key="fontDescription" type="system" pointSize="20"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Jgb-TO-YHq">
<rect key="frame" x="359" y="0.5" width="0.0" height="50"/>
<fontDescription key="fontDescription" type="system" pointSize="15"/>
<color key="textColor" systemColor="secondaryLabelColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</stackView>
</subviews>
<constraints>
<constraint firstAttribute="bottom" secondItem="QSJ-FJ-C4c" secondAttribute="bottom" id="4Lk-6G-3mA"/>
<constraint firstAttribute="bottom" secondItem="fc7-Eb-6ms" secondAttribute="bottom" id="Ahl-q6-LA8"/>
<constraint firstItem="QSJ-FJ-C4c" firstAttribute="top" secondItem="bqu-eN-DJP" secondAttribute="top" id="Bb2-tQ-wiV"/>
<constraint firstItem="QSJ-FJ-C4c" firstAttribute="leading" secondItem="bqu-eN-DJP" secondAttribute="leading" constant="8" id="Cpo-2z-6oN"/>
<constraint firstItem="fc7-Eb-6ms" firstAttribute="top" secondItem="bqu-eN-DJP" secondAttribute="top" id="dWu-lm-R5w"/>
<constraint firstItem="fc7-Eb-6ms" firstAttribute="leading" secondItem="bqu-eN-DJP" secondAttribute="leading" id="ea6-NB-WO3"/>
<constraint firstAttribute="trailing" secondItem="fc7-Eb-6ms" secondAttribute="trailing" id="m2Y-kR-DqA"/>
<constraint firstAttribute="trailing" secondItem="QSJ-FJ-C4c" secondAttribute="trailing" constant="8" id="q9F-GK-Kuf"/>
</constraints>
</tableViewCellContentView>
<connections>
<outlet property="date" destination="Jgb-TO-YHq" id="sU2-F8-yS9"/>
<outlet property="duration" destination="bFQ-eU-5YJ" id="DLw-zt-4rW"/>
<outlet property="number" destination="MjS-Hy-iGH" id="2JD-dI-chu"/>
<outlet property="playButton" destination="BKm-HE-Aor" id="DnM-SL-ncO"/>
<outlet property="progressView" destination="fc7-Eb-6ms" id="dn3-JQ-7g0"/>
</connections>
</tableViewCell>
</prototypes>
</tableView>
</subviews>
<viewLayoutGuide key="safeArea" id="TkD-O4-hix"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="jeg-Q0-sHX" secondAttribute="trailing" id="erL-GF-nQN"/>
<constraint firstAttribute="bottom" secondItem="jeg-Q0-sHX" secondAttribute="bottom" id="ijK-jl-ORp"/>
<constraint firstItem="jeg-Q0-sHX" firstAttribute="top" secondItem="VgQ-mW-DCS" secondAttribute="top" id="odG-hi-2mW"/>
<constraint firstItem="jeg-Q0-sHX" firstAttribute="leading" secondItem="VgQ-mW-DCS" secondAttribute="leading" id="xy9-Yb-4vc"/>
</constraints>
</view>
<navigationItem key="navigationItem" title="Voice records" id="lu2-xz-pMr"/>
<connections>
<outlet property="tableView" destination="jeg-Q0-sHX" id="ml7-mu-AmI"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="Vum-9f-55l" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="2614" y="1045"/>
</scene>
<!--Google Sign In Controller--> <!--Google Sign In Controller-->
<scene sceneID="ztj-pr-ty7"> <scene sceneID="ztj-pr-ty7">
<objects> <objects>
@ -153,7 +55,7 @@
</viewController> </viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="WxN-oK-U9s" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/> <placeholder placeholderIdentifier="IBFirstResponder" id="WxN-oK-U9s" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
</objects> </objects>
<point key="canvasLocation" x="740" y="1045"/> <point key="canvasLocation" x="1001" y="837"/>
</scene> </scene>
<!--Main Tab Controller--> <!--Main Tab Controller-->
<scene sceneID="YhQ-kn-py3"> <scene sceneID="YhQ-kn-py3">
@ -164,106 +66,11 @@
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</tabBar> </tabBar>
<connections>
<segue destination="RK6-pn-2Bg" kind="relationship" relationship="viewControllers" id="KNz-WF-Kyy"/>
</connections>
</tabBarController> </tabBarController>
<placeholder placeholderIdentifier="IBFirstResponder" id="AJs-8F-Qbu" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/> <placeholder placeholderIdentifier="IBFirstResponder" id="AJs-8F-Qbu" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
</objects> </objects>
<point key="canvasLocation" x="1729" y="143"/> <point key="canvasLocation" x="1729" y="143"/>
</scene> </scene>
<!--Auth Controller-->
<scene sceneID="wJp-Rv-eDj">
<objects>
<viewController storyboardIdentifier="AuthController" id="pme-aR-UNJ" customClass="AuthController" customModule="AutoCat" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="JT9-G7-mMt">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" horizontalCompressionResistancePriority="1000" axis="vertical" spacing="16" translatesAutoresizingMaskIntoConstraints="NO" id="TMc-av-b0b">
<rect key="frame" x="56.5" y="235.5" width="262.5" height="196"/>
<subviews>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Email" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="Uey-88-eZL" customClass="CustomTextField" customModule="AutoCat" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="262.5" height="34"/>
<constraints>
<constraint firstAttribute="height" constant="34" id="5fP-sM-e5U"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits" keyboardType="emailAddress" textContentType="email"/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
<real key="value" value="1"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="6"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</textField>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Password" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="G1p-Hz-8yn" customClass="CustomTextField" customModule="AutoCat" customModuleProvider="target">
<rect key="frame" x="0.0" y="50" width="262.5" height="34"/>
<constraints>
<constraint firstAttribute="height" constant="34" id="a4Q-RG-41l"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits" secureTextEntry="YES"/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
<real key="value" value="1"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="6"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</textField>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ltG-B1-UBj" customClass="CustomButton" customModule="AutoCat" customModuleProvider="target">
<rect key="frame" x="0.0" y="100" width="262.5" height="40"/>
<color key="backgroundColor" systemColor="systemBlueColor"/>
<constraints>
<constraint firstAttribute="height" constant="40" id="TGS-1p-K9b"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="15"/>
<state key="normal" title="Log in">
<color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</state>
<connections>
<action selector="loginTapped:" destination="pme-aR-UNJ" eventType="touchUpInside" id="qTu-4S-cqF"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="hRD-Ha-MrP" customClass="CustomButton" customModule="AutoCat" customModuleProvider="target">
<rect key="frame" x="0.0" y="156" width="262.5" height="40"/>
<color key="backgroundColor" systemColor="systemBlueColor"/>
<constraints>
<constraint firstAttribute="height" constant="40" id="GFg-0z-f2r"/>
</constraints>
<state key="normal" title="Sign up">
<color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</state>
<connections>
<action selector="signupTapped:" destination="pme-aR-UNJ" eventType="touchUpInside" id="upt-yE-Xro"/>
</connections>
</button>
</subviews>
</stackView>
</subviews>
<viewLayoutGuide key="safeArea" id="CSC-sQ-Tm5"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstItem="TMc-av-b0b" firstAttribute="width" secondItem="JT9-G7-mMt" secondAttribute="width" multiplier="0.7" id="95T-so-Jv9"/>
<constraint firstItem="TMc-av-b0b" firstAttribute="centerY" secondItem="JT9-G7-mMt" secondAttribute="centerY" id="n5u-Ta-swG"/>
<constraint firstItem="TMc-av-b0b" firstAttribute="centerX" secondItem="JT9-G7-mMt" secondAttribute="centerX" id="yc6-lV-4EU"/>
</constraints>
</view>
<connections>
<outlet property="login" destination="ltG-B1-UBj" id="Fc0-Cd-BKA"/>
<outlet property="password" destination="G1p-Hz-8yn" id="8VI-cA-YrJ"/>
<outlet property="signup" destination="hRD-Ha-MrP" id="VCG-25-bHL"/>
<outlet property="username" destination="Uey-88-eZL" id="EEe-CA-Pbm"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="Yso-GW-Nd2" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="-735" y="143"/>
</scene>
<!--Main Split Controller--> <!--Main Split Controller-->
<scene sceneID="10H-jh-3eN"> <scene sceneID="10H-jh-3eN">
<objects> <objects>
@ -314,25 +121,6 @@
</objects> </objects>
<point key="canvasLocation" x="3554" y="143"/> <point key="canvasLocation" x="3554" y="143"/>
</scene> </scene>
<!--Records-->
<scene sceneID="oyu-oz-pC4">
<objects>
<navigationController automaticallyAdjustsScrollViewInsets="NO" id="RK6-pn-2Bg" sceneMemberID="viewController">
<tabBarItem key="tabBarItem" title="Records" image="record" landscapeImage="record-compact" id="lxF-EY-z8V"/>
<toolbarItems/>
<navigationBar key="navigationBar" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" id="8YG-pw-LE7">
<rect key="frame" x="0.0" y="20" width="375" height="44"/>
<autoresizingMask key="autoresizingMask"/>
</navigationBar>
<nil name="viewControllers"/>
<connections>
<segue destination="JIE-9Y-R8R" kind="relationship" relationship="rootViewController" id="nMe-r8-0lu"/>
</connections>
</navigationController>
<placeholder placeholderIdentifier="IBFirstResponder" id="elc-Dr-KxW" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="1729" y="1045"/>
</scene>
<!--Navigation Controller--> <!--Navigation Controller-->
<scene sceneID="fRx-9f-ao6"> <scene sceneID="fRx-9f-ao6">
<objects> <objects>
@ -353,20 +141,8 @@
</scene> </scene>
</scenes> </scenes>
<resources> <resources>
<image name="play.fill" catalog="system" width="120" height="128"/>
<image name="record" width="31" height="31"/>
<image name="record-compact" width="23" height="23"/>
<systemColor name="secondaryLabelColor">
<color red="0.23529411759999999" green="0.23529411759999999" blue="0.26274509800000001" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
</systemColor>
<systemColor name="systemBackgroundColor"> <systemColor name="systemBackgroundColor">
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</systemColor> </systemColor>
<systemColor name="systemBlueColor">
<color red="0.0" green="0.47843137250000001" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</systemColor>
<systemColor name="systemTealColor">
<color red="0.18823529410000001" green="0.69019607839999997" blue="0.78039215689999997" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</systemColor>
</resources> </resources>
</document> </document>

View File

@ -17,6 +17,7 @@ class MainTabController: UITabBarController, UITabBarControllerDelegate {
traitOverrides.horizontalSizeClass = .compact traitOverrides.horizontalSizeClass = .compact
} }
viewControllers = []
addHistoryTab() addHistoryTab()
addRecordsTab() addRecordsTab()
@ -33,7 +34,7 @@ class MainTabController: UITabBarController, UITabBarControllerDelegate {
let (controller, viewModel) = coordinator.start() let (controller, viewModel) = coordinator.start()
controller.tabBarItem = UITabBarItem(title: NSLocalizedString("History", comment: ""), controller.tabBarItem = UITabBarItem(title: NSLocalizedString("History", comment: ""),
image: UIImage(systemName: "clock.arrow.circlepath"), tag: 0) image: UIImage(systemName: "clock.arrow.circlepath"), tag: 0)
viewControllers?.insert(controller, at: 0) viewControllers = [controller]
historyViewModel = viewModel historyViewModel = viewModel
} }
@ -43,7 +44,7 @@ class MainTabController: UITabBarController, UITabBarControllerDelegate {
let controller = coordinator.start(output: self) let controller = coordinator.start(output: self)
controller.tabBarItem = UITabBarItem(title: NSLocalizedString("Records", comment: ""), controller.tabBarItem = UITabBarItem(title: NSLocalizedString("Records", comment: ""),
image: UIImage(named: "record"), tag: 0) image: UIImage(named: "record"), tag: 0)
viewControllers?[1] = controller viewControllers?.append(controller)
} }
func addDummyTab() { func addDummyTab() {