BrokerDriver.xcodeproj/project.pbxproj
@@ -7,6 +7,12 @@ objects = { /* Begin PBXBuildFile section */ 1309ADF829F77F7700F5FA26 /* Impact.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 1309ADF729F77F7700F5FA26 /* Impact.ttf */; }; 1309ADFB29F7840500F5FA26 /* Currency+Exception.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1309ADFA29F7840500F5FA26 /* Currency+Exception.swift */; }; 1309ADFF29F7848C00F5FA26 /* WalletTCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1309ADFD29F7848C00F5FA26 /* WalletTCell.swift */; }; 1309AE0029F7848C00F5FA26 /* WalletTCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1309ADFE29F7848C00F5FA26 /* WalletTCell.xib */; }; 1309AE0329F788D900F5FA26 /* PersonalDataVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1309AE0129F788D900F5FA26 /* PersonalDataVC.swift */; }; 1309AE0429F788D900F5FA26 /* PersonalDataVC.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1309AE0229F788D900F5FA26 /* PersonalDataVC.xib */; }; 138DA4B829F62F9500A71FE7 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 138DA4B729F62F9500A71FE7 /* AppDelegate.swift */; }; 138DA4BA29F62F9500A71FE7 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 138DA4B929F62F9500A71FE7 /* SceneDelegate.swift */; }; 138DA4BF29F62F9500A71FE7 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 138DA4BD29F62F9500A71FE7 /* Main.storyboard */; }; @@ -19,6 +25,13 @@ 138DA4D929F6305600A71FE7 /* LoginVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 138DA4D329F6305600A71FE7 /* LoginVC.swift */; }; 138DA4DA29F6305600A71FE7 /* LoginVC.xib in Resources */ = {isa = PBXBuildFile; fileRef = 138DA4D429F6305600A71FE7 /* LoginVC.xib */; }; 13941CDF29F6901D00AB569F /* BaseTableView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 13941CDE29F6901D00AB569F /* BaseTableView.swift */; }; 13941CE329F763C900AB569F /* PersonalCenterVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 13941CE129F763C900AB569F /* PersonalCenterVC.swift */; }; 13941CE429F763C900AB569F /* PersonalCenterVC.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13941CE229F763C900AB569F /* PersonalCenterVC.xib */; }; 13941CE829F76BF400AB569F /* CompanyVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 13941CE629F76BF400AB569F /* CompanyVC.swift */; }; 13941CE929F76BF400AB569F /* CompanyVC.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13941CE729F76BF400AB569F /* CompanyVC.xib */; }; 13941CEB29F7728300AB569F /* TapButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 13941CEA29F7728300AB569F /* TapButton.swift */; }; 13941CEE29F77A7F00AB569F /* PersonalWalletVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 13941CEC29F77A7F00AB569F /* PersonalWalletVC.swift */; }; 13941CEF29F77A7F00AB569F /* PersonalWalletVC.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13941CED29F77A7F00AB569F /* PersonalWalletVC.xib */; }; 139F0F7329F65497007D9EA4 /* ForgotPwdVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 139F0F7129F65497007D9EA4 /* ForgotPwdVC.swift */; }; 139F0F7429F65497007D9EA4 /* ForgotPwdVC.xib in Resources */ = {isa = PBXBuildFile; fileRef = 139F0F7229F65497007D9EA4 /* ForgotPwdVC.xib */; }; 139F0F7829F6589F007D9EA4 /* HomeVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 139F0F7729F6589F007D9EA4 /* HomeVC.swift */; }; @@ -32,6 +45,12 @@ /* End PBXBuildFile section */ /* Begin PBXFileReference section */ 1309ADF729F77F7700F5FA26 /* Impact.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = Impact.ttf; sourceTree = "<group>"; }; 1309ADFA29F7840500F5FA26 /* Currency+Exception.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Currency+Exception.swift"; sourceTree = "<group>"; }; 1309ADFD29F7848C00F5FA26 /* WalletTCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WalletTCell.swift; sourceTree = "<group>"; }; 1309ADFE29F7848C00F5FA26 /* WalletTCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = WalletTCell.xib; sourceTree = "<group>"; }; 1309AE0129F788D900F5FA26 /* PersonalDataVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PersonalDataVC.swift; sourceTree = "<group>"; }; 1309AE0229F788D900F5FA26 /* PersonalDataVC.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = PersonalDataVC.xib; sourceTree = "<group>"; }; 138DA4B429F62F9500A71FE7 /* BrokerDriver.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = BrokerDriver.app; sourceTree = BUILT_PRODUCTS_DIR; }; 138DA4B729F62F9500A71FE7 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; }; 138DA4B929F62F9500A71FE7 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; }; @@ -46,6 +65,13 @@ 138DA4D329F6305600A71FE7 /* LoginVC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LoginVC.swift; sourceTree = "<group>"; }; 138DA4D429F6305600A71FE7 /* LoginVC.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = LoginVC.xib; sourceTree = "<group>"; }; 13941CDE29F6901D00AB569F /* BaseTableView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BaseTableView.swift; sourceTree = "<group>"; }; 13941CE129F763C900AB569F /* PersonalCenterVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PersonalCenterVC.swift; sourceTree = "<group>"; }; 13941CE229F763C900AB569F /* PersonalCenterVC.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = PersonalCenterVC.xib; sourceTree = "<group>"; }; 13941CE629F76BF400AB569F /* CompanyVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CompanyVC.swift; sourceTree = "<group>"; }; 13941CE729F76BF400AB569F /* CompanyVC.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = CompanyVC.xib; sourceTree = "<group>"; }; 13941CEA29F7728300AB569F /* TapButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TapButton.swift; sourceTree = "<group>"; }; 13941CEC29F77A7F00AB569F /* PersonalWalletVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PersonalWalletVC.swift; sourceTree = "<group>"; }; 13941CED29F77A7F00AB569F /* PersonalWalletVC.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = PersonalWalletVC.xib; sourceTree = "<group>"; }; 139F0F7129F65497007D9EA4 /* ForgotPwdVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ForgotPwdVC.swift; sourceTree = "<group>"; }; 139F0F7229F65497007D9EA4 /* ForgotPwdVC.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = ForgotPwdVC.xib; sourceTree = "<group>"; }; 139F0F7729F6589F007D9EA4 /* HomeVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HomeVC.swift; sourceTree = "<group>"; }; @@ -72,6 +98,30 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ 1309ADF629F77F5C00F5FA26 /* Resouses */ = { isa = PBXGroup; children = ( 1309ADF729F77F7700F5FA26 /* Impact.ttf */, ); path = Resouses; sourceTree = "<group>"; }; 1309ADF929F783ED00F5FA26 /* New Group */ = { isa = PBXGroup; children = ( ); path = "New Group"; sourceTree = "<group>"; }; 1309ADFC29F7844900F5FA26 /* TCell */ = { isa = PBXGroup; children = ( 1309ADFD29F7848C00F5FA26 /* WalletTCell.swift */, 1309ADFE29F7848C00F5FA26 /* WalletTCell.xib */, ); path = TCell; sourceTree = "<group>"; }; 138DA4AB29F62F9500A71FE7 = { isa = PBXGroup; children = ( @@ -93,6 +143,9 @@ 138DA4B629F62F9500A71FE7 /* BrokerDriver */ = { isa = PBXGroup; children = ( 1309ADF929F783ED00F5FA26 /* New Group */, 1309ADF629F77F5C00F5FA26 /* Resouses */, 13941CE029F7638600AB569F /* Profile */, 138DA4B729F62F9500A71FE7 /* AppDelegate.swift */, 138DA4C029F62F9700A71FE7 /* Assets.xcassets */, 138DA4CC29F6305600A71FE7 /* Base */, @@ -115,6 +168,7 @@ 138DA4CE29F6305600A71FE7 /* BaseNavigationController.swift */, 139F0F8429F68B90007D9EA4 /* BaseTCell.swift */, 13941CDE29F6901D00AB569F /* BaseTableView.swift */, 13941CEA29F7728300AB569F /* TapButton.swift */, ); path = Base; sourceTree = "<group>"; @@ -123,6 +177,7 @@ isa = PBXGroup; children = ( 138DA4D029F6305600A71FE7 /* Colors+Exception.swift */, 1309ADFA29F7840500F5FA26 /* Currency+Exception.swift */, ); path = Exception; sourceTree = "<group>"; @@ -142,6 +197,30 @@ 138DA4D429F6305600A71FE7 /* LoginVC.xib */, 139F0F7129F65497007D9EA4 /* ForgotPwdVC.swift */, 139F0F7229F65497007D9EA4 /* ForgotPwdVC.xib */, ); path = VC; sourceTree = "<group>"; }; 13941CE029F7638600AB569F /* Profile */ = { isa = PBXGroup; children = ( 1309ADFC29F7844900F5FA26 /* TCell */, 13941CE529F763CD00AB569F /* VC */, ); path = Profile; sourceTree = "<group>"; }; 13941CE529F763CD00AB569F /* VC */ = { isa = PBXGroup; children = ( 13941CE129F763C900AB569F /* PersonalCenterVC.swift */, 13941CE229F763C900AB569F /* PersonalCenterVC.xib */, 13941CE629F76BF400AB569F /* CompanyVC.swift */, 13941CE729F76BF400AB569F /* CompanyVC.xib */, 13941CEC29F77A7F00AB569F /* PersonalWalletVC.swift */, 13941CED29F77A7F00AB569F /* PersonalWalletVC.xib */, 1309AE0129F788D900F5FA26 /* PersonalDataVC.swift */, 1309AE0229F788D900F5FA26 /* PersonalDataVC.xib */, ); path = VC; sourceTree = "<group>"; @@ -253,11 +332,17 @@ buildActionMask = 2147483647; files = ( 139F0F8329F689F9007D9EA4 /* HomeItemTCell.xib in Resources */, 1309AE0029F7848C00F5FA26 /* WalletTCell.xib in Resources */, 13941CE429F763C900AB569F /* PersonalCenterVC.xib in Resources */, 138DA4C429F62F9700A71FE7 /* LaunchScreen.storyboard in Resources */, 138DA4C129F62F9700A71FE7 /* Assets.xcassets in Resources */, 1309ADF829F77F7700F5FA26 /* Impact.ttf in Resources */, 138DA4DA29F6305600A71FE7 /* LoginVC.xib in Resources */, 139F0F7429F65497007D9EA4 /* ForgotPwdVC.xib in Resources */, 13941CE929F76BF400AB569F /* CompanyVC.xib in Resources */, 138DA4BF29F62F9500A71FE7 /* Main.storyboard in Resources */, 1309AE0429F788D900F5FA26 /* PersonalDataVC.xib in Resources */, 13941CEF29F77A7F00AB569F /* PersonalWalletVC.xib in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -312,6 +397,7 @@ files = ( 138DA4B829F62F9500A71FE7 /* AppDelegate.swift in Sources */, 139F0F7329F65497007D9EA4 /* ForgotPwdVC.swift in Sources */, 13941CE829F76BF400AB569F /* CompanyVC.swift in Sources */, 139F0F7E29F6713A007D9EA4 /* HomePageVC.swift in Sources */, 138DA4D829F6305600A71FE7 /* Colors+Exception.swift in Sources */, 13941CDF29F6901D00AB569F /* BaseTableView.swift in Sources */, @@ -319,12 +405,18 @@ 139F0F7A29F66EB7007D9EA4 /* HomeHeaderVC.swift in Sources */, 138DA4D929F6305600A71FE7 /* LoginVC.swift in Sources */, 139F0F8529F68B90007D9EA4 /* BaseTCell.swift in Sources */, 13941CEE29F77A7F00AB569F /* PersonalWalletVC.swift in Sources */, 138DA4D629F6305600A71FE7 /* BaseViewController.swift in Sources */, 1309AE0329F788D900F5FA26 /* PersonalDataVC.swift in Sources */, 1309ADFB29F7840500F5FA26 /* Currency+Exception.swift in Sources */, 139F0F7C29F67091007D9EA4 /* HomeMenuVC.swift in Sources */, 139F0F8229F689F9007D9EA4 /* HomeItemTCell.swift in Sources */, 13941CEB29F7728300AB569F /* TapButton.swift in Sources */, 138DA4BA29F62F9500A71FE7 /* SceneDelegate.swift in Sources */, 138DA4D729F6305600A71FE7 /* BaseNavigationController.swift in Sources */, 138DA4D529F6305600A71FE7 /* Def.swift in Sources */, 1309ADFF29F7848C00F5FA26 /* WalletTCell.swift in Sources */, 13941CE329F763C900AB569F /* PersonalCenterVC.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; BrokerDriver/Assets.xcassets/Icon/icon_arrow.imageset/Contents.json
New file @@ -0,0 +1,22 @@ { "images" : [ { "idiom" : "universal", "scale" : "1x" }, { "filename" : "icon_arrow@2x.png", "idiom" : "universal", "scale" : "2x" }, { "filename" : "icon_arrow@3x.png", "idiom" : "universal", "scale" : "3x" } ], "info" : { "author" : "xcode", "version" : 1 } } BrokerDriver/Assets.xcassets/Icon/icon_arrow.imageset/icon_arrow@2x.png
BrokerDriver/Assets.xcassets/Icon/icon_arrow.imageset/icon_arrow@3x.png
BrokerDriver/Assets.xcassets/Icon/icon_company.imageset/Contents.json
New file @@ -0,0 +1,22 @@ { "images" : [ { "idiom" : "universal", "scale" : "1x" }, { "filename" : "icon_company@2x.png", "idiom" : "universal", "scale" : "2x" }, { "filename" : "icon_company@3x.png", "idiom" : "universal", "scale" : "3x" } ], "info" : { "author" : "xcode", "version" : 1 } } BrokerDriver/Assets.xcassets/Icon/icon_company.imageset/icon_company@2x.png
BrokerDriver/Assets.xcassets/Icon/icon_company.imageset/icon_company@3x.png
BrokerDriver/Assets.xcassets/Icon/icon_large_logo.imageset/Contents.json
New file @@ -0,0 +1,22 @@ { "images" : [ { "idiom" : "universal", "scale" : "1x" }, { "filename" : "icon_large_logo.png", "idiom" : "universal", "scale" : "2x" }, { "filename" : "icon_large_logo@3x.png", "idiom" : "universal", "scale" : "3x" } ], "info" : { "author" : "xcode", "version" : 1 } } BrokerDriver/Assets.xcassets/Icon/icon_large_logo.imageset/icon_large_logo.png
BrokerDriver/Assets.xcassets/Icon/icon_large_logo.imageset/icon_large_logo@3x.png
BrokerDriver/Assets.xcassets/Icon/icon_wallet.imageset/Contents.json
New file @@ -0,0 +1,22 @@ { "images" : [ { "idiom" : "universal", "scale" : "1x" }, { "filename" : "icon_wallet@2x.png", "idiom" : "universal", "scale" : "2x" }, { "filename" : "icon_wallet@3x.png", "idiom" : "universal", "scale" : "3x" } ], "info" : { "author" : "xcode", "version" : 1 } } BrokerDriver/Assets.xcassets/Icon/icon_wallet.imageset/icon_wallet@2x.png
BrokerDriver/Assets.xcassets/Icon/icon_wallet.imageset/icon_wallet@3x.png
BrokerDriver/Base/TapButton.swift
New file @@ -0,0 +1,10 @@ // // TapButton.swift // BrokerDriver // // Created by 无故事王国 on 2023/4/25. // import UIKit class TapButton: UIButton {} BrokerDriver/Exception/Currency+Exception.swift
New file @@ -0,0 +1,26 @@ // // Currency+Exception.swift // BrokerDriver // // Created by 无故事王国 on 2023/4/25. // import Foundation extension Int{ func currency()->String{ let formatter = NumberFormatter() formatter.numberStyle = .decimal formatter.positivePrefix = "$" return formatter.string(from: NSNumber(value: self)) ?? "$0" } } extension Double{ func currency()->String{ let formatter = NumberFormatter() formatter.numberStyle = .decimal formatter.positivePrefix = "$" return formatter.string(from: NSNumber(value: Int(self))) ?? "$0" } } BrokerDriver/Home/VC/HomeVC.swift
@@ -15,7 +15,7 @@ let adapterViewController = FFAdapterViewController() adapterViewController.headHeight = JQ_ScreenW * 0.50 adapterViewController.menuHeight = 108 adapterViewController.style = .subRefresh adapterViewController.style = .headEnlarge adapterViewController.ignoreTopSpeace = topSafeHeight adapterViewController.headViewController = headerViewController adapterViewController.menuViewController = menuViewController @@ -56,7 +56,8 @@ } @objc func profileAction(){ let vc = PersonalCenterVC() push(vc: vc) } } BrokerDriver/Info.plist
@@ -2,6 +2,10 @@ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>UIAppFonts</key> <array> <string>Impact.ttf</string> </array> <key>UIApplicationSceneManifest</key> <dict> <key>UIApplicationSupportsMultipleScenes</key> BrokerDriver/Profile/TCell/WalletTCell.swift
New file @@ -0,0 +1,28 @@ // // WalletTCell.swift // BrokerDriver // // Created by 无故事王国 on 2023/4/25. // import UIKit class WalletTCell: UITableViewCell { @IBOutlet weak var view_container: UIView! override func awakeFromNib() { super.awakeFromNib() selectionStyle = .none } override func layoutSubviews() { super.layoutSubviews() view_container.layer.shadowOpacity = 0.4 view_container.layer.shadowRadius = 4 view_container.layer.shadowOffset = CGSize(width: 1, height: 1) view_container.layer.shouldRasterize = true view_container.layer.shadowColor = UIColor.color("#D8D8D8").cgColor view_container.layer.rasterizationScale = UIScreen.main.scale } } BrokerDriver/Profile/TCell/WalletTCell.xib
New file @@ -0,0 +1,125 @@ <?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> <deployment identifier="iOS"/> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21678"/> <capability name="Safe area layout guides" minToolsVersion="9.0"/> <capability name="System colors in document resources" minToolsVersion="11.0"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> </dependencies> <objects> <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/> <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/> <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="_WalletTCell" rowHeight="134" id="KGk-i7-Jjw" customClass="WalletTCell" customModule="BrokerDriver" customModuleProvider="target"> <rect key="frame" x="0.0" y="0.0" width="382" height="134"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM"> <rect key="frame" x="0.0" y="0.0" width="382" height="134"/> <autoresizingMask key="autoresizingMask"/> <subviews> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="tvd-re-KSz"> <rect key="frame" x="14" y="4" width="354" height="126"/> <subviews> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="yFl-NK-kEv"> <rect key="frame" x="7" y="9" width="37.666666666666664" height="17"/> <constraints> <constraint firstAttribute="height" constant="17" id="dkf-07-vPT"/> </constraints> <fontDescription key="fontDescription" type="boldSystem" pointSize="14"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="0.69999999999999996" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> </label> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="$0" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="WoI-PJ-0sK"> <rect key="frame" x="7" y="34" width="19" height="17"/> <constraints> <constraint firstAttribute="height" constant="17" id="ufD-ls-bLm"/> </constraints> <fontDescription key="fontDescription" type="boldSystem" pointSize="14"/> <color key="textColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> </label> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="IcE-m0-3Yl"> <rect key="frame" x="7" y="58" width="347" height="0.6666666666666643"/> <color key="backgroundColor" red="0.84705882352941175" green="0.84705882352941175" blue="0.84705882352941175" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstAttribute="height" constant="0.5" id="Snv-zc-V3F"/> </constraints> </view> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="BOE-P3-HcU"> <rect key="frame" x="276" y="15" width="71" height="31"/> <color key="backgroundColor" red="0.7803921568627451" green="0.043137254901960784" blue="0.043137254901960784" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstAttribute="height" constant="31" id="5Ao-Lc-ufW"/> <constraint firstAttribute="width" constant="71" id="aoz-EQ-VQA"/> </constraints> <fontDescription key="fontDescription" type="boldSystem" pointSize="16"/> <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/> <state key="normal" title="UnPaid"/> <state key="disabled" title="Paid"/> <userDefinedRuntimeAttributes> <userDefinedRuntimeAttribute type="number" keyPath="ld_cornerRadiusXIB"> <real key="value" value="4"/> </userDefinedRuntimeAttribute> </userDefinedRuntimeAttributes> </button> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Invoices time:--" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="oAm-kA-bZi"> <rect key="frame" x="7" y="68.666666666666671" width="340" height="14"/> <constraints> <constraint firstAttribute="height" constant="14" id="nhC-rd-4vT"/> </constraints> <fontDescription key="fontDescription" type="system" pointSize="12"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="0.69999999999999996" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> </label> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Due date:--" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fcC-CD-liB"> <rect key="frame" x="7" y="89.666666666666671" width="340" height="14"/> <constraints> <constraint firstAttribute="height" constant="14" id="NHn-uy-4uk"/> </constraints> <fontDescription key="fontDescription" type="system" pointSize="12"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="0.69999999999999996" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> </label> </subviews> <color key="backgroundColor" systemColor="systemBackgroundColor"/> <constraints> <constraint firstItem="WoI-PJ-0sK" firstAttribute="leading" secondItem="yFl-NK-kEv" secondAttribute="leading" id="2fZ-nI-lFW"/> <constraint firstItem="IcE-m0-3Yl" firstAttribute="top" secondItem="WoI-PJ-0sK" secondAttribute="bottom" constant="7" id="4y8-aC-Srz"/> <constraint firstAttribute="trailing" secondItem="fcC-CD-liB" secondAttribute="trailing" constant="7" id="5v6-gO-ucG"/> <constraint firstItem="IcE-m0-3Yl" firstAttribute="top" secondItem="BOE-P3-HcU" secondAttribute="bottom" constant="12" id="7UI-nT-Fh0"/> <constraint firstItem="fcC-CD-liB" firstAttribute="top" secondItem="oAm-kA-bZi" secondAttribute="bottom" constant="7" id="Iah-7R-4kr"/> <constraint firstItem="yFl-NK-kEv" firstAttribute="leading" secondItem="tvd-re-KSz" secondAttribute="leading" constant="7" id="JmY-8R-35t"/> <constraint firstItem="oAm-kA-bZi" firstAttribute="top" secondItem="IcE-m0-3Yl" secondAttribute="bottom" constant="10" id="UL2-vv-gi9"/> <constraint firstItem="fcC-CD-liB" firstAttribute="leading" secondItem="tvd-re-KSz" secondAttribute="leading" constant="7" id="WCG-gc-Wdm"/> <constraint firstAttribute="trailing" secondItem="IcE-m0-3Yl" secondAttribute="trailing" id="aY8-yn-JgV"/> <constraint firstAttribute="bottom" secondItem="fcC-CD-liB" secondAttribute="bottom" priority="750" constant="10" id="bcr-TF-PLH"/> <constraint firstItem="IcE-m0-3Yl" firstAttribute="leading" secondItem="tvd-re-KSz" secondAttribute="leading" constant="7" id="bd5-df-6xw"/> <constraint firstItem="WoI-PJ-0sK" firstAttribute="top" secondItem="yFl-NK-kEv" secondAttribute="bottom" constant="8" id="ga0-lT-jzH"/> <constraint firstItem="oAm-kA-bZi" firstAttribute="leading" secondItem="tvd-re-KSz" secondAttribute="leading" constant="7" id="k3x-mR-iPq"/> <constraint firstAttribute="trailing" secondItem="BOE-P3-HcU" secondAttribute="trailing" constant="7" id="kmS-0R-7gl"/> <constraint firstAttribute="trailing" secondItem="oAm-kA-bZi" secondAttribute="trailing" constant="7" id="oib-93-fFb"/> <constraint firstItem="yFl-NK-kEv" firstAttribute="top" secondItem="tvd-re-KSz" secondAttribute="top" constant="9" id="sn2-3K-N2t"/> </constraints> </view> </subviews> <constraints> <constraint firstItem="tvd-re-KSz" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="4" id="BUm-EP-i5i"/> <constraint firstItem="tvd-re-KSz" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="14" id="Sgt-Gw-VxD"/> <constraint firstAttribute="bottom" secondItem="tvd-re-KSz" secondAttribute="bottom" constant="4" id="dpe-yZ-WC6"/> <constraint firstAttribute="trailing" secondItem="tvd-re-KSz" secondAttribute="trailing" constant="14" id="s0x-a5-PuK"/> </constraints> </tableViewCellContentView> <viewLayoutGuide key="safeArea" id="njF-e1-oar"/> <connections> <outlet property="view_container" destination="tvd-re-KSz" id="QWb-b2-jdR"/> </connections> <point key="canvasLocation" x="131.29770992366412" y="49.295774647887328"/> </tableViewCell> </objects> <resources> <systemColor name="systemBackgroundColor"> <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> </systemColor> </resources> </document> BrokerDriver/Profile/VC/CompanyVC.swift
New file @@ -0,0 +1,17 @@ // // CompanyVC.swift // BrokerDriver // // Created by 无故事王国 on 2023/4/25. // import UIKit class CompanyVC: BaseViewController { override func viewDidLoad() { super.viewDidLoad() title = "Company Infomation" view.backgroundColor = UIColor(hexStr: "#F9FAFF") } } BrokerDriver/Profile/VC/CompanyVC.xib
New file @@ -0,0 +1,193 @@ <?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> <deployment identifier="iOS"/> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21678"/> <capability name="Safe area layout guides" minToolsVersion="9.0"/> <capability name="System colors in document resources" minToolsVersion="11.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="CompanyVC" customModule="BrokerDriver" customModuleProvider="target"> <connections> <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> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="HlU-9g-Mc7"> <rect key="frame" x="12" y="68" width="369" height="295.66666666666669"/> <subviews> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Company Infomation" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="daz-8X-ciN"> <rect key="frame" x="13" y="12" width="183.66666666666666" height="26"/> <constraints> <constraint firstAttribute="height" constant="26" id="uqe-bP-79n"/> </constraints> <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="19"/> <nil key="textColor"/> <nil key="highlightedColor"/> </label> <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon_large_logo" translatesAutoresizingMaskIntoConstraints="NO" id="le9-T0-DTf"> <rect key="frame" x="9" y="47" width="351" height="84"/> <constraints> <constraint firstAttribute="height" constant="84" id="wwU-wp-4Wd"/> </constraints> </imageView> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="FIs-77-fzg"> <rect key="frame" x="13" y="142" width="354" height="0.66666666666665719"/> <color key="backgroundColor" red="0.84705882352941175" green="0.84705882352941175" blue="0.84705882352941175" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstAttribute="height" constant="0.5" id="wBN-52-Fa5"/> </constraints> </view> <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="Gbd-cQ-kbF"> <rect key="frame" x="13" y="158.66666666666666" width="343" height="125.99999999999997"/> <subviews> <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="VA4-Xc-xsI"> <rect key="frame" x="0.0" y="0.0" width="343" height="126"/> <subviews> <stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" translatesAutoresizingMaskIntoConstraints="NO" id="7BE-RU-tgQ"> <rect key="frame" x="0.0" y="0.0" width="343" height="14.333333333333334"/> <subviews> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Company name: " lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="joi-WN-v8i"> <rect key="frame" x="0.0" y="0.0" width="171.66666666666666" height="14.333333333333334"/> <fontDescription key="fontDescription" type="system" pointSize="12"/> <color key="textColor" red="0.1803921568627451" green="0.1803921568627451" blue="0.1803921568627451" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> </label> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="UTL lnc" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DhS-px-eqI"> <rect key="frame" x="171.66666666666663" y="0.0" width="171.33333333333337" height="14.333333333333334"/> <fontDescription key="fontDescription" type="boldSystem" pointSize="12"/> <color key="textColor" red="0.18039215689999999" green="0.18039215689999999" blue="0.18039215689999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> </label> </subviews> </stackView> <stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" translatesAutoresizingMaskIntoConstraints="NO" id="tG9-qT-vnj"> <rect key="frame" x="0.0" y="22.333333333333343" width="343" height="14.333333333333336"/> <subviews> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Scac code: " lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fUF-MH-OvD"> <rect key="frame" x="0.0" y="0.0" width="171.66666666666666" height="14.333333333333334"/> <fontDescription key="fontDescription" type="system" pointSize="12"/> <color key="textColor" red="0.18039215689999999" green="0.18039215689999999" blue="0.18039215689999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> </label> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="3900252" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="27o-FI-26t"> <rect key="frame" x="171.66666666666663" y="0.0" width="171.33333333333337" height="14.333333333333334"/> <fontDescription key="fontDescription" type="boldSystem" pointSize="12"/> <color key="textColor" red="0.18039215689999999" green="0.18039215689999999" blue="0.18039215689999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> </label> </subviews> </stackView> <stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" translatesAutoresizingMaskIntoConstraints="NO" id="jLA-WG-G7o"> <rect key="frame" x="0.0" y="44.666666666666657" width="343" height="14.333333333333336"/> <subviews> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Address: " lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3uG-gO-2bx"> <rect key="frame" x="0.0" y="0.0" width="171.66666666666666" height="14.333333333333334"/> <fontDescription key="fontDescription" type="system" pointSize="12"/> <color key="textColor" red="0.18039215689999999" green="0.18039215689999999" blue="0.18039215689999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> </label> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Ontario,CA 91761" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="rcc-2G-rhV"> <rect key="frame" x="171.66666666666663" y="0.0" width="171.33333333333337" height="14.333333333333334"/> <fontDescription key="fontDescription" type="boldSystem" pointSize="12"/> <color key="textColor" red="0.18039215689999999" green="0.18039215689999999" blue="0.18039215689999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> </label> </subviews> </stackView> <stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" translatesAutoresizingMaskIntoConstraints="NO" id="t2z-Xh-7zH"> <rect key="frame" x="0.0" y="67.000000000000028" width="343" height="14.333333333333329"/> <subviews> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Contact phone: " lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="wao-Ke-P18"> <rect key="frame" x="0.0" y="0.0" width="171.66666666666666" height="14.333333333333334"/> <fontDescription key="fontDescription" type="system" pointSize="12"/> <color key="textColor" red="0.18039215689999999" green="0.18039215689999999" blue="0.18039215689999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> </label> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="+1(626)592-8659" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Gls-pb-IPA"> <rect key="frame" x="171.66666666666663" y="0.0" width="171.33333333333337" height="14.333333333333334"/> <fontDescription key="fontDescription" type="boldSystem" pointSize="12"/> <color key="textColor" red="0.18039215689999999" green="0.18039215689999999" blue="0.18039215689999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> </label> </subviews> </stackView> <stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" translatesAutoresizingMaskIntoConstraints="NO" id="PFC-s9-qk0"> <rect key="frame" x="0.0" y="89.333333333333343" width="343" height="14.333333333333329"/> <subviews> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Contact email: " lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ix2-jL-fol"> <rect key="frame" x="0.0" y="0.0" width="171.66666666666666" height="14.333333333333334"/> <fontDescription key="fontDescription" type="system" pointSize="12"/> <color key="textColor" red="0.18039215689999999" green="0.18039215689999999" blue="0.18039215689999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> </label> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="info@utlinternationa.com" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="d2Y-Go-fPi"> <rect key="frame" x="171.66666666666663" y="0.0" width="171.33333333333337" height="14.333333333333334"/> <fontDescription key="fontDescription" type="boldSystem" pointSize="12"/> <color key="textColor" red="0.18039215689999999" green="0.18039215689999999" blue="0.18039215689999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> </label> </subviews> </stackView> <stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" translatesAutoresizingMaskIntoConstraints="NO" id="rSn-pm-Yjr"> <rect key="frame" x="0.0" y="111.66666666666666" width="343" height="14.333333333333329"/> <subviews> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Set up the time: " lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="igW-aB-otv"> <rect key="frame" x="0.0" y="0.0" width="171.66666666666666" height="14.333333333333334"/> <fontDescription key="fontDescription" type="system" pointSize="12"/> <color key="textColor" red="0.18039215689999999" green="0.18039215689999999" blue="0.18039215689999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> </label> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="12/5/2022" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="e4s-Pq-mjz"> <rect key="frame" x="171.66666666666663" y="0.0" width="171.33333333333337" height="14.333333333333334"/> <fontDescription key="fontDescription" type="boldSystem" pointSize="12"/> <color key="textColor" red="0.18039215689999999" green="0.18039215689999999" blue="0.18039215689999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> </label> </subviews> </stackView> </subviews> </stackView> </subviews> </stackView> </subviews> <color key="backgroundColor" systemColor="systemBackgroundColor"/> <constraints> <constraint firstAttribute="trailing" secondItem="FIs-77-fzg" secondAttribute="trailing" constant="2" id="3Cb-dm-ueh"/> <constraint firstAttribute="trailing" secondItem="Gbd-cQ-kbF" secondAttribute="trailing" constant="13" id="9co-hV-IbD"/> <constraint firstItem="le9-T0-DTf" firstAttribute="leading" secondItem="HlU-9g-Mc7" secondAttribute="leading" constant="9" id="MRt-oB-hpX"/> <constraint firstItem="FIs-77-fzg" firstAttribute="top" secondItem="le9-T0-DTf" secondAttribute="bottom" constant="11" id="Ub5-ca-Sua"/> <constraint firstItem="Gbd-cQ-kbF" firstAttribute="leading" secondItem="HlU-9g-Mc7" secondAttribute="leading" constant="13" id="dfx-CW-orE"/> <constraint firstItem="le9-T0-DTf" firstAttribute="top" secondItem="daz-8X-ciN" secondAttribute="bottom" constant="9" id="fWJ-QJ-Rh3"/> <constraint firstAttribute="trailing" secondItem="le9-T0-DTf" secondAttribute="trailing" constant="9" id="ksI-Eb-JVD"/> <constraint firstItem="FIs-77-fzg" firstAttribute="leading" secondItem="HlU-9g-Mc7" secondAttribute="leading" constant="13" id="lg7-zE-a5p"/> <constraint firstItem="Gbd-cQ-kbF" firstAttribute="top" secondItem="FIs-77-fzg" secondAttribute="bottom" constant="16" id="sEu-kZ-6Ua"/> <constraint firstItem="daz-8X-ciN" firstAttribute="top" secondItem="HlU-9g-Mc7" secondAttribute="top" constant="12" id="sMy-XR-Hk2"/> <constraint firstItem="daz-8X-ciN" firstAttribute="leading" secondItem="HlU-9g-Mc7" secondAttribute="leading" constant="13" id="z0Q-YI-KA5"/> <constraint firstAttribute="bottom" secondItem="Gbd-cQ-kbF" secondAttribute="bottom" constant="11" id="z5u-l7-hmn"/> </constraints> </view> </subviews> <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/> <color key="backgroundColor" systemColor="systemBackgroundColor"/> <constraints> <constraint firstItem="HlU-9g-Mc7" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" constant="9" id="9gh-xh-69v"/> <constraint firstItem="HlU-9g-Mc7" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" constant="12" id="Tn8-JI-hVc"/> <constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="HlU-9g-Mc7" secondAttribute="trailing" constant="12" id="dEI-mz-12H"/> </constraints> <point key="canvasLocation" x="140" y="21"/> </view> </objects> <resources> <image name="icon_large_logo" width="333" height="84"/> <systemColor name="systemBackgroundColor"> <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> </systemColor> </resources> </document> BrokerDriver/Profile/VC/PersonalCenterVC.swift
New file @@ -0,0 +1,31 @@ // // PersonalCenterVC.swift // BrokerDriver // // Created by 无故事王国 on 2023/4/25. // import UIKit class PersonalCenterVC: BaseViewController { override func viewDidLoad() { super.viewDidLoad() title = "Personal Center" } @IBAction func profileAction(_ sender: TapButton) { let vc = PersonalDataVC() push(vc: vc) } @IBAction func walletAction(_ sender: TapButton) { let vc = PersonalWalletVC() push(vc: vc) } @IBAction func truckCompanyAction(_ sender: TapButton) { let vc = CompanyVC() push(vc: vc) } } BrokerDriver/Profile/VC/PersonalCenterVC.xib
New file @@ -0,0 +1,208 @@ <?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> <deployment identifier="iOS"/> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21678"/> <capability name="Safe area layout guides" minToolsVersion="9.0"/> <capability name="System colors in document resources" minToolsVersion="11.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="PersonalCenterVC" customModule="BrokerDriver" customModuleProvider="target"> <connections> <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> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Rjz-t5-bgx" customClass="TapButton" customModule="BrokerDriver" customModuleProvider="target"> <rect key="frame" x="0.0" y="59" width="393" height="75"/> <subviews> <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="4d3-jR-hXM"> <rect key="frame" x="14" y="12.666666666666671" width="50" height="50"/> <constraints> <constraint firstAttribute="width" constant="50" id="jle-UV-3ul"/> <constraint firstAttribute="height" constant="50" id="tJf-7X-8f3"/> </constraints> </imageView> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="r6A-Md-BJ9"> <rect key="frame" x="77" y="18" width="37.666666666666657" height="17"/> <constraints> <constraint firstAttribute="height" constant="17" id="WTx-dL-CKH"/> </constraints> <fontDescription key="fontDescription" type="boldSystem" pointSize="14"/> <color key="textColor" red="0.22352941176470587" green="0.22352941176470587" blue="0.22352941176470587" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <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="tUH-9Q-ush"> <rect key="frame" x="77" y="43" width="11.333333333333329" height="17"/> <constraints> <constraint firstAttribute="height" constant="17" id="Iee-Bu-ihk"/> </constraints> <fontDescription key="fontDescription" type="system" pointSize="12"/> <color key="textColor" red="0.22352941179999999" green="0.22352941179999999" blue="0.22352941179999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> </label> <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon_arrow" translatesAutoresizingMaskIntoConstraints="NO" id="Lme-08-9ur"> <rect key="frame" x="372" y="31.666666666666671" width="7" height="12"/> </imageView> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="w2U-yY-UT4"> <rect key="frame" x="15" y="74.666666666666657" width="363" height="0.3333333333333286"/> <color key="backgroundColor" red="0.84705882352941175" green="0.84705882352941175" blue="0.84705882352941175" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstAttribute="height" constant="0.5" id="Nab-j6-zSD"/> </constraints> </view> </subviews> <color key="backgroundColor" systemColor="systemBackgroundColor"/> <constraints> <constraint firstItem="4d3-jR-hXM" firstAttribute="leading" secondItem="Rjz-t5-bgx" secondAttribute="leading" constant="14" id="0WA-ph-C2v"/> <constraint firstItem="r6A-Md-BJ9" firstAttribute="top" secondItem="Rjz-t5-bgx" secondAttribute="top" constant="18" id="4QZ-5h-vtc"/> <constraint firstItem="w2U-yY-UT4" firstAttribute="leading" secondItem="Rjz-t5-bgx" secondAttribute="leading" constant="15" id="5HG-Rz-pZk"/> <constraint firstAttribute="trailing" secondItem="Lme-08-9ur" secondAttribute="trailing" constant="14" id="CG2-HL-Rbh"/> <constraint firstItem="4d3-jR-hXM" firstAttribute="centerY" secondItem="Rjz-t5-bgx" secondAttribute="centerY" id="Jq8-r1-UVm"/> <constraint firstItem="Lme-08-9ur" firstAttribute="centerY" secondItem="4d3-jR-hXM" secondAttribute="centerY" id="PC6-sF-toD"/> <constraint firstAttribute="bottom" secondItem="w2U-yY-UT4" secondAttribute="bottom" id="TGk-rB-54a"/> <constraint firstItem="r6A-Md-BJ9" firstAttribute="leading" secondItem="4d3-jR-hXM" secondAttribute="trailing" constant="13" id="aoh-j4-YeK"/> <constraint firstAttribute="trailing" secondItem="w2U-yY-UT4" secondAttribute="trailing" constant="15" id="foH-ck-6kn"/> <constraint firstItem="tUH-9Q-ush" firstAttribute="leading" secondItem="r6A-Md-BJ9" secondAttribute="leading" id="lUw-nP-Hfm"/> <constraint firstItem="tUH-9Q-ush" firstAttribute="top" secondItem="r6A-Md-BJ9" secondAttribute="bottom" constant="8" id="sAn-yY-aHf"/> <constraint firstAttribute="height" constant="75" id="ufi-xv-uf1"/> </constraints> <connections> <action selector="profileAction:" destination="-1" eventType="touchUpInside" id="68X-DP-mtI"/> </connections> </view> <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="z75-Hq-0eZ"> <rect key="frame" x="0.0" y="134" width="393" height="150"/> <subviews> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kgh-Wr-bnp" customClass="TapButton" customModule="BrokerDriver" customModuleProvider="target"> <rect key="frame" x="0.0" y="0.0" width="393" height="50"/> <subviews> <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon_wallet" translatesAutoresizingMaskIntoConstraints="NO" id="5IF-fM-1Zx"> <rect key="frame" x="13" y="14" width="22" height="22"/> </imageView> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Wallet" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ryh-JY-H7e"> <rect key="frame" x="44" y="16.666666666666657" width="40" height="17"/> <fontDescription key="fontDescription" type="system" pointSize="14"/> <nil key="textColor"/> <nil key="highlightedColor"/> </label> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="CdD-Pp-Ruf"> <rect key="frame" x="15" y="49" width="363" height="0.6666666666666643"/> <color key="backgroundColor" red="0.84705882352941175" green="0.84705882352941175" blue="0.84705882352941175" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstAttribute="height" constant="0.5" id="nR1-ug-z1U"/> </constraints> </view> </subviews> <color key="backgroundColor" systemColor="systemBackgroundColor"/> <constraints> <constraint firstItem="Ryh-JY-H7e" firstAttribute="centerY" secondItem="kgh-Wr-bnp" secondAttribute="centerY" id="5ye-vK-UxD"/> <constraint firstAttribute="trailing" secondItem="CdD-Pp-Ruf" secondAttribute="trailing" constant="15" id="BNB-73-3Nb"/> <constraint firstItem="5IF-fM-1Zx" firstAttribute="leading" secondItem="kgh-Wr-bnp" secondAttribute="leading" constant="13" id="I48-Wy-nbr"/> <constraint firstAttribute="height" constant="50" id="ILb-Oo-O8a"/> <constraint firstAttribute="bottom" secondItem="CdD-Pp-Ruf" secondAttribute="bottom" constant="0.5" id="YKL-iW-Cwz"/> <constraint firstItem="Ryh-JY-H7e" firstAttribute="leading" secondItem="5IF-fM-1Zx" secondAttribute="trailing" constant="9" id="YNH-4w-MpZ"/> <constraint firstItem="5IF-fM-1Zx" firstAttribute="centerY" secondItem="kgh-Wr-bnp" secondAttribute="centerY" id="bQy-RI-7aX"/> <constraint firstItem="CdD-Pp-Ruf" firstAttribute="leading" secondItem="kgh-Wr-bnp" secondAttribute="leading" constant="15" id="kLe-EN-fBO"/> </constraints> <connections> <action selector="walletAction:" destination="-1" eventType="touchUpInside" id="jv2-AW-77U"/> </connections> </view> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="oP2-vu-GnY" customClass="TapButton" customModule="BrokerDriver" customModuleProvider="target"> <rect key="frame" x="0.0" y="50" width="393" height="50"/> <subviews> <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon_company" translatesAutoresizingMaskIntoConstraints="NO" id="fIo-Um-y2z"> <rect key="frame" x="13" y="14" width="22" height="22"/> </imageView> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Truck Company Information" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="deH-vh-b71"> <rect key="frame" x="43.999999999999986" y="16.666666666666657" width="178.66666666666663" height="17"/> <fontDescription key="fontDescription" type="system" pointSize="14"/> <nil key="textColor"/> <nil key="highlightedColor"/> </label> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ECr-I3-LUb"> <rect key="frame" x="15" y="49" width="363" height="0.6666666666666643"/> <color key="backgroundColor" red="0.84705882349999995" green="0.84705882349999995" blue="0.84705882349999995" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstAttribute="height" constant="0.5" id="lNC-L6-J3T"/> </constraints> </view> </subviews> <color key="backgroundColor" systemColor="systemBackgroundColor"/> <constraints> <constraint firstAttribute="height" constant="50" id="4Oe-z4-2ss"/> <constraint firstAttribute="trailing" secondItem="ECr-I3-LUb" secondAttribute="trailing" constant="15" id="D1Y-QP-YKr"/> <constraint firstItem="fIo-Um-y2z" firstAttribute="leading" secondItem="oP2-vu-GnY" secondAttribute="leading" constant="13" id="MOs-13-7nj"/> <constraint firstItem="ECr-I3-LUb" firstAttribute="leading" secondItem="oP2-vu-GnY" secondAttribute="leading" constant="15" id="Wxj-GN-Vtt"/> <constraint firstAttribute="bottom" secondItem="ECr-I3-LUb" secondAttribute="bottom" constant="0.5" id="cq7-E1-yCJ"/> <constraint firstItem="fIo-Um-y2z" firstAttribute="centerY" secondItem="oP2-vu-GnY" secondAttribute="centerY" id="hst-Dt-Axm"/> <constraint firstItem="deH-vh-b71" firstAttribute="leading" secondItem="fIo-Um-y2z" secondAttribute="trailing" constant="9" id="oFj-In-MGJ"/> <constraint firstItem="deH-vh-b71" firstAttribute="centerY" secondItem="oP2-vu-GnY" secondAttribute="centerY" id="uRP-sB-xun"/> </constraints> <connections> <action selector="truckCompanyAction:" destination="-1" eventType="touchUpInside" id="233-S8-dzl"/> </connections> </view> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Xle-pa-Rqj"> <rect key="frame" x="0.0" y="100" width="393" height="50"/> <subviews> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="BDm-lg-Yfg"> <rect key="frame" x="15" y="49" width="363" height="0.6666666666666643"/> <color key="backgroundColor" red="0.84705882349999995" green="0.84705882349999995" blue="0.84705882349999995" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstAttribute="height" constant="0.5" id="XNR-mf-npp"/> </constraints> </view> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="O31-jA-bnw"> <rect key="frame" x="0.0" y="0.0" width="393" height="49"/> <fontDescription key="fontDescription" type="boldSystem" pointSize="14"/> <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/> <state key="normal" title="Log out"> <color key="titleColor" red="0.92941176470588238" green="0.062745098039215685" blue="0.062745098039215685" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> </state> </button> </subviews> <color key="backgroundColor" systemColor="systemBackgroundColor"/> <constraints> <constraint firstItem="BDm-lg-Yfg" firstAttribute="top" secondItem="O31-jA-bnw" secondAttribute="bottom" id="6Vj-At-ncZ"/> <constraint firstAttribute="trailing" secondItem="BDm-lg-Yfg" secondAttribute="trailing" constant="15" id="A1g-Ax-Ldd"/> <constraint firstAttribute="height" constant="50" id="GqQ-sr-hra"/> <constraint firstAttribute="trailing" secondItem="O31-jA-bnw" secondAttribute="trailing" id="Q6h-E2-A2Q"/> <constraint firstItem="O31-jA-bnw" firstAttribute="leading" secondItem="Xle-pa-Rqj" secondAttribute="leading" id="Qzn-PA-lIV"/> <constraint firstItem="BDm-lg-Yfg" firstAttribute="leading" secondItem="Xle-pa-Rqj" secondAttribute="leading" constant="15" id="gy3-J4-5ov"/> <constraint firstAttribute="bottom" secondItem="BDm-lg-Yfg" secondAttribute="bottom" constant="0.5" id="qPa-8u-iul"/> <constraint firstItem="O31-jA-bnw" firstAttribute="top" secondItem="Xle-pa-Rqj" secondAttribute="top" id="qVq-1H-wQO"/> </constraints> </view> </subviews> </stackView> </subviews> <viewLayoutGuide key="safeArea" id="b9w-Zd-9Za"/> <color key="backgroundColor" systemColor="systemBackgroundColor"/> <constraints> <constraint firstItem="Rjz-t5-bgx" firstAttribute="top" secondItem="b9w-Zd-9Za" secondAttribute="top" id="4Ae-15-IEJ"/> <constraint firstItem="z75-Hq-0eZ" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="CWv-VM-1So"/> <constraint firstItem="z75-Hq-0eZ" firstAttribute="top" secondItem="Rjz-t5-bgx" secondAttribute="bottom" id="R6J-Cb-osI"/> <constraint firstItem="Rjz-t5-bgx" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="Taz-5M-Ttu"/> <constraint firstAttribute="trailing" secondItem="Rjz-t5-bgx" secondAttribute="trailing" id="hmc-Ht-qpE"/> <constraint firstAttribute="trailing" secondItem="z75-Hq-0eZ" secondAttribute="trailing" id="zi5-zB-oei"/> </constraints> <point key="canvasLocation" x="139.69465648854961" y="20.422535211267608"/> </view> </objects> <resources> <image name="icon_arrow" width="7" height="12"/> <image name="icon_company" width="22" height="22"/> <image name="icon_wallet" width="22" height="22"/> <systemColor name="systemBackgroundColor"> <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> </systemColor> </resources> </document> BrokerDriver/Profile/VC/PersonalDataVC.swift
New file @@ -0,0 +1,18 @@ // // PersonalDataVC.swift // BrokerDriver // // Created by 无故事王国 on 2023/4/25. // import UIKit class PersonalDataVC: BaseViewController { override func viewDidLoad() { super.viewDidLoad() title = "Personal data" } } BrokerDriver/Profile/VC/PersonalDataVC.xib
New file @@ -0,0 +1,259 @@ <?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> <deployment identifier="iOS"/> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21678"/> <capability name="Safe area layout guides" minToolsVersion="9.0"/> <capability name="System colors in document resources" minToolsVersion="11.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="PersonalDataVC" customModule="BrokerDriver" customModuleProvider="target"> <connections> <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> <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="ptt-Vu-e1w"> <rect key="frame" x="0.0" y="59" width="393" height="400"/> <subviews> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="xDk-8V-LPQ"> <rect key="frame" x="0.0" y="0.0" width="393" height="50"/> <subviews> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="RUB-1Y-Cfz"> <rect key="frame" x="15" y="49" width="363" height="0.6666666666666643"/> <color key="backgroundColor" red="0.84705882352941175" green="0.84705882352941175" blue="0.84705882352941175" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstAttribute="height" constant="0.5" id="R8a-PW-Z2f"/> </constraints> </view> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Driver Name" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ijA-k8-Dln"> <rect key="frame" x="15" y="16.666666666666671" width="80.333333333333329" height="17"/> <fontDescription key="fontDescription" type="system" pointSize="14"/> <nil key="textColor"/> <nil key="highlightedColor"/> </label> </subviews> <color key="backgroundColor" systemColor="systemBackgroundColor"/> <constraints> <constraint firstItem="ijA-k8-Dln" firstAttribute="centerY" secondItem="xDk-8V-LPQ" secondAttribute="centerY" id="0k4-J5-rpt"/> <constraint firstAttribute="trailing" secondItem="RUB-1Y-Cfz" secondAttribute="trailing" constant="15" id="7pv-LD-bl6"/> <constraint firstAttribute="height" constant="50" id="800-ts-vWJ"/> <constraint firstAttribute="bottom" secondItem="RUB-1Y-Cfz" secondAttribute="bottom" constant="0.5" id="Uuz-3x-YVu"/> <constraint firstItem="RUB-1Y-Cfz" firstAttribute="leading" secondItem="xDk-8V-LPQ" secondAttribute="leading" constant="15" id="Wna-6x-uGY"/> <constraint firstItem="ijA-k8-Dln" firstAttribute="leading" secondItem="xDk-8V-LPQ" secondAttribute="leading" constant="15" id="rkd-O8-ten"/> </constraints> </view> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="wcF-Nl-5Sb"> <rect key="frame" x="0.0" y="50" width="393" height="50"/> <subviews> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="gEQ-lL-abB"> <rect key="frame" x="15" y="49" width="363" height="0.6666666666666643"/> <color key="backgroundColor" red="0.84705882349999995" green="0.84705882349999995" blue="0.84705882349999995" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstAttribute="height" constant="0.5" id="saT-SX-fqb"/> </constraints> </view> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Driver Type" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="qR3-Gu-oZk"> <rect key="frame" x="15" y="16.666666666666671" width="74.333333333333329" height="17"/> <fontDescription key="fontDescription" type="system" pointSize="14"/> <nil key="textColor"/> <nil key="highlightedColor"/> </label> </subviews> <color key="backgroundColor" systemColor="systemBackgroundColor"/> <constraints> <constraint firstItem="gEQ-lL-abB" firstAttribute="leading" secondItem="wcF-Nl-5Sb" secondAttribute="leading" constant="15" id="60d-n5-kkw"/> <constraint firstItem="qR3-Gu-oZk" firstAttribute="leading" secondItem="wcF-Nl-5Sb" secondAttribute="leading" constant="15" id="8hW-xK-AYm"/> <constraint firstAttribute="trailing" secondItem="gEQ-lL-abB" secondAttribute="trailing" constant="15" id="9ki-wJ-gPG"/> <constraint firstAttribute="height" constant="50" id="Ax4-Zn-qpB"/> <constraint firstAttribute="bottom" secondItem="gEQ-lL-abB" secondAttribute="bottom" constant="0.5" id="UFo-AY-Sgi"/> <constraint firstItem="qR3-Gu-oZk" firstAttribute="centerY" secondItem="wcF-Nl-5Sb" secondAttribute="centerY" id="wGL-kO-qVN"/> </constraints> </view> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Cer-dH-nqO"> <rect key="frame" x="0.0" y="100" width="393" height="50"/> <subviews> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="sR1-r0-W6s"> <rect key="frame" x="15" y="49" width="363" height="0.6666666666666643"/> <color key="backgroundColor" red="0.84705882349999995" green="0.84705882349999995" blue="0.84705882349999995" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstAttribute="height" constant="0.5" id="wNS-cw-1Ku"/> </constraints> </view> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Contact Number" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xUZ-63-3oV"> <rect key="frame" x="15" y="16.666666666666657" width="107" height="17"/> <fontDescription key="fontDescription" type="system" pointSize="14"/> <nil key="textColor"/> <nil key="highlightedColor"/> </label> </subviews> <color key="backgroundColor" systemColor="systemBackgroundColor"/> <constraints> <constraint firstItem="sR1-r0-W6s" firstAttribute="leading" secondItem="Cer-dH-nqO" secondAttribute="leading" constant="15" id="0Jp-ZQ-mTd"/> <constraint firstItem="xUZ-63-3oV" firstAttribute="leading" secondItem="Cer-dH-nqO" secondAttribute="leading" constant="15" id="3YP-hf-GFK"/> <constraint firstAttribute="height" constant="50" id="CtH-be-aTC"/> <constraint firstAttribute="trailing" secondItem="sR1-r0-W6s" secondAttribute="trailing" constant="15" id="Nls-M4-uEq"/> <constraint firstItem="xUZ-63-3oV" firstAttribute="centerY" secondItem="Cer-dH-nqO" secondAttribute="centerY" id="Y1M-yG-TVH"/> <constraint firstAttribute="bottom" secondItem="sR1-r0-W6s" secondAttribute="bottom" constant="0.5" id="hVg-ED-fgT"/> </constraints> </view> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="mLS-cf-mpv"> <rect key="frame" x="0.0" y="150" width="393" height="50"/> <subviews> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="mQw-dn-Pqk"> <rect key="frame" x="15" y="49" width="363" height="0.6666666666666643"/> <color key="backgroundColor" red="0.84705882349999995" green="0.84705882349999995" blue="0.84705882349999995" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstAttribute="height" constant="0.5" id="TZp-sg-YjH"/> </constraints> </view> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Status" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TDW-Rf-JRc"> <rect key="frame" x="14.999999999999996" y="16.666666666666657" width="41.666666666666657" height="17"/> <fontDescription key="fontDescription" type="system" pointSize="14"/> <nil key="textColor"/> <nil key="highlightedColor"/> </label> </subviews> <color key="backgroundColor" systemColor="systemBackgroundColor"/> <constraints> <constraint firstAttribute="height" constant="50" id="0rY-YY-FQv"/> <constraint firstAttribute="trailing" secondItem="mQw-dn-Pqk" secondAttribute="trailing" constant="15" id="5a5-V0-eaF"/> <constraint firstItem="TDW-Rf-JRc" firstAttribute="centerY" secondItem="mLS-cf-mpv" secondAttribute="centerY" id="B95-fX-2in"/> <constraint firstItem="TDW-Rf-JRc" firstAttribute="leading" secondItem="mLS-cf-mpv" secondAttribute="leading" constant="15" id="IVa-KN-u7b"/> <constraint firstItem="mQw-dn-Pqk" firstAttribute="leading" secondItem="mLS-cf-mpv" secondAttribute="leading" constant="15" id="Sdj-DT-Bux"/> <constraint firstAttribute="bottom" secondItem="mQw-dn-Pqk" secondAttribute="bottom" constant="0.5" id="bUT-Hd-JZz"/> </constraints> </view> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="8L0-Qp-KaE"> <rect key="frame" x="0.0" y="200" width="393" height="50"/> <subviews> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="XUb-1Y-JfG"> <rect key="frame" x="15" y="49" width="363" height="0.6666666666666643"/> <color key="backgroundColor" red="0.84705882349999995" green="0.84705882349999995" blue="0.84705882349999995" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstAttribute="height" constant="0.5" id="7KA-HU-h4N"/> </constraints> </view> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Driver/Employee Number" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="e7r-7m-tyH"> <rect key="frame" x="15" y="16.666666666666686" width="160.66666666666666" height="17"/> <fontDescription key="fontDescription" type="system" pointSize="14"/> <nil key="textColor"/> <nil key="highlightedColor"/> </label> </subviews> <color key="backgroundColor" systemColor="systemBackgroundColor"/> <constraints> <constraint firstItem="e7r-7m-tyH" firstAttribute="leading" secondItem="8L0-Qp-KaE" secondAttribute="leading" constant="15" id="8Bi-q9-l2y"/> <constraint firstAttribute="bottom" secondItem="XUb-1Y-JfG" secondAttribute="bottom" constant="0.5" id="LHc-jV-OCp"/> <constraint firstItem="XUb-1Y-JfG" firstAttribute="leading" secondItem="8L0-Qp-KaE" secondAttribute="leading" constant="15" id="Oho-Cl-E1X"/> <constraint firstItem="e7r-7m-tyH" firstAttribute="centerY" secondItem="8L0-Qp-KaE" secondAttribute="centerY" id="fEy-q9-Cl3"/> <constraint firstAttribute="trailing" secondItem="XUb-1Y-JfG" secondAttribute="trailing" constant="15" id="tAo-6x-Vhy"/> <constraint firstAttribute="height" constant="50" id="v8k-pT-OaQ"/> </constraints> </view> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="AMP-yD-a3f"> <rect key="frame" x="0.0" y="250" width="393" height="50"/> <subviews> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="g3o-tK-9KE"> <rect key="frame" x="15" y="49" width="363" height="0.6666666666666643"/> <color key="backgroundColor" red="0.84705882349999995" green="0.84705882349999995" blue="0.84705882349999995" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstAttribute="height" constant="0.5" id="hzg-uw-Z8X"/> </constraints> </view> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Date of Birth" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zsK-9o-M2E"> <rect key="frame" x="15" y="16.666666666666686" width="81.666666666666671" height="17"/> <fontDescription key="fontDescription" type="system" pointSize="14"/> <nil key="textColor"/> <nil key="highlightedColor"/> </label> </subviews> <color key="backgroundColor" systemColor="systemBackgroundColor"/> <constraints> <constraint firstAttribute="height" constant="50" id="0Tu-U3-whj"/> <constraint firstItem="g3o-tK-9KE" firstAttribute="leading" secondItem="AMP-yD-a3f" secondAttribute="leading" constant="15" id="74Z-d5-VnS"/> <constraint firstAttribute="trailing" secondItem="g3o-tK-9KE" secondAttribute="trailing" constant="15" id="D2R-LM-QF3"/> <constraint firstAttribute="bottom" secondItem="g3o-tK-9KE" secondAttribute="bottom" constant="0.5" id="Leb-V7-6l1"/> <constraint firstItem="zsK-9o-M2E" firstAttribute="centerY" secondItem="AMP-yD-a3f" secondAttribute="centerY" id="lIq-bM-840"/> <constraint firstItem="zsK-9o-M2E" firstAttribute="leading" secondItem="AMP-yD-a3f" secondAttribute="leading" constant="15" id="wkA-vQ-Oqq"/> </constraints> </view> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="z6i-Tt-u9i"> <rect key="frame" x="0.0" y="300" width="393" height="50"/> <subviews> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Y9m-vF-DLT"> <rect key="frame" x="15" y="49" width="363" height="0.6666666666666643"/> <color key="backgroundColor" red="0.84705882349999995" green="0.84705882349999995" blue="0.84705882349999995" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstAttribute="height" constant="0.5" id="vgx-oh-7Xw"/> </constraints> </view> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Address" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="x1o-1P-uMc"> <rect key="frame" x="15" y="16.666666666666686" width="53" height="17"/> <fontDescription key="fontDescription" type="system" pointSize="14"/> <nil key="textColor"/> <nil key="highlightedColor"/> </label> </subviews> <color key="backgroundColor" systemColor="systemBackgroundColor"/> <constraints> <constraint firstItem="x1o-1P-uMc" firstAttribute="leading" secondItem="z6i-Tt-u9i" secondAttribute="leading" constant="15" id="5oG-CJ-1ZK"/> <constraint firstAttribute="trailing" secondItem="Y9m-vF-DLT" secondAttribute="trailing" constant="15" id="ZFz-cY-lgq"/> <constraint firstAttribute="height" constant="50" id="fou-68-DX7"/> <constraint firstAttribute="bottom" secondItem="Y9m-vF-DLT" secondAttribute="bottom" constant="0.5" id="gU8-KU-0Qp"/> <constraint firstItem="Y9m-vF-DLT" firstAttribute="leading" secondItem="z6i-Tt-u9i" secondAttribute="leading" constant="15" id="qwv-nl-D9M"/> <constraint firstItem="x1o-1P-uMc" firstAttribute="centerY" secondItem="z6i-Tt-u9i" secondAttribute="centerY" id="u82-rR-YCI"/> </constraints> </view> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Qo4-7G-Yhg"> <rect key="frame" x="0.0" y="350" width="393" height="50"/> <subviews> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="NfD-wO-VW7"> <rect key="frame" x="15" y="49" width="363" height="0.6666666666666643"/> <color key="backgroundColor" red="0.84705882349999995" green="0.84705882349999995" blue="0.84705882349999995" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstAttribute="height" constant="0.5" id="z9c-K8-hhp"/> </constraints> </view> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Notes" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="wzq-ed-DcU"> <rect key="frame" x="15.000000000000004" y="16.666666666666686" width="38.333333333333343" height="17"/> <fontDescription key="fontDescription" type="system" pointSize="14"/> <nil key="textColor"/> <nil key="highlightedColor"/> </label> </subviews> <color key="backgroundColor" systemColor="systemBackgroundColor"/> <constraints> <constraint firstItem="NfD-wO-VW7" firstAttribute="leading" secondItem="Qo4-7G-Yhg" secondAttribute="leading" constant="15" id="6Jc-ek-Am5"/> <constraint firstAttribute="trailing" secondItem="NfD-wO-VW7" secondAttribute="trailing" constant="15" id="6oV-fA-jiC"/> <constraint firstItem="wzq-ed-DcU" firstAttribute="leading" secondItem="Qo4-7G-Yhg" secondAttribute="leading" constant="15" id="D5r-dm-2g3"/> <constraint firstItem="wzq-ed-DcU" firstAttribute="centerY" secondItem="Qo4-7G-Yhg" secondAttribute="centerY" id="Dhw-Pw-x4l"/> <constraint firstAttribute="bottom" secondItem="NfD-wO-VW7" secondAttribute="bottom" constant="0.5" id="V65-XK-uxi"/> <constraint firstAttribute="height" constant="50" id="lyk-19-F28"/> </constraints> </view> </subviews> </stackView> </subviews> <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/> <color key="backgroundColor" systemColor="systemBackgroundColor"/> <constraints> <constraint firstItem="ptt-Vu-e1w" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="Egv-Zh-LWW"/> <constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="ptt-Vu-e1w" secondAttribute="trailing" id="LM2-Bg-wiU"/> <constraint firstItem="ptt-Vu-e1w" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" id="wtl-OS-EaA"/> </constraints> <point key="canvasLocation" x="85" y="21"/> </view> </objects> <resources> <systemColor name="systemBackgroundColor"> <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> </systemColor> </resources> </document> BrokerDriver/Profile/VC/PersonalWalletVC.swift
New file @@ -0,0 +1,46 @@ // // PersonalWalletVC.swift // BrokerDriver // // Created by 无故事王国 on 2023/4/25. // import UIKit class PersonalWalletVC: BaseViewController { @IBOutlet weak var label_account: UILabel! @IBOutlet weak var tableView: UITableView! override func viewDidLoad() { super.viewDidLoad() title = "Wallet" } override func setUI() { super.setUI() tableView.delegate = self tableView.dataSource = self tableView.separatorStyle = .none tableView.register(UINib(nibName: "WalletTCell", bundle: nil), forCellReuseIdentifier: "_WalletTCell") label_account.font = UIFont(name: "Impact", size: 36) label_account.text = 1.currency() } } extension PersonalWalletVC:UITableViewDelegate{ } extension PersonalWalletVC:UITableViewDataSource{ func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { let cell = tableView.dequeueReusableCell(withIdentifier: "_WalletTCell") as! WalletTCell return cell } func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { return 5 } } BrokerDriver/Profile/VC/PersonalWalletVC.xib
New file @@ -0,0 +1,122 @@ <?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> <deployment identifier="iOS"/> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21678"/> <capability name="Named colors" minToolsVersion="9.0"/> <capability name="Safe area layout guides" minToolsVersion="9.0"/> <capability name="System colors in document resources" minToolsVersion="11.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="PersonalWalletVC" customModule="BrokerDriver" customModuleProvider="target"> <connections> <outlet property="label_account" destination="iCG-Rf-aPw" id="Tp3-HJ-5dc"/> <outlet property="tableView" destination="GLv-NR-yay" id="sJZ-fK-K3g"/> <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> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="B7e-pb-LkF"> <rect key="frame" x="0.0" y="0.0" width="393" height="253.33333333333334"/> <subviews> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="The bill number:0days" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zIQ-Gr-hFg"> <rect key="frame" x="125.00000000000001" y="222.33333333333334" width="143.33333333333337" height="17"/> <constraints> <constraint firstAttribute="height" constant="17" id="8Zv-Vc-TY1"/> </constraints> <fontDescription key="fontDescription" type="system" pointSize="14"/> <color key="textColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> </label> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="b0Q-KB-ZRb"> <rect key="frame" x="196" y="176.33333333333334" width="1" height="23"/> <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.40999999999999998" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstAttribute="width" constant="1" id="fdE-RK-9gy"/> <constraint firstAttribute="height" constant="23" id="mSQ-8c-mV5"/> </constraints> </view> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Total paid:0.00" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TFK-w0-C7W"> <rect key="frame" x="197" y="178.33333333333334" width="196" height="19.333333333333343"/> <fontDescription key="fontDescription" type="system" pointSize="16"/> <color key="textColor" red="0.1803921568627451" green="0.1803921568627451" blue="0.1803921568627451" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> </label> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Total unpaid:0.00" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vqb-fC-SoE"> <rect key="frame" x="0.0" y="178.33333333333334" width="196" height="19.333333333333343"/> <fontDescription key="fontDescription" type="system" pointSize="16"/> <color key="textColor" red="0.1803921568627451" green="0.1803921568627451" blue="0.1803921568627451" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> </label> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0.00" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="iCG-Rf-aPw"> <rect key="frame" x="159.33333333333334" y="104.33333333333333" width="74.333333333333343" height="43.999999999999986"/> <constraints> <constraint firstAttribute="height" constant="44" id="Rgk-GV-Osq"/> </constraints> <fontDescription key="fontDescription" type="system" pointSize="36"/> <nil key="textColor"/> <nil key="highlightedColor"/> </label> </subviews> <color key="backgroundColor" name="ThemeColor"/> <constraints> <constraint firstAttribute="trailing" secondItem="TFK-w0-C7W" secondAttribute="trailing" id="6Yw-fB-KRX"/> <constraint firstItem="zIQ-Gr-hFg" firstAttribute="centerX" secondItem="B7e-pb-LkF" secondAttribute="centerX" id="8aJ-ro-3zk"/> <constraint firstItem="iCG-Rf-aPw" firstAttribute="centerX" secondItem="B7e-pb-LkF" secondAttribute="centerX" id="8ss-Lr-Zmj"/> <constraint firstItem="b0Q-KB-ZRb" firstAttribute="top" secondItem="iCG-Rf-aPw" secondAttribute="bottom" constant="28" id="9Jc-EC-EMt"/> <constraint firstItem="vqb-fC-SoE" firstAttribute="leading" secondItem="B7e-pb-LkF" secondAttribute="leading" id="BZN-54-CbW"/> <constraint firstAttribute="width" secondItem="B7e-pb-LkF" secondAttribute="height" multiplier="1:0.645" id="C9A-aj-1nd"/> <constraint firstItem="b0Q-KB-ZRb" firstAttribute="leading" secondItem="vqb-fC-SoE" secondAttribute="trailing" id="DOS-Xg-OKb"/> <constraint firstItem="zIQ-Gr-hFg" firstAttribute="top" secondItem="b0Q-KB-ZRb" secondAttribute="bottom" constant="23" id="F3K-pX-Xll"/> <constraint firstItem="TFK-w0-C7W" firstAttribute="leading" secondItem="b0Q-KB-ZRb" secondAttribute="trailing" id="Hdw-pg-RD4"/> <constraint firstItem="TFK-w0-C7W" firstAttribute="centerY" secondItem="b0Q-KB-ZRb" secondAttribute="centerY" id="IZ5-BG-ToK"/> <constraint firstItem="b0Q-KB-ZRb" firstAttribute="centerX" secondItem="zIQ-Gr-hFg" secondAttribute="centerX" id="WaJ-LZ-QVV"/> <constraint firstItem="b0Q-KB-ZRb" firstAttribute="centerY" secondItem="vqb-fC-SoE" secondAttribute="centerY" id="cHJ-KR-FHR"/> <constraint firstAttribute="bottom" secondItem="zIQ-Gr-hFg" secondAttribute="bottom" constant="14" id="psF-Fx-uPp"/> </constraints> </view> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Payment details" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0wH-f4-0tN"> <rect key="frame" x="14" y="271.33333333333331" width="138" height="22"/> <constraints> <constraint firstAttribute="height" constant="22" id="pEc-cc-9GM"/> </constraints> <fontDescription key="fontDescription" type="boldSystem" pointSize="18"/> <color key="textColor" red="0.19215686274509802" green="0.19215686274509802" blue="0.19215686274509802" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> </label> <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="-1" estimatedSectionHeaderHeight="-1" sectionFooterHeight="-1" estimatedSectionFooterHeight="-1" translatesAutoresizingMaskIntoConstraints="NO" id="GLv-NR-yay"> <rect key="frame" x="0.0" y="299.33333333333331" width="393" height="518.66666666666674"/> <color key="backgroundColor" systemColor="systemBackgroundColor"/> </tableView> </subviews> <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/> <color key="backgroundColor" systemColor="systemBackgroundColor"/> <constraints> <constraint firstItem="B7e-pb-LkF" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" id="2Lm-em-Z2v"/> <constraint firstItem="GLv-NR-yay" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="3OC-kx-Sl0"/> <constraint firstItem="0wH-f4-0tN" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" constant="14" id="IMR-fr-Q1E"/> <constraint firstItem="GLv-NR-yay" firstAttribute="top" secondItem="0wH-f4-0tN" secondAttribute="bottom" constant="6" id="MV1-HM-gbk"/> <constraint firstItem="B7e-pb-LkF" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="REF-lc-6Vb"/> <constraint firstItem="0wH-f4-0tN" firstAttribute="top" secondItem="B7e-pb-LkF" secondAttribute="bottom" constant="18" id="Wva-bS-F8i"/> <constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="B7e-pb-LkF" secondAttribute="trailing" id="nCR-7l-Q94"/> <constraint firstItem="fnl-2z-Ty3" firstAttribute="bottom" secondItem="GLv-NR-yay" secondAttribute="bottom" id="tRh-em-PsP"/> <constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="GLv-NR-yay" secondAttribute="trailing" id="tWv-Gk-TXU"/> </constraints> <point key="canvasLocation" x="136.64122137404578" y="20.422535211267608"/> </view> </objects> <resources> <namedColor name="ThemeColor"> <color red="0.99199998378753662" green="0.82700002193450928" blue="0.016000000759959221" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> </namedColor> <systemColor name="systemBackgroundColor"> <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> </systemColor> </resources> </document> BrokerDriver/Resouses/Impact.ttfBinary files differ