Commit 989b9287a2d74316a34c8064ae7e284f5824e78e
1 parent
a9f41925
refactor:remove unused file
Showing
5 changed files
with
18 additions
and
80 deletions
HDFwear.xcodeproj/project.pbxproj
... | ... | @@ -178,8 +178,6 @@ |
178 | 178 | 6C6DF2DF274F39AC00EF6B8D /* MotionRecordVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6C6DF2DE274F39AC00EF6B8D /* MotionRecordVC.swift */; }; |
179 | 179 | 6C6DF2E1274F593B00EF6B8D /* SleepViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6C6DF2E0274F593B00EF6B8D /* SleepViewController.swift */; }; |
180 | 180 | 6C6F40282743450600F9473C /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6C6F40272743450600F9473C /* AppDelegate.swift */; }; |
181 | - 6C6F402C2743450600F9473C /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6C6F402B2743450600F9473C /* ViewController.swift */; }; | |
182 | - 6C6F402F2743450600F9473C /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6C6F402D2743450600F9473C /* Main.storyboard */; }; | |
183 | 181 | 6C6F40312743450A00F9473C /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6C6F40302743450A00F9473C /* Assets.xcassets */; }; |
184 | 182 | 6C6F40342743450A00F9473C /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6C6F40322743450A00F9473C /* LaunchScreen.storyboard */; }; |
185 | 183 | 6C6F403F2743450A00F9473C /* HDFwearTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6C6F403E2743450A00F9473C /* HDFwearTests.swift */; }; |
... | ... | @@ -543,8 +541,6 @@ |
543 | 541 | 6C6DF2E0274F593B00EF6B8D /* SleepViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SleepViewController.swift; sourceTree = "<group>"; }; |
544 | 542 | 6C6F40242743450600F9473C /* HDFwear.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HDFwear.app; sourceTree = BUILT_PRODUCTS_DIR; }; |
545 | 543 | 6C6F40272743450600F9473C /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; }; |
546 | - 6C6F402B2743450600F9473C /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; }; | |
547 | - 6C6F402E2743450600F9473C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; | |
548 | 544 | 6C6F40302743450A00F9473C /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; }; |
549 | 545 | 6C6F40332743450A00F9473C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; }; |
550 | 546 | 6C6F403A2743450A00F9473C /* HDFwearTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = HDFwearTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; |
... | ... | @@ -634,7 +630,6 @@ |
634 | 630 | 6CDC8B12278EBFB800353208 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/TemperatureView.strings"; sourceTree = "<group>"; }; |
635 | 631 | 6CDC8B15278EC91A00353208 /* AutoGenStrings.py */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.python; path = AutoGenStrings.py; sourceTree = "<group>"; }; |
636 | 632 | 6CDC8B18278ECA2E00353208 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/SubTrainCell.xib; sourceTree = "<group>"; }; |
637 | - 6CE7E3E52782AA2600D6B374 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Main.strings"; sourceTree = "<group>"; }; | |
638 | 633 | 6CE7E3E72782AA8300D6B374 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Localizable.strings"; sourceTree = "<group>"; }; |
639 | 634 | 6CE7E3E92782AA8B00D6B374 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = "<group>"; }; |
640 | 635 | 6CEA284227EB02A1006A44AB /* MedalViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MedalViewController.swift; sourceTree = "<group>"; }; |
... | ... | @@ -1064,7 +1059,6 @@ |
1064 | 1059 | B2AF587C2A14C1C70080B464 /* LaunchSetting */, |
1065 | 1060 | 6C6F40272743450600F9473C /* AppDelegate.swift */, |
1066 | 1061 | 6C2EE974277FF2520051413A /* AppSettings.swift */, |
1067 | - 6C6F402B2743450600F9473C /* ViewController.swift */, | |
1068 | 1062 | 6CE7E3E82782AA8300D6B374 /* Localizable.strings */, |
1069 | 1063 | 6C0AE83A279166B10064D377 /* InfoPlist.strings */, |
1070 | 1064 | 6C42EFD427686AF20008F82A /* test.m */, |
... | ... | @@ -1072,7 +1066,6 @@ |
1072 | 1066 | 6C0AE834279164EB0064D377 /* Info.plist */, |
1073 | 1067 | 6C411EBF275DE22A009B2E02 /* HDFwear-Bridging-Header.h */, |
1074 | 1068 | 6C6F40302743450A00F9473C /* Assets.xcassets */, |
1075 | - 6C6F402D2743450600F9473C /* Main.storyboard */, | |
1076 | 1069 | 6C6F40322743450A00F9473C /* LaunchScreen.storyboard */, |
1077 | 1070 | B2BA609A2A501E6C00374A86 /* ReadMe.txt */, |
1078 | 1071 | 847D1C4A2B009FAC0097A96E /* 20231111ReadMe.md */, |
... | ... | @@ -1432,7 +1425,6 @@ |
1432 | 1425 | 6C85FB54278D325C007D309A /* HeartRateCell.xib in Resources */, |
1433 | 1426 | 6CDC8B05278EB29B00353208 /* WomenHealthCell.xib in Resources */, |
1434 | 1427 | 6CDC8B0C278EBFB300353208 /* TemperatureView.xib in Resources */, |
1435 | - 6C6F402F2743450600F9473C /* Main.storyboard in Resources */, | |
1436 | 1428 | 6CEA285727F429E0006A44AB /* SettingCell.xib in Resources */, |
1437 | 1429 | 6C28F55327901C8D00E74EA5 /* BPReportCell.xib in Resources */, |
1438 | 1430 | 6C85FB62278D5068007D309A /* SleepCell.xib in Resources */, |
... | ... | @@ -1634,7 +1626,6 @@ |
1634 | 1626 | 6C2EA18C27CDF1810080FCA1 /* MettReferenceVC.swift in Sources */, |
1635 | 1627 | 6C5B545627756489007F7901 /* NotDisturbViewController.swift in Sources */, |
1636 | 1628 | 6C5120862797F73A006F8B64 /* ScanViewController.swift in Sources */, |
1637 | - 6C6F402C2743450600F9473C /* ViewController.swift in Sources */, | |
1638 | 1629 | 6C26010D277C10A400EE0B4B /* ProgressButton.swift in Sources */, |
1639 | 1630 | 6C6DF2D5274F38B500EF6B8D /* BloodOxygenVC.swift in Sources */, |
1640 | 1631 | 6C41D0C7275F5DB500747BE4 /* LoaderCircleNarrowAnimation.swift in Sources */, |
... | ... | @@ -1913,15 +1904,6 @@ |
1913 | 1904 | name = SleepReportCell.xib; |
1914 | 1905 | sourceTree = "<group>"; |
1915 | 1906 | }; |
1916 | - 6C6F402D2743450600F9473C /* Main.storyboard */ = { | |
1917 | - isa = PBXVariantGroup; | |
1918 | - children = ( | |
1919 | - 6C6F402E2743450600F9473C /* Base */, | |
1920 | - 6CE7E3E52782AA2600D6B374 /* zh-Hans */, | |
1921 | - ); | |
1922 | - name = Main.storyboard; | |
1923 | - sourceTree = "<group>"; | |
1924 | - }; | |
1925 | 1907 | 6C6F40322743450A00F9473C /* LaunchScreen.storyboard */ = { |
1926 | 1908 | isa = PBXVariantGroup; |
1927 | 1909 | children = ( |
... | ... | @@ -2224,7 +2206,7 @@ |
2224 | 2206 | INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "HD Fit Pro需要开启相册使用权限,用于更换头像及获取二维码"; |
2225 | 2207 | INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; |
2226 | 2208 | INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; |
2227 | - INFOPLIST_KEY_UIMainStoryboardFile = Main; | |
2209 | + INFOPLIST_KEY_UIMainStoryboardFile = ""; | |
2228 | 2210 | INFOPLIST_KEY_UIStatusBarStyle = UIStatusBarStyleDarkContent; |
2229 | 2211 | INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait"; |
2230 | 2212 | INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; |
... | ... | @@ -2333,7 +2315,7 @@ |
2333 | 2315 | INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "HD Fit Pro需要开启相册使用权限,用于更换头像及获取二维码"; |
2334 | 2316 | INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; |
2335 | 2317 | INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; |
2336 | - INFOPLIST_KEY_UIMainStoryboardFile = Main; | |
2318 | + INFOPLIST_KEY_UIMainStoryboardFile = ""; | |
2337 | 2319 | INFOPLIST_KEY_UIStatusBarStyle = UIStatusBarStyleDarkContent; |
2338 | 2320 | INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait"; |
2339 | 2321 | INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; | ... | ... |
HDFwear/Base.lproj/Main.storyboard deleted
1 | -<?xml version="1.0" encoding="UTF-8"?> | |
2 | -<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="19455" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r"> | |
3 | - <device id="retina6_1" orientation="portrait" appearance="light"/> | |
4 | - <dependencies> | |
5 | - <deployment identifier="iOS"/> | |
6 | - <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19454"/> | |
7 | - <capability name="Safe area layout guides" minToolsVersion="9.0"/> | |
8 | - <capability name="System colors in document resources" minToolsVersion="11.0"/> | |
9 | - <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> | |
10 | - </dependencies> | |
11 | - <scenes> | |
12 | - <!--View Controller--> | |
13 | - <scene sceneID="tne-QT-ifu"> | |
14 | - <objects> | |
15 | - <viewController id="BYZ-38-t0r" customClass="ViewController" customModule="Twear" customModuleProvider="target" sceneMemberID="viewController"> | |
16 | - <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC"> | |
17 | - <rect key="frame" x="0.0" y="0.0" width="414" height="896"/> | |
18 | - <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | |
19 | - <viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/> | |
20 | - <color key="backgroundColor" systemColor="systemBackgroundColor"/> | |
21 | - </view> | |
22 | - </viewController> | |
23 | - <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/> | |
24 | - </objects> | |
25 | - <point key="canvasLocation" x="20" y="94"/> | |
26 | - </scene> | |
27 | - </scenes> | |
28 | - <resources> | |
29 | - <systemColor name="systemBackgroundColor"> | |
30 | - <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | |
31 | - </systemColor> | |
32 | - </resources> | |
33 | -</document> |
HDFwear/Setting/Base.lproj/Setting.storyboard
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | -<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="21701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES"> | |
2 | +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="22155" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES"> | |
3 | 3 | <device id="retina6_1" orientation="portrait" appearance="light"/> |
4 | 4 | <dependencies> |
5 | 5 | <deployment identifier="iOS"/> |
6 | - <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21678"/> | |
6 | + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22131"/> | |
7 | 7 | <capability name="Safe area layout guides" minToolsVersion="9.0"/> |
8 | 8 | <capability name="System colors in document resources" minToolsVersion="11.0"/> |
9 | 9 | <capability name="collection view cell content view" minToolsVersion="11.0"/> |
... | ... | @@ -3095,7 +3095,7 @@ |
3095 | 3095 | <action selector="createCard:" destination="eAK-rb-Rff" eventType="touchUpInside" id="Uxc-Ie-w22"/> |
3096 | 3096 | </connections> |
3097 | 3097 | </button> |
3098 | - <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="5Pk-r4-tFY" customClass="YYLabel"> | |
3098 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="5Pk-r4-tFY" customClass="YYLabel"> | |
3099 | 3099 | <rect key="frame" x="203" y="744" width="28" height="20"/> |
3100 | 3100 | <color key="backgroundColor" systemColor="systemBackgroundColor"/> |
3101 | 3101 | <constraints> |
... | ... | @@ -3105,7 +3105,7 @@ |
3105 | 3105 | <userDefinedRuntimeAttribute type="string" keyPath="text" value="123"/> |
3106 | 3106 | </userDefinedRuntimeAttributes> |
3107 | 3107 | </view> |
3108 | - <button opaque="NO" contentMode="scaleToFill" ambiguous="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="iOe-dy-3rU"> | |
3108 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="iOe-dy-3rU"> | |
3109 | 3109 | <rect key="frame" x="173" y="738" width="30" height="32"/> |
3110 | 3110 | <constraints> |
3111 | 3111 | <constraint firstAttribute="height" constant="32" id="V1Z-8X-n13"/> |
... | ... | @@ -3305,7 +3305,7 @@ |
3305 | 3305 | <action selector="createCard:" destination="Zg7-tc-mN5" eventType="touchUpInside" id="28u-tC-1yp"/> |
3306 | 3306 | </connections> |
3307 | 3307 | </button> |
3308 | - <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="LPK-4v-VRO" customClass="YYLabel"> | |
3308 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="LPK-4v-VRO" customClass="YYLabel"> | |
3309 | 3309 | <rect key="frame" x="189" y="744" width="56" height="20"/> |
3310 | 3310 | <color key="backgroundColor" systemColor="systemBackgroundColor"/> |
3311 | 3311 | <constraints> |
... | ... | @@ -3315,7 +3315,7 @@ |
3315 | 3315 | <userDefinedRuntimeAttribute type="string" keyPath="text" value="123213"/> |
3316 | 3316 | </userDefinedRuntimeAttributes> |
3317 | 3317 | </view> |
3318 | - <button opaque="NO" contentMode="scaleToFill" ambiguous="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="D5N-3G-RDw"> | |
3318 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="D5N-3G-RDw"> | |
3319 | 3319 | <rect key="frame" x="159" y="738" width="30" height="32"/> |
3320 | 3320 | <constraints> |
3321 | 3321 | <constraint firstAttribute="width" constant="30" id="JDi-Ng-mVE"/> |
... | ... | @@ -5639,6 +5639,15 @@ Cg |
5639 | 5639 | <point key="canvasLocation" x="2745" y="6590"/> |
5640 | 5640 | </scene> |
5641 | 5641 | </scenes> |
5642 | + <designables> | |
5643 | + <designable name="31O-JO-Phk"/> | |
5644 | + <designable name="5Pk-r4-tFY"> | |
5645 | + <size key="intrinsicContentSize" width="28" height="21"/> | |
5646 | + </designable> | |
5647 | + <designable name="LPK-4v-VRO"> | |
5648 | + <size key="intrinsicContentSize" width="56" height="21"/> | |
5649 | + </designable> | |
5650 | + </designables> | |
5642 | 5651 | <resources> |
5643 | 5652 | <image name="AndroidAPP使用权限" width="370" height="1538"/> |
5644 | 5653 | <image name="NFC_1" width="350" height="150"/> |
... | ... | @@ -5695,7 +5704,7 @@ Cg |
5695 | 5704 | <image name="简约" width="22" height="22"/> |
5696 | 5705 | <image name="色彩" width="22" height="22"/> |
5697 | 5706 | <systemColor name="labelColor"> |
5698 | - <color red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | |
5707 | + <color white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | |
5699 | 5708 | </systemColor> |
5700 | 5709 | <systemColor name="systemBackgroundColor"> |
5701 | 5710 | <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ... | ... |
HDFwear/ViewController.swift deleted
1 | -// | |
2 | -// ViewController.swift | |
3 | -// Twear | |
4 | -// | |
5 | -// Created by yangbin on 2021/11/16. | |
6 | -// | |
7 | - | |
8 | -import UIKit | |
9 | - | |
10 | -class ViewController: UIViewController { | |
11 | - | |
12 | - override func viewDidLoad() { | |
13 | - super.viewDidLoad() | |
14 | - // Do any additional setup after loading the view. | |
15 | - } | |
16 | - | |
17 | - | |
18 | -} | |
19 | - |
HDFwear/zh-Hans.lproj/Main.strings deleted
No preview for this file type