This commit is contained in:
linshujie 2026-05-28 17:52:53 +08:00
parent f94bb2dda9
commit 676b41f1a7
391 changed files with 27398 additions and 0 deletions

120
Podfile Normal file
View File

@ -0,0 +1,120 @@
# Uncomment the next line to define a global platform for your project
source 'https://gitee.com/mirrors/CocoaPods-Specs.git'
platform :ios, '15.0'
target 'QuickLocation' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for QuickLocation
# Pods for Base
pod 'Moya'
pod 'ObjectMapper'
pod 'RxCocoa'
pod 'RxSwift'
pod 'SwiftyUserDefaults'
pod 'SwiftyJSON'
pod 'URLNavigator'
pod 'RxDataSources'
pod 'RxSwiftExt'
pod 'SwiftDate'
#pod 'RxGesture'
pod 'CocoaLumberjack/Swift'
pod 'KingfisherWebP'
pod 'Masonry'
#工具
#pod 'FLEX', :configurations => ['Debug', 'AdHoc']
pod 'HXPHPicker'
pod 'SwiftKeychainWrapper'
pod 'SGQRCode', '~> 4.1.0' #扫描
#pod 'PGDatePicker'
pod 'IQKeyboardManagerSwift'
#UI
pod 'SnapKit'
pod 'MJRefresh'
pod 'MBProgressHUD', :git => 'https://github.com/jdg/MBProgressHUD.git'
pod 'MarqueeLabel'
pod 'Popover'
#第三方SDk
pod 'GYSDK' #个推一键登录
#高德地图
pod 'AMap3DMap' #3D地图SDK
pod 'AMapSearch' #地图SDK搜索功能
pod 'AMapLocation' #定位SDK
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.0'
end
end
# These frameworks ship without a valid arm64-simulator slice (even some
# xcframeworks contain device-only arm64). Linking them for simulator on
# Xcode 15+ (arm64-only simulator) fails. Fix: remove EXCLUDED_ARCHS (so
# simulator destinations appear), strip them from general OTHER_LDFLAGS,
# and add them back only via OTHER_LDFLAGS[sdk=iphoneos*].
device_only_fws = %w[MAMapKit AMapFoundationKit AMapLocationKit AMapSearchKit ZXSDK GeYanSdk GTCommonSDK]
device_only_dirs = %w[AMap3DMap AMapFoundation AMapLocation AMapSearch ZXSDK GYSDK GTCommonSDK]
Dir.glob(File.join(installer.sandbox.root, 'Target Support Files', '**', '*.xcconfig')).each do |path|
content = File.read(path)
# Remove arm64 exclusion
content.gsub!(/^EXCLUDED_ARCHS\[sdk=iphonesimulator\*\] = arm64.*\n?/, '')
if content =~ /^OTHER_LDFLAGS = (.+)$/
ldflags = $1
stripped_ld = false
device_only_fws.each do |fw|
if ldflags.gsub!(/ *-(weak_)?framework "#{fw}"/, '')
stripped_ld = true
end
end
content.sub!(/^OTHER_LDFLAGS = .+$/, "OTHER_LDFLAGS = #{ldflags}")
# Remove any old conditional lines
content.gsub!(/^OTHER_LDFLAGS\[sdk=iphonesimulator\*\].*\n?/, '')
content.gsub!(/^OTHER_LDFLAGS\[sdk=iphoneos\*\].*\n?/, '')
# Only add device-only conditional if we actually stripped something
if stripped_ld
device_flags = device_only_fws.map { |fw| %(-framework "#{fw}") }.join(' ')
content += "\nOTHER_LDFLAGS[sdk=iphoneos*] = $(inherited) #{device_flags}\n"
end
end
# Strip device-only dirs from FRAMEWORK_SEARCH_PATHS and move to iphoneos only
if content =~ /^FRAMEWORK_SEARCH_PATHS = (.+)$/
fsp = $1
device_search_paths = []
device_only_dirs.each do |dir|
%w[PODS_ROOT PODS_CONFIGURATION_BUILD_DIR PODS_XCFRAMEWORKS_BUILD_DIR].each do |var|
pattern = / *"\$\{#{var}\}\/#{dir}"/
if fsp.match?(pattern)
fsp.gsub!(pattern, '')
device_search_paths << "\"${#{var}}/#{dir}\""
end
end
end
content.sub!(/^FRAMEWORK_SEARCH_PATHS = .+$/, "FRAMEWORK_SEARCH_PATHS = #{fsp}")
content.gsub!(/^FRAMEWORK_SEARCH_PATHS\[sdk=iphoneos\*\].*\n?/, '')
unless device_search_paths.empty?
content += "\nFRAMEWORK_SEARCH_PATHS[sdk=iphoneos*] = $(inherited) #{device_search_paths.uniq.join(' ')}\n"
end
end
File.write(path, content)
end
end

243
Podfile.lock Normal file
View File

@ -0,0 +1,243 @@
PODS:
- Alamofire (5.10.1)
- AMap3DMap (11.1.200):
- AMapFoundation (>= 1.8.7)
- AMapFoundation (1.8.7)
- AMapLocation (2.11.1):
- AMapFoundation (>= 1.8.7)
- AMapSearch (9.7.5):
- AMapFoundation (>= 1.8.0)
- CocoaLumberjack/Core (3.9.1)
- CocoaLumberjack/Swift (3.9.1):
- CocoaLumberjack/Core
- Differentiator (5.0.0)
- GTCommonSDK (3.2.3.0):
- ZXSDK
- GYSDK (3.1.3.0):
- GTCommonSDK (>= 3.0.0.0)
- HXPHPicker (1.1.5):
- HXPHPicker/Core (= 1.1.5)
- HXPHPicker/Editor (= 1.1.5)
- HXPHPicker/Picker (= 1.1.5)
- HXPHPicker/Core (1.1.5)
- HXPHPicker/Editor (1.1.5):
- HXPHPicker/Core
- HXPHPicker/Picker (1.1.5):
- HXPHPicker/Core
- IQKeyboardCore (1.0.8)
- IQKeyboardManagerSwift (8.0.1):
- IQKeyboardManagerSwift/Appearance (= 8.0.1)
- IQKeyboardManagerSwift/Core (= 8.0.1)
- IQKeyboardManagerSwift/IQKeyboardReturnManager (= 8.0.1)
- IQKeyboardManagerSwift/IQKeyboardToolbarManager (= 8.0.1)
- IQKeyboardManagerSwift/IQTextView (= 8.0.1)
- IQKeyboardManagerSwift/Resign (= 8.0.1)
- IQKeyboardManagerSwift/Appearance (8.0.1):
- IQKeyboardManagerSwift/Core
- IQKeyboardManagerSwift/Core (8.0.1):
- IQKeyboardNotification
- IQTextInputViewNotification
- IQKeyboardManagerSwift/IQKeyboardReturnManager (8.0.1):
- IQKeyboardReturnManager
- IQKeyboardManagerSwift/IQKeyboardToolbarManager (8.0.1):
- IQKeyboardManagerSwift/Core
- IQKeyboardToolbarManager
- IQKeyboardManagerSwift/IQTextView (8.0.1):
- IQTextView
- IQKeyboardManagerSwift/Resign (8.0.1):
- IQKeyboardManagerSwift/Core
- IQKeyboardNotification (1.0.6)
- IQKeyboardReturnManager (1.0.6):
- IQKeyboardCore
- IQKeyboardToolbar (1.1.3):
- IQKeyboardToolbar/Core (= 1.1.3)
- IQKeyboardToolbar/Core (1.1.3):
- IQKeyboardCore
- IQKeyboardToolbar/Placeholderable
- IQKeyboardToolbar/Placeholderable (1.1.3)
- IQKeyboardToolbarManager (1.1.5):
- IQKeyboardToolbar
- IQTextInputViewNotification
- IQTextInputViewNotification (1.0.9):
- IQKeyboardCore
- IQTextView (1.0.5):
- IQKeyboardToolbar/Placeholderable
- Kingfisher (8.1.1)
- KingfisherWebP (1.7.3):
- Kingfisher (~> 8.0)
- libwebp (>= 1.1.0)
- libwebp (1.5.0):
- libwebp/demux (= 1.5.0)
- libwebp/mux (= 1.5.0)
- libwebp/sharpyuv (= 1.5.0)
- libwebp/webp (= 1.5.0)
- libwebp/demux (1.5.0):
- libwebp/webp
- libwebp/mux (1.5.0):
- libwebp/demux
- libwebp/sharpyuv (1.5.0)
- libwebp/webp (1.5.0):
- libwebp/sharpyuv
- MarqueeLabel (4.5.3)
- Masonry (1.1.0)
- MBProgressHUD (1.2.0)
- MJRefresh (3.7.9)
- Moya (15.0.0):
- Moya/Core (= 15.0.0)
- Moya/Core (15.0.0):
- Alamofire (~> 5.0)
- ObjectMapper (4.4.2)
- Popover (1.3.0)
- RxCocoa (6.8.0):
- RxRelay (= 6.8.0)
- RxSwift (= 6.8.0)
- RxDataSources (5.0.0):
- Differentiator (~> 5.0)
- RxCocoa (~> 6.0)
- RxSwift (~> 6.0)
- RxRelay (6.8.0):
- RxSwift (= 6.8.0)
- RxSwift (6.8.0)
- RxSwiftExt (6.2.1):
- RxSwiftExt/Core (= 6.2.1)
- RxSwiftExt/RxCocoa (= 6.2.1)
- RxSwiftExt/Core (6.2.1):
- RxSwift (~> 6.0)
- RxSwiftExt/RxCocoa (6.2.1):
- RxCocoa (~> 6.0)
- RxSwiftExt/Core
- SGQRCode (4.1.0)
- SnapKit (5.7.1)
- SwiftDate (7.0.0)
- SwiftKeychainWrapper (4.0.1)
- SwiftyJSON (5.0.2)
- SwiftyUserDefaults (5.3.0)
- URLNavigator (2.5.1)
- ZXSDK (3.3.2)
DEPENDENCIES:
- AMap3DMap
- AMapLocation
- AMapSearch
- CocoaLumberjack/Swift
- GYSDK
- HXPHPicker
- IQKeyboardManagerSwift
- KingfisherWebP
- MarqueeLabel
- Masonry
- MBProgressHUD (from `https://github.com/jdg/MBProgressHUD.git`)
- MJRefresh
- Moya
- ObjectMapper
- Popover
- RxCocoa
- RxDataSources
- RxSwift
- RxSwiftExt
- SGQRCode (~> 4.1.0)
- SnapKit
- SwiftDate
- SwiftKeychainWrapper
- SwiftyJSON
- SwiftyUserDefaults
- URLNavigator
SPEC REPOS:
https://gitee.com/mirrors/CocoaPods-Specs.git:
- Alamofire
- AMap3DMap
- AMapFoundation
- AMapLocation
- AMapSearch
- CocoaLumberjack
- Differentiator
- GTCommonSDK
- GYSDK
- HXPHPicker
- IQKeyboardCore
- IQKeyboardManagerSwift
- IQKeyboardNotification
- IQKeyboardReturnManager
- IQKeyboardToolbar
- IQKeyboardToolbarManager
- IQTextInputViewNotification
- IQTextView
- Kingfisher
- KingfisherWebP
- libwebp
- MarqueeLabel
- Masonry
- MJRefresh
- Moya
- ObjectMapper
- Popover
- RxCocoa
- RxDataSources
- RxRelay
- RxSwift
- RxSwiftExt
- SGQRCode
- SnapKit
- SwiftDate
- SwiftKeychainWrapper
- SwiftyJSON
- SwiftyUserDefaults
- URLNavigator
- ZXSDK
EXTERNAL SOURCES:
MBProgressHUD:
:git: https://github.com/jdg/MBProgressHUD.git
CHECKOUT OPTIONS:
MBProgressHUD:
:commit: 4a7c5f3e53cdea77c5dcb8578c2ee5acacdf6781
:git: https://github.com/jdg/MBProgressHUD.git
SPEC CHECKSUMS:
Alamofire: 840d2a1ad82355b536ec6ba5f97e5bfa54600ca3
AMap3DMap: 89c17fdbca2f25e4b46d6a45a8e50346980fc799
AMapFoundation: e99da1cc722528c60b39340b4763a95305f6c55e
AMapLocation: 6e44f50b044dc54c6b3dcb1dee5ffd6de2689e41
AMapSearch: 29224a399b56b17da1540e4312fc4d9dc37342bb
CocoaLumberjack: e4ba3b414dfca8c1916c6303d37f63b3a95134c6
Differentiator: e8497ceab83c1b10ca233716d547b9af21b9344d
GTCommonSDK: 238c6735add91e654f8564638854686ee3dcb4ac
GYSDK: db5f4b3aae8df06201be5e786076211ec11791be
HXPHPicker: 451f6af62845d60d5dd2235f4665d81f2688a51b
IQKeyboardCore: 8652977ec919cf5351aa2977fedd1a6546476fbc
IQKeyboardManagerSwift: 835fc9c6e4732398113406d84900ad2e8f141218
IQKeyboardNotification: eb4910401f5a0e68f97e71c62f8a0c5b7e9d535c
IQKeyboardReturnManager: fcbf51fc68d7536fc1fbcca5231c4e82576b12ac
IQKeyboardToolbar: 9fe900f8e7def414be4025af0ca098df764d4fe3
IQKeyboardToolbarManager: d449479b5843d4a3fb902d03bf62d6ca031ac20e
IQTextInputViewNotification: 3b9fb27a16e7ee8958cc9092cfb07a1a9e1fd559
IQTextView: ae13b4922f22e6f027f62c557d9f4f236b19d5c7
Kingfisher: fc2788e497306f97fdef6e4df49f02106cb57788
KingfisherWebP: 064869d5f1201396ec121dcc4c9cfbdba6ecb900
libwebp: 02b23773aedb6ff1fd38cec7a77b81414c6842a8
MarqueeLabel: 0c57d4c6634e04a6d015af79f7c9a175b2309525
Masonry: 678fab65091a9290e40e2832a55e7ab731aad201
MBProgressHUD: 1b0fb447e80a0fda94808180750e8b78a07b3cd2
MJRefresh: ff9e531227924c84ce459338414550a05d2aea78
Moya: 138f0573e53411fb3dc17016add0b748dfbd78ee
ObjectMapper: e6e4d91ff7f2861df7aecc536c92d8363f4c9677
Popover: 10e1d9528f81d9504df984b7b3f491292bc1822d
RxCocoa: 2d33c1e1e5d66492052ad46b11024ae287572880
RxDataSources: aa47cc1ed6c500fa0dfecac5c979b723542d79cf
RxRelay: 335c78b926a2aea8d863a6d25f1ed3b5ad8e8705
RxSwift: 4e28be97cbcfeee614af26d83415febbf2bf6f45
RxSwiftExt: 43aaacb6a4d3c69c55e9d1cf4f79920043d13583
SGQRCode: 6ad664d63f38f2842503bc5087812c5a3136d924
SnapKit: d612e99e678a2d3b95bf60b0705ed0a35c03484a
SwiftDate: bbc26e26fc8c0c33fbee8c140c5e8a68293a148a
SwiftKeychainWrapper: 807ba1d63c33a7d0613288512399cd1eda1e470c
SwiftyJSON: f5b1bf1cd8dd53cd25887ac0eabcfd92301c6a5a
SwiftyUserDefaults: 63f80248cf5bfb3458825d9a78f2eb7e1293a040
URLNavigator: e9c0426ba6e6ac57f34d018bbf3df840797f984d
ZXSDK: 786338c0a18e98e03eda00699c3bfd2700b97117
PODFILE CHECKSUM: 8221656bba011c856037590658f6282ed7f4e02c
COCOAPODS: 1.16.2

View File

@ -0,0 +1,463 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 77;
objects = {
/* Begin PBXBuildFile section */
C03BCA796B982B5ACA9611EE /* Pods_QuickLocation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E143BF7B4D1F77827EB9982E /* Pods_QuickLocation.framework */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
3E4359082FC48D26003470A5 /* QuickLocation.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = QuickLocation.app; sourceTree = BUILT_PRODUCTS_DIR; };
C2BE08A1B1E96CAB0EE3C077 /* Pods-QuickLocation.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-QuickLocation.release.xcconfig"; path = "Target Support Files/Pods-QuickLocation/Pods-QuickLocation.release.xcconfig"; sourceTree = "<group>"; };
DD686BFD90D3CEEEFABFE88F /* Pods-QuickLocation.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-QuickLocation.debug.xcconfig"; path = "Target Support Files/Pods-QuickLocation/Pods-QuickLocation.debug.xcconfig"; sourceTree = "<group>"; };
E143BF7B4D1F77827EB9982E /* Pods_QuickLocation.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_QuickLocation.framework; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */
/* Begin PBXFileSystemSynchronizedBuildFileExceptionSet section */
3E43591A2FC48D2B003470A5 /* Exceptions for "QuickLocation" folder in "QuickLocation" target */ = {
isa = PBXFileSystemSynchronizedBuildFileExceptionSet;
membershipExceptions = (
Info.plist,
);
target = 3E4359072FC48D26003470A5 /* QuickLocation */;
};
/* End PBXFileSystemSynchronizedBuildFileExceptionSet section */
/* Begin PBXFileSystemSynchronizedRootGroup section */
3E43590A2FC48D26003470A5 /* QuickLocation */ = {
isa = PBXFileSystemSynchronizedRootGroup;
exceptions = (
3E43591A2FC48D2B003470A5 /* Exceptions for "QuickLocation" folder in "QuickLocation" target */,
);
path = QuickLocation;
sourceTree = "<group>";
};
/* End PBXFileSystemSynchronizedRootGroup section */
/* Begin PBXFrameworksBuildPhase section */
3E4359052FC48D26003470A5 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
C03BCA796B982B5ACA9611EE /* Pods_QuickLocation.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
1CFEE11C08437C3618FD06EF /* Frameworks */ = {
isa = PBXGroup;
children = (
E143BF7B4D1F77827EB9982E /* Pods_QuickLocation.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
3E4358FF2FC48D26003470A5 = {
isa = PBXGroup;
children = (
3E43590A2FC48D26003470A5 /* QuickLocation */,
3E4359092FC48D26003470A5 /* Products */,
B07D45692FCECE07570D9B73 /* Pods */,
1CFEE11C08437C3618FD06EF /* Frameworks */,
);
sourceTree = "<group>";
};
3E4359092FC48D26003470A5 /* Products */ = {
isa = PBXGroup;
children = (
3E4359082FC48D26003470A5 /* QuickLocation.app */,
);
name = Products;
sourceTree = "<group>";
};
B07D45692FCECE07570D9B73 /* Pods */ = {
isa = PBXGroup;
children = (
DD686BFD90D3CEEEFABFE88F /* Pods-QuickLocation.debug.xcconfig */,
C2BE08A1B1E96CAB0EE3C077 /* Pods-QuickLocation.release.xcconfig */,
);
path = Pods;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
3E4359072FC48D26003470A5 /* QuickLocation */ = {
isa = PBXNativeTarget;
buildConfigurationList = 3E43591B2FC48D2B003470A5 /* Build configuration list for PBXNativeTarget "QuickLocation" */;
buildPhases = (
6351E02EF2A14F505ED2090F /* [CP] Check Pods Manifest.lock */,
3E4359042FC48D26003470A5 /* Sources */,
3E4359052FC48D26003470A5 /* Frameworks */,
3E4359062FC48D26003470A5 /* Resources */,
6DA31A37CE44CF6C53CFCC77 /* [CP] Embed Pods Frameworks */,
F1F67E9D9FD03DDF6DB237AC /* [CP] Copy Pods Resources */,
);
buildRules = (
);
dependencies = (
);
fileSystemSynchronizedGroups = (
3E43590A2FC48D26003470A5 /* QuickLocation */,
);
name = QuickLocation;
productName = QuickLocation;
productReference = 3E4359082FC48D26003470A5 /* QuickLocation.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
3E4359002FC48D26003470A5 /* Project object */ = {
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = 1;
LastSwiftUpdateCheck = 2600;
LastUpgradeCheck = 2600;
TargetAttributes = {
3E4359072FC48D26003470A5 = {
CreatedOnToolsVersion = 26.0.1;
};
};
};
buildConfigurationList = 3E4359032FC48D26003470A5 /* Build configuration list for PBXProject "QuickLocation" */;
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 3E4358FF2FC48D26003470A5;
minimizedProjectReferenceProxies = 1;
preferredProjectObjectVersion = 77;
productRefGroup = 3E4359092FC48D26003470A5 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
3E4359072FC48D26003470A5 /* QuickLocation */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
3E4359062FC48D26003470A5 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
6351E02EF2A14F505ED2090F /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
);
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-QuickLocation-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
6DA31A37CE44CF6C53CFCC77 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-QuickLocation/Pods-QuickLocation-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
inputPaths = (
);
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-QuickLocation/Pods-QuickLocation-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-QuickLocation/Pods-QuickLocation-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
F1F67E9D9FD03DDF6DB237AC /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-QuickLocation/Pods-QuickLocation-resources-${CONFIGURATION}-input-files.xcfilelist",
);
inputPaths = (
);
name = "[CP] Copy Pods Resources";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-QuickLocation/Pods-QuickLocation-resources-${CONFIGURATION}-output-files.xcfilelist",
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-QuickLocation/Pods-QuickLocation-resources.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
3E4359042FC48D26003470A5 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
3E43591C2FC48D2B003470A5 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = DD686BFD90D3CEEEFABFE88F /* Pods-QuickLocation.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 7LP48T8ZJE;
ENABLE_USER_SCRIPT_SANDBOXING = "$(inherited)";
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = QuickLocation/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = "极速定位";
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UIMainStoryboardFile = Main;
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
IPHONEOS_DEPLOYMENT_TARGET = 15;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = cn.zuom8.jisuloca;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
STRING_CATALOG_GENERATE_SYMBOLS = YES;
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_APPROACHABLE_CONCURRENCY = YES;
SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_OBJC_BRIDGING_HEADER = "QuickLocation/QuickLocation-Bridging-Header.h";
SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
3E43591D2FC48D2B003470A5 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = C2BE08A1B1E96CAB0EE3C077 /* Pods-QuickLocation.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 7LP48T8ZJE;
ENABLE_USER_SCRIPT_SANDBOXING = "$(inherited)";
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = QuickLocation/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = "极速定位";
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UIMainStoryboardFile = Main;
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
IPHONEOS_DEPLOYMENT_TARGET = 15;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = cn.zuom8.jisuloca;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
STRING_CATALOG_GENERATE_SYMBOLS = YES;
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_APPROACHABLE_CONCURRENCY = YES;
SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_OBJC_BRIDGING_HEADER = "QuickLocation/QuickLocation-Bridging-Header.h";
SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
3E43591E2FC48D2B003470A5 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
ENABLE_USER_SCRIPT_SANDBOXING = "$(inherited)";
GCC_C_LANGUAGE_STANDARD = gnu17;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 15.6;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
};
3E43591F2FC48D2B003470A5 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_USER_SCRIPT_SANDBOXING = "$(inherited)";
GCC_C_LANGUAGE_STANDARD = gnu17;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 15.6;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
VALIDATE_PRODUCT = YES;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
3E4359032FC48D26003470A5 /* Build configuration list for PBXProject "QuickLocation" */ = {
isa = XCConfigurationList;
buildConfigurations = (
3E43591E2FC48D2B003470A5 /* Debug */,
3E43591F2FC48D2B003470A5 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
3E43591B2FC48D2B003470A5 /* Build configuration list for PBXNativeTarget "QuickLocation" */ = {
isa = XCConfigurationList;
buildConfigurations = (
3E43591C2FC48D2B003470A5 /* Debug */,
3E43591D2FC48D2B003470A5 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 3E4359002FC48D26003470A5 /* Project object */;
}

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:">
</FileRef>
</Workspace>

View File

@ -0,0 +1,79 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "2650"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES"
buildArchitectures = "Automatic">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3E4359072FC48D26003470A5"
BuildableName = "QuickLocation.app"
BlueprintName = "QuickLocation"
ReferencedContainer = "container:QuickLocation.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES"
queueDebuggingEnableBacktraceRecording = "Yes">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3E4359072FC48D26003470A5"
BuildableName = "QuickLocation.app"
BlueprintName = "QuickLocation"
ReferencedContainer = "container:QuickLocation.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3E4359072FC48D26003470A5"
BuildableName = "QuickLocation.app"
BlueprintName = "QuickLocation"
ReferencedContainer = "container:QuickLocation.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>QuickLocation.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>39</integer>
</dict>
</dict>
</dict>
</plist>

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>QuickLocation.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>42</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>3E4359072FC48D26003470A5</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "group:QuickLocation.xcodeproj">
</FileRef>
<FileRef
location = "group:Pods/Pods.xcodeproj">
</FileRef>
</Workspace>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
uuid = "AE547311-A826-480F-B1ED-BD6B815729FA"
type = "0"
version = "2.0">
</Bucket>

View File

@ -0,0 +1,33 @@
//
// API.swift
// HealthyZG
//
// Created by 林 on 2020/5/15.
// Copyright © 2020 Lin. All rights reserved.
//
import Moya
import SwiftyUserDefaults
public protocol MultiTargetProtocol: TargetType {
var multiTarget: MultiTarget { get }
}
public extension MultiTargetProtocol {
var multiTarget: MultiTarget { MultiTarget(self) }
var headers: [String : String]? {
AppNetworkConfig.shared.httpHeader?()
}
var baseURL: URL { URL(string: AppNetworkConfig.shared.baseURL)! }
var parameters: [String : Any] {
var parameters: [String : Any] = [:]
return parameters
}
var sampleData: Data { Data(base64Encoded: "just for test")! }
}

View File

@ -0,0 +1,131 @@
//
// APIProvider.swift
// HealthyZG
//
// Created by 林 on 2020/5/18.
// Copyright © 2020 Lin. All rights reserved.
//
import Foundation
import Moya
import RxSwift
// swiftlint:disable:next identifier_name
public let GatewayStatusCodeKey = "GatewayStatusCodeKey"
typealias Parameters = [String: Any]
private func JSONResponseDataFormatter(_ data: Data) -> String {
do {
let dataAsJSON = try JSONSerialization.jsonObject(with: data)
let prettyData = try JSONSerialization.data(withJSONObject: dataAsJSON, options: .prettyPrinted)
return String(data: prettyData, encoding: .utf8) ?? String(data: data, encoding: .utf8) ?? ""
} catch {
return String(data: data, encoding: .utf8) ?? ""
}
}
private func reversedPrint(_ separator: String, terminator: String, items: Any...) {
for item in items {
if let msg = item as? String {
LogInfo(msg)
}
}
}
// MARK: - Provider setup
let requestClosure = { (endpoint: Endpoint, done: MoyaProvider.RequestResultClosure) in
do {
var request = try endpoint.urlRequest()
// Modify the request however you like.
request.timeoutInterval = 15 //设置请求超时时间
done(.success(request))
} catch {
done(.failure(MoyaError.underlying(error, nil)))
}
}
let plugins: [PluginType] = [
SignPlugin(),
NetworkLoggerPlugin(configuration: .init(formatter: .init(responseData: JSONResponseDataFormatter), logOptions: .verbose)),
NetworkActivityPlugin(networkActivityClosure: { change, _ in
#if !SHARE_EXTENSION
DispatchQueue.main.async {
switch change {
case .began:
UIApplication.shared.isNetworkActivityIndicatorVisible = true
case .ended:
UIApplication.shared.isNetworkActivityIndicatorVisible = false
}
}
#endif
})
]
public let APIProvider = MoyaProvider<MultiTarget>(requestClosure: requestClosure,
plugins: plugins).rx
public extension Error {
var underlyingError: NSError? {
guard let moyaError = self as? MoyaError else { return nil }
guard case let .underlying(error, _) = moyaError else { return nil }
return error as NSError
}
var gatewayStatusCode: Int {
let error = underlyingError ?? self as NSError
return error.code
}
var gatewayMessage: String? {
let error = underlyingError ?? self as NSError
return error.userInfo[NSLocalizedDescriptionKey] as? String
}
var responseData: Response? {
guard let moyaError = self as? MoyaError else { return nil }
guard case let .underlying(_, response) = moyaError else { return nil }
return response
}
var isShowErrorTips: Bool {
let error = underlyingError ?? self as NSError
return error.userInfo["isShowTip"] as? Bool ?? true
}
}
public extension MoyaError {
var innerError: NSError? {
switch self {
case let .encodableMapping(error):
return error as NSError
case let .objectMapping(error, _):
return error as NSError
case let .underlying(error, _):
return error as NSError
case let .parameterEncoding(error):
return error as NSError
default:
return nil
}
}
}
// 网关状态码
enum GatewayStatusCode: Int {
// 请求成功
case success = 0
// 版本过低
case outdateVersion = 3
/** ============== 风控 ============== */
case riskControl = 701
/** ============== 用户权限相关 200~300 ============== */
// 登录失效
case userLoginExpair = 1001003
// 权限不足
case noAuthority = 500
// 审核中
case review = 201
/** ============== 未知错误 ============== */
case unknownError = -9999
}

View File

@ -0,0 +1,33 @@
//
// AppNetworkConfig.swift
// SHECommunity
//
// Created by 林 on 2024/11/25.
//
import Foundation
import Moya
// 网络配置
class AppNetworkConfig {
// MARK: - Property
/// 单例
public static let shared = AppNetworkConfig()
/// 服务器地址
public var baseURL: String = ""
/// 请求header
public var httpHeader: (() -> [String: String])?
/// 处理接口请求数据
public var handleRespone: ((Result<Response, MoyaError>, Bool) -> Result<Response, MoyaError>?)?
// MARK: - Lifecyc
private init() {}
}
extension AppNetworkConfig {
}

View File

@ -0,0 +1,65 @@
import Foundation
import RxSwift
import Moya
import SwiftyJSON
extension MoyaProvider: @retroactive ReactiveCompatible {}
public extension Reactive where Base: MoyaProviderType {
/// Designated request-making method.
///
/// - Parameters:
/// - token: Entity, which provides specifications necessary for a `MoyaProvider`.
/// - callbackQueue: Callback queue. If nil - queue from provider initializer will be used.
/// - Returns: Single response object.
func request(token: Base.Target, handle: Bool = true, callbackQueue: DispatchQueue? = nil) -> Single<Response> {
return Single.create { [weak base] single in
let cancellableToken = base?.request(token, callbackQueue: callbackQueue, progress: nil) { result in
if let newResult = AppNetworkConfig.shared.handleRespone?(result, handle) {
switch newResult {
case let .success(response):
single(.success(response))
case let .failure(error):
single(.failure(error))
}
}
}
return Disposables.create {
cancellableToken?.cancel()
}
}
}
/// Designated request-making method with progress.
func requestWithProgress(_ token: Base.Target, callbackQueue: DispatchQueue? = nil) -> Observable<ProgressResponse> {
let progressBlock: (AnyObserver) -> (ProgressResponse) -> Void = { observer in
return { progress in
observer.onNext(progress)
}
}
let response: Observable<ProgressResponse> = Observable.create { [weak base] observer in
let cancellableToken = base?.request(token, callbackQueue: callbackQueue, progress: progressBlock(observer)) { result in
switch result {
case .success:
observer.onCompleted()
case let .failure(error):
observer.onError(error)
}
}
return Disposables.create {
cancellableToken?.cancel()
}
}
// Accumulate all progress and combine them when the result comes
return response.scan(ProgressResponse()) { last, progress in
let progressObject = progress.progressObject ?? last.progressObject
let response = progress.response ?? last.response
return ProgressResponse(progress: progressObject, response: response)
}
}
}

View File

@ -0,0 +1,82 @@
import Foundation
import RxSwift
import Moya
#if canImport(UIKit)
import UIKit.UIImage
#elseif canImport(AppKit)
import AppKit.NSImage
#endif
/// Extension for processing raw NSData generated by network access.
public extension ObservableType where Element == Response {
/// Filters out responses that don't fall within the given range, generating errors when others are encountered.
func filter<R: RangeExpression>(statusCodes: R) -> Observable<Element> where R.Bound == Int {
return flatMap { Observable.just(try $0.filter(statusCodes: statusCodes)) }
}
/// Filters out responses that has the specified `statusCode`.
func filter(statusCode: Int) -> Observable<Element> {
return flatMap { Observable.just(try $0.filter(statusCode: statusCode)) }
}
/// Filters out responses where `statusCode` falls within the range 200 - 299.
func filterSuccessfulStatusCodes() -> Observable<Element> {
return flatMap { Observable.just(try $0.filterSuccessfulStatusCodes()) }
}
/// Filters out responses where `statusCode` falls within the range 200 - 399
func filterSuccessfulStatusAndRedirectCodes() -> Observable<Element> {
return flatMap { Observable.just(try $0.filterSuccessfulStatusAndRedirectCodes()) }
}
/// Maps data received from the signal into an Image. If the conversion fails, the signal errors.
func mapImage() -> Observable<Image> {
return flatMap { Observable.just(try $0.mapImage()) }
}
/// Maps data received from the signal into a JSON object. If the conversion fails, the signal errors.
func mapJSON(failsOnEmptyData: Bool = true) -> Observable<Any> {
return flatMap { Observable.just(try $0.mapJSON(failsOnEmptyData: failsOnEmptyData)) }
}
/// Maps received data at key path into a String. If the conversion fails, the signal errors.
func mapString(atKeyPath keyPath: String? = nil) -> Observable<String> {
return flatMap { Observable.just(try $0.mapString(atKeyPath: keyPath)) }
}
/// Maps received data at key path into a Decodable object. If the conversion fails, the signal errors.
func map<D: Decodable>(_ type: D.Type, atKeyPath keyPath: String? = nil, using decoder: JSONDecoder = JSONDecoder(), failsOnEmptyData: Bool = true) -> Observable<D> {
return flatMap { Observable.just(try $0.map(type, atKeyPath: keyPath, using: decoder, failsOnEmptyData: failsOnEmptyData)) }
}
}
public extension ObservableType where Element == ProgressResponse {
/**
Filter completed progress response and maps to actual response
- returns: response associated with ProgressResponse object
*/
func filterCompleted() -> Observable<Response> {
return self
.filter { $0.completed }
.flatMap { progress -> Observable<Response> in
// Just a formatlity to satisfy the compiler (completed progresses have responses).
switch progress.response {
case .some(let response): return .just(response)
case .none: return .empty()
}
}
}
/**
Filter progress events of current ProgressResponse
- returns: observable of progress events
*/
func filterProgress() -> Observable<Double> {
return self.filter { !$0.completed }.map { $0.progress }
}
}

View File

@ -0,0 +1,53 @@
import Foundation
import RxSwift
import Moya
#if canImport(UIKit)
import UIKit.UIImage
#elseif canImport(AppKit)
import AppKit.NSImage
#endif
/// Extension for processing raw NSData generated by network access.
public extension PrimitiveSequence where Trait == SingleTrait, Element == Response {
/// Filters out responses that don't fall within the given closed range, generating errors when others are encountered.
func filter<R: RangeExpression>(statusCodes: R) -> Single<Element> where R.Bound == Int {
return flatMap { .just(try $0.filter(statusCodes: statusCodes)) }
}
/// Filters out responses that have the specified `statusCode`.
func filter(statusCode: Int) -> Single<Element> {
return flatMap { .just(try $0.filter(statusCode: statusCode)) }
}
/// Filters out responses where `statusCode` falls within the range 200 - 299.
func filterSuccessfulStatusCodes() -> Single<Element> {
return flatMap { .just(try $0.filterSuccessfulStatusCodes()) }
}
/// Filters out responses where `statusCode` falls within the range 200 - 399
func filterSuccessfulStatusAndRedirectCodes() -> Single<Element> {
return flatMap { .just(try $0.filterSuccessfulStatusAndRedirectCodes()) }
}
/// Maps data received from the signal into an Image. If the conversion fails, the signal errors.
func mapImage() -> Single<Image> {
return flatMap { .just(try $0.mapImage()) }
}
/// Maps data received from the signal into a JSON object. If the conversion fails, the signal errors.
func mapJSON(failsOnEmptyData: Bool = true) -> Single<Any> {
return flatMap { .just(try $0.mapJSON(failsOnEmptyData: failsOnEmptyData)) }
}
/// Maps received data at key path into a String. If the conversion fails, the signal errors.
func mapString(atKeyPath keyPath: String? = nil) -> Single<String> {
return flatMap { .just(try $0.mapString(atKeyPath: keyPath)) }
}
/// Maps received data at key path into a Decodable object. If the conversion fails, the signal errors.
func map<D: Decodable>(_ type: D.Type, atKeyPath keyPath: String? = nil, using decoder: JSONDecoder = JSONDecoder(), failsOnEmptyData: Bool = true) -> Single<D> {
return flatMap { .just(try $0.map(type, atKeyPath: keyPath, using: decoder, failsOnEmptyData: failsOnEmptyData)) }
}
}

View File

@ -0,0 +1,82 @@
import Foundation
import Moya
import CommonCrypto
/// JiaMiKey 的 MD5,预计算避免每次请求都算
private let jiaMiKeyMD5: String = {
let key = "857d69d374694c1de46486d3bdaaac43"
return SignPlugin.md5(key)
}()
/// 请求签名 Plugin
final class SignPlugin: PluginType {
func prepare(_ request: URLRequest, target: any TargetType) -> URLRequest {
var mutableRequest = request
guard let url = request.url else { return mutableRequest }
let timestamp = String(format: "%.0lf", Date().timeIntervalSince1970)
let nonce = randomString(length: 32)
var queryDict: [String: String] = [
"timestamp": timestamp,
"nonce": nonce
]
// 收集 URL 已有的 query 参数,一并纳入签名
if let components = URLComponents(url: url, resolvingAgainstBaseURL: false),
let queryItems = components.queryItems {
for item in queryItems {
queryDict[item.name] = item.value ?? ""
}
}
let bodyString: String
if let httpBody = request.httpBody, !httpBody.isEmpty {
bodyString = String(data: httpBody, encoding: .utf8) ?? ""
} else {
bodyString = ""
}
let queryString = sortedQueryString(queryDict)
let signStr: String
if bodyString.isEmpty {
signStr = queryString + "&" + jiaMiKeyMD5
} else {
signStr = queryString + "&" + bodyString + "&" + jiaMiKeyMD5
}
let signature = Self.md5(signStr)
// 剥离旧 query,替换为完整的签名 query
let signedQuery = queryString + "&signature=" + signature
var components = URLComponents(url: url, resolvingAgainstBaseURL: false)
components?.percentEncodedQuery = signedQuery.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)
if let newURL = components?.url {
mutableRequest.url = newURL
}
return mutableRequest
}
private func sortedQueryString(_ dict: [String: String]) -> String {
dict
.sorted { $0.key < $1.key }
.map { "\($0.key)=\($0.value)" }
.joined(separator: "&")
}
private func randomString(length: Int) -> String {
let chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
return String((0..<length).map { _ in chars.randomElement()! })
}
fileprivate static func md5(_ string: String) -> String {
let cStr = string.cString(using: .utf8)
let length = CC_LONG(strlen(cStr!))
var digest = [UInt8](repeating: 0, count: Int(CC_MD5_DIGEST_LENGTH))
CC_MD5(cStr, length, &digest)
return digest.map { String(format: "%02x", $0) }.joined()
}
}

View File

@ -0,0 +1,55 @@
//
// SystemAPI.swift
// SHECommunity
//
// Created by 林 on 2024/11/27.
//
import Moya
internal import Alamofire
/// App通用API
enum SystemAPI {
/// 获取用户配置
case userConfig
/// 发送验证码
/// - Parameters:
/// - phone: 手机号
case sendCode(phone: String)
}
extension SystemAPI: MultiTargetProtocol {
var path: String {
switch self {
case .userConfig:
return "api/user/config"
case .sendCode:
return "api/user/sms/code"
}
}
var method: Moya.Method {
switch self {
case .userConfig:
return .get
case .sendCode:
return .post
}
}
var task: Moya.Task {
switch self {
case .userConfig:
return .requestParameters(parameters: parameters, encoding: URLEncoding())
case let .sendCode(phone):
var params = Parameters()
params["phone"] = phone
return .requestParameters(parameters: params, encoding: JSONEncoding())
}
}
}

View File

@ -0,0 +1,60 @@
//
// UserAPI.swift
// QuickLocation
//
// Created by 八条 on 2026/5/28.
//
import Moya
import SwiftyUserDefaults
internal import Alamofire
/// 用户相关API
enum UserAPI {
/// 登录
/// - Parameters:
/// - type: weixin、phone、apple、onekey、device、alipay
/// - bind:1绑定 2解绑 为空是登录
case login(type: String,
bind: String,
data: [String: Any])
/// 退出登录
case logout
}
extension UserAPI: MultiTargetProtocol {
var path: String {
switch self {
case .login:
return "api/user/login"
case .logout:
return "api/user/logout"
}
}
var method: Moya.Method {
.post
// switch self {
// case .:
// return .get
// case .login:
// return .post
// }
}
var task: Moya.Task {
switch self {
case let .login(type, bind, data):
var params = Parameters()
params["type"] = type
params["bind"] = bind
params["data"] = data
return .requestParameters(parameters: params, encoding: JSONEncoding())
case .logout:
return .requestParameters(parameters: Parameters(), encoding: JSONEncoding())
}
}
}

View File

@ -0,0 +1,102 @@
//
// AppDelegate.swift
// QuickLocation
//
// Created by 林 on 2026/5/25.
//
import UIKit
import IQKeyboardManagerSwift
#if !targetEnvironment(simulator)
import GeYanSdk
import AMapFoundationKit
#endif
@main
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, willFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
ApiManager.shared.setup()
AppRouter.shared.setup()
return true
}
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
IQKeyboardManager.shared.isEnabled = true
IQKeyboardManager.shared.enableAutoToolbar = false
IQKeyboardManager.shared.resignOnTouchOutside = true
// 高德地图
#if !targetEnvironment(simulator)
AMapServices.shared().apiKey = AppSettings.kAppsAMapAppId
#endif
// 个推
#if !targetEnvironment(simulator)
GeYanSdk.setPreLoginTimeout(10)
GeYanSdk.setEloginTimeout(10)
GeYanSdk.start(withAppId: AppSettings.kAppsGeTuiAppId) { isSuccess, error, gtcid in
print("GeYanSdk startWithAppId gtcid: \(gtcid ?? "")")
}
GeYanSdk.preGetToken { preDic in
print("preGetToken: \(preDic)")
}
#endif
window = UIWindow(frame: UIScreen.main.bounds)
window?.backgroundColor = .white
window?.overrideUserInterfaceStyle = .light
window?.rootViewController = LaunchViewController()
window?.makeKeyAndVisible()
return true
}
}
extension AppDelegate {
/// 重置MainTabbarViewController
func showMainViewController() {
window?.rootViewController = MainTabBarController()
}
}
extension AppDelegate {
static var shared: AppDelegate {
UIApplication.shared.delegate as! AppDelegate
}
static var keyWindow: UIWindow? {
UIApplication.shared.windows.filter { $0.isKeyWindow }.first
}
static var rootViewController: UIViewController? {
getRootViewController(keyWindow?.rootViewController)
}
static func getRootViewController(_ inViewController: UIViewController?) -> UIViewController? {
var rootViewController: UIViewController? = inViewController
while inViewController?.presentedViewController != nil {
rootViewController = rootViewController?.presentedViewController
}
guard let rootVc = rootViewController else { return nil }
if rootVc.isKind(of: UINavigationController.self) {
return getRootViewController((rootVc as? UINavigationController)?.visibleViewController)
} else if rootVc.isKind(of: UITabBarController.self) {
return getRootViewController((rootVc as? UITabBarController)?.selectedViewController)
} else {
return rootVc
}
}
}

View File

@ -0,0 +1,11 @@
{
"colors" : [
{
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@ -0,0 +1,36 @@
{
"images" : [
{
"filename" : "app_icon.png",
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "tinted"
}
],
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 637 KiB

View File

@ -0,0 +1,9 @@
{
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"provides-namespace" : true
}
}

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "back@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "back@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1019 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "navBar_bg_1@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "navBar_bg_1@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 KiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "navBar_bg_2@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "navBar_bg_2@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 KiB

View File

@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@ -0,0 +1,9 @@
{
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"provides-namespace" : true
}
}

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Rectangle 71@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Rectangle 71@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Group_2040@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Group_2040@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 906 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Group_2041@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Group_2041@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 856 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Group_2042@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Group_2042@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 906 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Group_2043@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Group_2043@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 868 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Group_2044@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Group_2044@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 695 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

View File

@ -0,0 +1,9 @@
{
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"provides-namespace" : true
}
}

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "􀆉_Parent View@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "􀆉_Parent View@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 927 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Group 1917@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Group 1917@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "direction@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "direction@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "group@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "group@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Group_50@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Group_50@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "navBar_bg@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "navBar_bg@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 KiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Group_1512@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Group_1512@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Group_1450@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Group_1450@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Group_1449@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Group_1449@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@ -0,0 +1,9 @@
{
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"provides-namespace" : true
}
}

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Group_1483@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Group_1483@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 491 KiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Group_1482@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Group_1482@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -0,0 +1,9 @@
{
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"provides-namespace" : true
}
}

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Group 1444@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Group 1444@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Mask_group@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Mask_group@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Rectangle 209@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Rectangle 209@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 483 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 708 B

Some files were not shown because too many files have changed in this diff Show More