uilable 复制功能

This commit is contained in:
pengguangjian 2025-03-18 18:22:55 +08:00
parent 38f38e717b
commit 498778fcf9
112 changed files with 8155 additions and 5156 deletions

View File

@ -65,6 +65,8 @@ pod 'SDWebImageWebPCoder'
pod 'GHMarkdownParser'
pod 'DTCoreText'
#pod 'CJLabel'
post_install do |installer|
installer.generated_projects.each do |project|
project.targets.each do |target|

View File

@ -205,6 +205,6 @@ SPEC CHECKSUMS:
YYText: 5c461d709e24d55a182d1441c41dc639a18a4849
ZXSDK: 414bed508b670437a9bdf7c75d49816b8cb7b2d4
PODFILE CHECKSUM: add55c1c10e50d97525389b699cc2e6505d7d6b1
PODFILE CHECKSUM: 8bea39b4f403cd5b4285bab4af17f04bbe42e8b1
COCOAPODS: 1.15.2
COCOAPODS: 1.16.2

View File

@ -1,23 +0,0 @@
<?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>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>C617.1</string>
</array>
</dict>
</array>
</dict>
</plist>

View File

@ -1,14 +0,0 @@
<?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>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array/>
</dict>
</plist>

View File

@ -1,23 +0,0 @@
<?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>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>C617.1</string>
</array>
</dict>
</array>
</dict>
</plist>

View File

@ -205,6 +205,6 @@ SPEC CHECKSUMS:
YYText: 5c461d709e24d55a182d1441c41dc639a18a4849
ZXSDK: 414bed508b670437a9bdf7c75d49816b8cb7b2d4
PODFILE CHECKSUM: add55c1c10e50d97525389b699cc2e6505d7d6b1
PODFILE CHECKSUM: 8bea39b4f403cd5b4285bab4af17f04bbe42e8b1
COCOAPODS: 1.15.2
COCOAPODS: 1.16.2

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -7,6 +7,7 @@ HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AFNetworking
LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks'
LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/WechatOpenSDK/OpenSDK2.0.4" "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift
OTHER_LDFLAGS = $(inherited) -ObjC -all_load -l"WechatOpenSDK" -l"c++" -l"iconv" -l"icucore" -l"resolv" -l"sqlite3" -l"sqlite3.0" -l"xml2" -l"z" -framework "AFNetworking" -framework "AVFoundation" -framework "Accelerate" -framework "AdSupport" -framework "CFNetwork" -framework "CoreFoundation" -framework "CoreGraphics" -framework "CoreLocation" -framework "CoreMedia" -framework "CoreTelephony" -framework "CoreText" -framework "DTCoreText" -framework "DTFoundation" -framework "DZNEmptyDataSet" -framework "FMDB" -framework "Foundation" -framework "GHMarkdownParser" -framework "GTCommonSDK" -framework "GTExtensionSDK" -framework "GTSDK" -framework "GeYanSdk" -framework "HXPhotoPicker" -framework "IQKeyboardManager" -framework "ImageIO" -framework "LSTTimer" -framework "MBProgressHUD" -framework "MJRefresh" -framework "MOFSPickerManager" -framework "Masonry" -framework "MediaPlayer" -framework "MobileCoreServices" -framework "Photos" -framework "PhotosUI" -framework "PopupKit" -framework "QuartzCore" -framework "Reachability" -framework "SDAutoLayout" -framework "SDCycleScrollView" -framework "SDWebImage" -framework "SDWebImageWebPCoder" -framework "SSZipArchive" -framework "Security" -framework "SocketRocket" -framework "SystemConfiguration" -framework "UIKit" -framework "UITableView_FDTemplateLayoutCell" -framework "UMAPM" -framework "UMCommon" -framework "UMCommonLog" -framework "UMDevice" -framework "UMLink" -framework "VideoToolbox" -framework "WebKit" -framework "YYModel" -framework "YYText" -framework "ZXSDK" -framework "libpag" -framework "libwebp" -weak_framework "AppTrackingTransparency" -weak_framework "Network" -weak_framework "UserNotifications"
OTHER_MODULE_VERIFIER_FLAGS = $(inherited) "-F${PODS_CONFIGURATION_BUILD_DIR}/AFNetworking" "-F${PODS_CONFIGURATION_BUILD_DIR}/DTCoreText" "-F${PODS_CONFIGURATION_BUILD_DIR}/DTFoundation" "-F${PODS_CONFIGURATION_BUILD_DIR}/DZNEmptyDataSet" "-F${PODS_CONFIGURATION_BUILD_DIR}/FMDB" "-F${PODS_CONFIGURATION_BUILD_DIR}/GHMarkdownParser" "-F${PODS_CONFIGURATION_BUILD_DIR}/GTCommonSDK" "-F${PODS_CONFIGURATION_BUILD_DIR}/GTExtensionSDK" "-F${PODS_CONFIGURATION_BUILD_DIR}/GTSDK" "-F${PODS_CONFIGURATION_BUILD_DIR}/GYSDK" "-F${PODS_CONFIGURATION_BUILD_DIR}/HXPhotoPicker" "-F${PODS_CONFIGURATION_BUILD_DIR}/IQKeyboardManager" "-F${PODS_CONFIGURATION_BUILD_DIR}/LSTTimer" "-F${PODS_CONFIGURATION_BUILD_DIR}/MBProgressHUD" "-F${PODS_CONFIGURATION_BUILD_DIR}/MJRefresh" "-F${PODS_CONFIGURATION_BUILD_DIR}/MOFSPickerManager" "-F${PODS_CONFIGURATION_BUILD_DIR}/Masonry" "-F${PODS_CONFIGURATION_BUILD_DIR}/PopupKit" "-F${PODS_CONFIGURATION_BUILD_DIR}/Reachability" "-F${PODS_CONFIGURATION_BUILD_DIR}/SDAutoLayout" "-F${PODS_CONFIGURATION_BUILD_DIR}/SDCycleScrollView" "-F${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage" "-F${PODS_CONFIGURATION_BUILD_DIR}/SDWebImageWebPCoder" "-F${PODS_CONFIGURATION_BUILD_DIR}/SSZipArchive" "-F${PODS_CONFIGURATION_BUILD_DIR}/SocketRocket" "-F${PODS_CONFIGURATION_BUILD_DIR}/UITableView+FDTemplateLayoutCell" "-F${PODS_CONFIGURATION_BUILD_DIR}/UMAPM" "-F${PODS_CONFIGURATION_BUILD_DIR}/UMCCommonLog" "-F${PODS_CONFIGURATION_BUILD_DIR}/UMCommon" "-F${PODS_CONFIGURATION_BUILD_DIR}/UMDevice" "-F${PODS_CONFIGURATION_BUILD_DIR}/UMLink" "-F${PODS_CONFIGURATION_BUILD_DIR}/WechatOpenSDK" "-F${PODS_CONFIGURATION_BUILD_DIR}/YYModel" "-F${PODS_CONFIGURATION_BUILD_DIR}/YYText" "-F${PODS_CONFIGURATION_BUILD_DIR}/ZXSDK" "-F${PODS_CONFIGURATION_BUILD_DIR}/libpag" "-F${PODS_CONFIGURATION_BUILD_DIR}/libwebp"
OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)

View File

@ -7,6 +7,7 @@ HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AFNetworking
LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks'
LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/WechatOpenSDK/OpenSDK2.0.4" "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift
OTHER_LDFLAGS = $(inherited) -ObjC -all_load -l"WechatOpenSDK" -l"c++" -l"iconv" -l"icucore" -l"resolv" -l"sqlite3" -l"sqlite3.0" -l"xml2" -l"z" -framework "AFNetworking" -framework "AVFoundation" -framework "Accelerate" -framework "AdSupport" -framework "CFNetwork" -framework "CoreFoundation" -framework "CoreGraphics" -framework "CoreLocation" -framework "CoreMedia" -framework "CoreTelephony" -framework "CoreText" -framework "DTCoreText" -framework "DTFoundation" -framework "DZNEmptyDataSet" -framework "FMDB" -framework "Foundation" -framework "GHMarkdownParser" -framework "GTCommonSDK" -framework "GTExtensionSDK" -framework "GTSDK" -framework "GeYanSdk" -framework "HXPhotoPicker" -framework "IQKeyboardManager" -framework "ImageIO" -framework "LSTTimer" -framework "MBProgressHUD" -framework "MJRefresh" -framework "MOFSPickerManager" -framework "Masonry" -framework "MediaPlayer" -framework "MobileCoreServices" -framework "Photos" -framework "PhotosUI" -framework "PopupKit" -framework "QuartzCore" -framework "Reachability" -framework "SDAutoLayout" -framework "SDCycleScrollView" -framework "SDWebImage" -framework "SDWebImageWebPCoder" -framework "SSZipArchive" -framework "Security" -framework "SocketRocket" -framework "SystemConfiguration" -framework "UIKit" -framework "UITableView_FDTemplateLayoutCell" -framework "UMAPM" -framework "UMCommon" -framework "UMCommonLog" -framework "UMDevice" -framework "UMLink" -framework "VideoToolbox" -framework "WebKit" -framework "YYModel" -framework "YYText" -framework "ZXSDK" -framework "libpag" -framework "libwebp" -weak_framework "AppTrackingTransparency" -weak_framework "Network" -weak_framework "UserNotifications"
OTHER_MODULE_VERIFIER_FLAGS = $(inherited) "-F${PODS_CONFIGURATION_BUILD_DIR}/AFNetworking" "-F${PODS_CONFIGURATION_BUILD_DIR}/DTCoreText" "-F${PODS_CONFIGURATION_BUILD_DIR}/DTFoundation" "-F${PODS_CONFIGURATION_BUILD_DIR}/DZNEmptyDataSet" "-F${PODS_CONFIGURATION_BUILD_DIR}/FMDB" "-F${PODS_CONFIGURATION_BUILD_DIR}/GHMarkdownParser" "-F${PODS_CONFIGURATION_BUILD_DIR}/GTCommonSDK" "-F${PODS_CONFIGURATION_BUILD_DIR}/GTExtensionSDK" "-F${PODS_CONFIGURATION_BUILD_DIR}/GTSDK" "-F${PODS_CONFIGURATION_BUILD_DIR}/GYSDK" "-F${PODS_CONFIGURATION_BUILD_DIR}/HXPhotoPicker" "-F${PODS_CONFIGURATION_BUILD_DIR}/IQKeyboardManager" "-F${PODS_CONFIGURATION_BUILD_DIR}/LSTTimer" "-F${PODS_CONFIGURATION_BUILD_DIR}/MBProgressHUD" "-F${PODS_CONFIGURATION_BUILD_DIR}/MJRefresh" "-F${PODS_CONFIGURATION_BUILD_DIR}/MOFSPickerManager" "-F${PODS_CONFIGURATION_BUILD_DIR}/Masonry" "-F${PODS_CONFIGURATION_BUILD_DIR}/PopupKit" "-F${PODS_CONFIGURATION_BUILD_DIR}/Reachability" "-F${PODS_CONFIGURATION_BUILD_DIR}/SDAutoLayout" "-F${PODS_CONFIGURATION_BUILD_DIR}/SDCycleScrollView" "-F${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage" "-F${PODS_CONFIGURATION_BUILD_DIR}/SDWebImageWebPCoder" "-F${PODS_CONFIGURATION_BUILD_DIR}/SSZipArchive" "-F${PODS_CONFIGURATION_BUILD_DIR}/SocketRocket" "-F${PODS_CONFIGURATION_BUILD_DIR}/UITableView+FDTemplateLayoutCell" "-F${PODS_CONFIGURATION_BUILD_DIR}/UMAPM" "-F${PODS_CONFIGURATION_BUILD_DIR}/UMCCommonLog" "-F${PODS_CONFIGURATION_BUILD_DIR}/UMCommon" "-F${PODS_CONFIGURATION_BUILD_DIR}/UMDevice" "-F${PODS_CONFIGURATION_BUILD_DIR}/UMLink" "-F${PODS_CONFIGURATION_BUILD_DIR}/WechatOpenSDK" "-F${PODS_CONFIGURATION_BUILD_DIR}/YYModel" "-F${PODS_CONFIGURATION_BUILD_DIR}/YYText" "-F${PODS_CONFIGURATION_BUILD_DIR}/ZXSDK" "-F${PODS_CONFIGURATION_BUILD_DIR}/libpag" "-F${PODS_CONFIGURATION_BUILD_DIR}/libwebp"
OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)

View File

@ -147,6 +147,7 @@
CA4257B62CA2BBB000A36A10 /* StartPayView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA4257B52CA2BBB000A36A10 /* StartPayView.m */; };
CA4257B92CA2C42E00A36A10 /* StartPayTQView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA4257B82CA2C42E00A36A10 /* StartPayTQView.m */; };
CA4257BD2CA2C65600A36A10 /* StartPayTQViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = CA4257BC2CA2C65600A36A10 /* StartPayTQViewCell.m */; };
CA477C0E2D8808890041DA00 /* PGJUILaelSpanView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA477C0D2D8808890041DA00 /* PGJUILaelSpanView.m */; };
CA487D872CA3A36300AE773B /* StartZNPPTDaGangTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = CA487D862CA3A36300AE773B /* StartZNPPTDaGangTableViewCell.m */; };
CA487D8A2CA3AB6B00AE773B /* UITableView+MoveCell.m in Sources */ = {isa = PBXBuildFile; fileRef = CA487D892CA3AB6B00AE773B /* UITableView+MoveCell.m */; };
CA487D8D2CA3E6B700AE773B /* StartZNPPTDaGangSonTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = CA487D8C2CA3E6B700AE773B /* StartZNPPTDaGangSonTableViewCell.m */; };
@ -257,6 +258,12 @@
CA6D547A2CCB9F00001B530A /* CorrectWriteCorrectModel.m in Sources */ = {isa = PBXBuildFile; fileRef = CA6D54792CCB9F00001B530A /* CorrectWriteCorrectModel.m */; };
CA6D547D2CCB9FA8001B530A /* CorrectWriteErrorModel.m in Sources */ = {isa = PBXBuildFile; fileRef = CA6D547C2CCB9FA8001B530A /* CorrectWriteErrorModel.m */; };
CA6D54802CCBA3C2001B530A /* WriteCorrectScoreModel.m in Sources */ = {isa = PBXBuildFile; fileRef = CA6D547F2CCBA3C2001B530A /* WriteCorrectScoreModel.m */; };
CA7D2D002D827D4B0092F66B /* WMPlayer.m in Sources */ = {isa = PBXBuildFile; fileRef = CA7D2CFC2D827D4B0092F66B /* WMPlayer.m */; };
CA7D2D012D827D4B0092F66B /* WMPlayerModel.m in Sources */ = {isa = PBXBuildFile; fileRef = CA7D2CFE2D827D4B0092F66B /* WMPlayerModel.m */; };
CA7D2D022D827D4B0092F66B /* UIViewController+ShouldAutorotate.m in Sources */ = {isa = PBXBuildFile; fileRef = CA7D2CF42D827D4B0092F66B /* UIViewController+ShouldAutorotate.m */; };
CA7D2D032D827D4B0092F66B /* FastForwardView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA7D2CF72D827D4B0092F66B /* FastForwardView.m */; };
CA7D2D042D827D4B0092F66B /* WMLightView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA7D2CF92D827D4B0092F66B /* WMLightView.m */; };
CA7D2D052D827D4B0092F66B /* WMPlayer.bundle in Resources */ = {isa = PBXBuildFile; fileRef = CA7D2CFA2D827D4B0092F66B /* WMPlayer.bundle */; };
CA815EBD2CDB0AAA00677C00 /* ppt加载.pag in Resources */ = {isa = PBXBuildFile; fileRef = CA815EBC2CDB0AAA00677C00 /* ppt加载.pag */; };
CA8181882C9E58B100EE7E6E /* StartKTXZWenZhangViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CA8181872C9E58B100EE7E6E /* StartKTXZWenZhangViewController.m */; };
CA81818B2C9E598300EE7E6E /* StartKTXZWenZhangView.m in Sources */ = {isa = PBXBuildFile; fileRef = CA81818A2C9E598300EE7E6E /* StartKTXZWenZhangView.m */; };
@ -846,6 +853,8 @@
CA4257B82CA2C42E00A36A10 /* StartPayTQView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = StartPayTQView.m; sourceTree = "<group>"; };
CA4257BB2CA2C65600A36A10 /* StartPayTQViewCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = StartPayTQViewCell.h; sourceTree = "<group>"; };
CA4257BC2CA2C65600A36A10 /* StartPayTQViewCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = StartPayTQViewCell.m; sourceTree = "<group>"; };
CA477C0C2D8808890041DA00 /* PGJUILaelSpanView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PGJUILaelSpanView.h; sourceTree = "<group>"; };
CA477C0D2D8808890041DA00 /* PGJUILaelSpanView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PGJUILaelSpanView.m; sourceTree = "<group>"; };
CA487D852CA3A36300AE773B /* StartZNPPTDaGangTableViewCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = StartZNPPTDaGangTableViewCell.h; sourceTree = "<group>"; };
CA487D862CA3A36300AE773B /* StartZNPPTDaGangTableViewCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = StartZNPPTDaGangTableViewCell.m; sourceTree = "<group>"; };
CA487D882CA3AB6B00AE773B /* UITableView+MoveCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UITableView+MoveCell.h"; sourceTree = "<group>"; };
@ -1042,6 +1051,17 @@
CA6D547C2CCB9FA8001B530A /* CorrectWriteErrorModel.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CorrectWriteErrorModel.m; sourceTree = "<group>"; };
CA6D547E2CCBA3C2001B530A /* WriteCorrectScoreModel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WriteCorrectScoreModel.h; sourceTree = "<group>"; };
CA6D547F2CCBA3C2001B530A /* WriteCorrectScoreModel.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = WriteCorrectScoreModel.m; sourceTree = "<group>"; };
CA7D2CF32D827D4B0092F66B /* UIViewController+ShouldAutorotate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "UIViewController+ShouldAutorotate.h"; sourceTree = "<group>"; };
CA7D2CF42D827D4B0092F66B /* UIViewController+ShouldAutorotate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "UIViewController+ShouldAutorotate.m"; sourceTree = "<group>"; };
CA7D2CF62D827D4B0092F66B /* FastForwardView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FastForwardView.h; sourceTree = "<group>"; };
CA7D2CF72D827D4B0092F66B /* FastForwardView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FastForwardView.m; sourceTree = "<group>"; };
CA7D2CF82D827D4B0092F66B /* WMLightView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WMLightView.h; sourceTree = "<group>"; };
CA7D2CF92D827D4B0092F66B /* WMLightView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = WMLightView.m; sourceTree = "<group>"; };
CA7D2CFA2D827D4B0092F66B /* WMPlayer.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = WMPlayer.bundle; sourceTree = "<group>"; };
CA7D2CFB2D827D4B0092F66B /* WMPlayer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WMPlayer.h; sourceTree = "<group>"; };
CA7D2CFC2D827D4B0092F66B /* WMPlayer.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = WMPlayer.m; sourceTree = "<group>"; };
CA7D2CFD2D827D4B0092F66B /* WMPlayerModel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WMPlayerModel.h; sourceTree = "<group>"; };
CA7D2CFE2D827D4B0092F66B /* WMPlayerModel.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = WMPlayerModel.m; sourceTree = "<group>"; };
CA815EBC2CDB0AAA00677C00 /* ppt加载.pag */ = {isa = PBXFileReference; lastKnownFileType = file; path = "ppt加载.pag"; sourceTree = "<group>"; };
CA8181862C9E58B100EE7E6E /* StartKTXZWenZhangViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = StartKTXZWenZhangViewController.h; sourceTree = "<group>"; };
CA8181872C9E58B100EE7E6E /* StartKTXZWenZhangViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = StartKTXZWenZhangViewController.m; sourceTree = "<group>"; };
@ -2971,6 +2991,32 @@
path = "提问列表";
sourceTree = "<group>";
};
CA7D2CF52D827D4B0092F66B /* Category */ = {
isa = PBXGroup;
children = (
CA7D2CF32D827D4B0092F66B /* UIViewController+ShouldAutorotate.h */,
CA7D2CF42D827D4B0092F66B /* UIViewController+ShouldAutorotate.m */,
);
path = Category;
sourceTree = "<group>";
};
CA7D2CFF2D827D4B0092F66B /* WMPlayer */ = {
isa = PBXGroup;
children = (
CA7D2CF52D827D4B0092F66B /* Category */,
CA7D2CF62D827D4B0092F66B /* FastForwardView.h */,
CA7D2CF72D827D4B0092F66B /* FastForwardView.m */,
CA7D2CF82D827D4B0092F66B /* WMLightView.h */,
CA7D2CF92D827D4B0092F66B /* WMLightView.m */,
CA7D2CFA2D827D4B0092F66B /* WMPlayer.bundle */,
CA7D2CFB2D827D4B0092F66B /* WMPlayer.h */,
CA7D2CFC2D827D4B0092F66B /* WMPlayer.m */,
CA7D2CFD2D827D4B0092F66B /* WMPlayerModel.h */,
CA7D2CFE2D827D4B0092F66B /* WMPlayerModel.m */,
);
path = WMPlayer;
sourceTree = "<group>";
};
CA8181932C9E750900EE7E6E /* view */ = {
isa = PBXGroup;
children = (
@ -4078,6 +4124,8 @@
CA9CFF732CCA2FB200C3E90E /* SSEDrawListTextModel.m */,
CA8181A52C9EAB8700EE7E6E /* PGJUILabel.h */,
CA8181A62C9EAB8700EE7E6E /* PGJUILabel.m */,
CA477C0C2D8808890041DA00 /* PGJUILaelSpanView.h */,
CA477C0D2D8808890041DA00 /* PGJUILaelSpanView.m */,
CA5088E92CF42626003A82A5 /* MarkdownParser.h */,
CA5088EA2CF42626003A82A5 /* MarkdownParser.m */,
CA0D087D2CA55E5C0086855E /* JJGradientLabel.h */,
@ -4181,6 +4229,7 @@
CB489E1A2744A0BC00DA044A /* BaseControl */ = {
isa = PBXGroup;
children = (
CA7D2CFF2D827D4B0092F66B /* WMPlayer */,
CA38686A2CC23992009C98B0 /* iflyMSC.framework */,
CA3868622CC1F7C0009C98B0 /* zfbSdk */,
CA38685E2CC1F7B7009C98B0 /* TTTAttributedLabel */,
@ -4898,6 +4947,7 @@
CA5D03162CC0DDF0007B3BA5 /* Pay_Public_余额抵扣.png in Resources */,
CB489FC42744A0BD00DA044A /* loading2@3x.png in Resources */,
CA5D03142CC0DDF0007B3BA5 /* Pau_Public_X@3x.png in Resources */,
CA7D2D052D827D4B0092F66B /* WMPlayer.bundle in Resources */,
CAE010B52CD9CF5B003E327F /* 逐字动效.pag in Resources */,
CB489FBC2744A0BD00DA044A /* loading1@2x.png in Resources */,
CB489FBB2744A0BD00DA044A /* loading1@3x.png in Resources */,
@ -5171,6 +5221,7 @@
CAAFA5EC2CD8597200A58D23 /* PptByOutlineModel.m in Sources */,
CA5D03112CC0DDF0007B3BA5 /* PayPublicYouHuiLogListViewCell.m in Sources */,
CA0D08712CA54D4B0086855E /* ShouYeLiShiJiLuXZTableViewCell.m in Sources */,
CA477C0E2D8808890041DA00 /* PGJUILaelSpanView.m in Sources */,
CB489F742744A0BD00DA044A /* MCTabBar.m in Sources */,
CB489FB12744A0BD00DA044A /* FSActionSheetCell.m in Sources */,
CA0688E92CD374CD00DF7025 /* NSString+UriCompatibility.m in Sources */,
@ -5306,6 +5357,11 @@
CA22D1D62CD0B86900CA7E93 /* ExampleTextTypeModel.m in Sources */,
CB489FA62744A0BD00DA044A /* ZJScrollSegmentView.m in Sources */,
CA5D035D2CC0DE8D007B3BA5 /* TiXianViewController.m in Sources */,
CA7D2D002D827D4B0092F66B /* WMPlayer.m in Sources */,
CA7D2D012D827D4B0092F66B /* WMPlayerModel.m in Sources */,
CA7D2D022D827D4B0092F66B /* UIViewController+ShouldAutorotate.m in Sources */,
CA7D2D032D827D4B0092F66B /* FastForwardView.m in Sources */,
CA7D2D042D827D4B0092F66B /* WMLightView.m in Sources */,
CA0D08332CA4FFB90086855E /* ShouYeBannerTableViewCell.m in Sources */,
CA8EE51D2CC8C835009D73E3 /* TongYiXieYiAlterView.m in Sources */,
CAA600CD2CA92FB700026CF4 /* FXErView.m in Sources */,
@ -5626,7 +5682,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = ProductApp/ProductApp.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = D5PBFE23SF;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
@ -5670,7 +5726,8 @@
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UIMainStoryboardFile = Main;
INFOPLIST_KEY_UIRequiredDeviceCapabilities = armv7;
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = UIInterfaceOrientationPortrait;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
@ -5681,7 +5738,7 @@
"$(PROJECT_DIR)/ProductApp/Other/语音/arm/lib",
"$(PROJECT_DIR)/ProductApp/BaseControl/Category/RSAEncrypt/lib",
);
MARKETING_VERSION = 2.5.4;
MARKETING_VERSION = 2.5.5;
PRODUCT_BUNDLE_IDENTIFIER = com.batiao.aiwrite;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
@ -5697,7 +5754,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = ProductApp/ProductApp.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = D5PBFE23SF;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
@ -5741,7 +5798,8 @@
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UIMainStoryboardFile = Main;
INFOPLIST_KEY_UIRequiredDeviceCapabilities = armv7;
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = UIInterfaceOrientationPortrait;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
@ -5752,7 +5810,7 @@
"$(PROJECT_DIR)/ProductApp/Other/语音/arm/lib",
"$(PROJECT_DIR)/ProductApp/BaseControl/Category/RSAEncrypt/lib",
);
MARKETING_VERSION = 2.5.4;
MARKETING_VERSION = 2.5.5;
PRODUCT_BUNDLE_IDENTIFIER = com.batiao.aiwrite;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;

View File

@ -36,21 +36,5 @@
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "5068A4C4-5B80-4045-9E6F-30C990F92D64"
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "ProductApp/ProductMain/&#x5f15;&#x5bfc;/view/StartGNView.m"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "351"
endingLineNumber = "351"
landmarkName = "-tiyanAction"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>

View File

@ -38,7 +38,7 @@
///
- (UIInterfaceOrientationMask)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window {
// return UIInterfaceOrientationMaskLandscapeRight;///
// //
//
// if (self.allowOrentitaionRotation) {
// return UIInterfaceOrientationMaskAllButUpsideDown;
// }

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 585 B

View File

@ -0,0 +1,25 @@
//
// UIViewController+ShouldAutorotate.h
// PlayerDemo
//
// Created by zhengwenming on 2018/6/10.
// Copyright © 2018年 DS-Team. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIViewController (ShouldAutorotate)
@end
@interface UITabBarController (ShouldAutorotate)
@end
@interface UINavigationController (ShouldAutorotate)<UIGestureRecognizerDelegate>
@end
@interface UIAlertController (ShouldAutorotate)
@end

View File

@ -0,0 +1,123 @@
//
// UIViewController+ShouldAutorotate.m
// PlayerDemo
//
// Created by zhengwenming on 2018/6/10.
// Copyright © 2018 DS-Team. All rights reserved.
//
#import "UIViewController+ShouldAutorotate.h"
#import <objc/runtime.h>
@implementation UIViewController (ShouldAutorotate)
//
- (BOOL)shouldAutorotate {
return NO;
}
//
- (UIInterfaceOrientationMask)supportedInterfaceOrientations {
return UIInterfaceOrientationMaskPortrait;
}
// ViewControllerUIViewController
- (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation {
return UIInterfaceOrientationPortrait;
}
- (UIStatusBarStyle)preferredStatusBarStyle {
return UIStatusBarStyleDefault;
}
- (BOOL)prefersStatusBarHidden {
return NO;
}
@end
@implementation UITabBarController (ShouldAutorotate)
+ (void)load {
SEL selectors[] = {
@selector(selectedIndex)
};
for (NSUInteger index = 0; index < sizeof(selectors) / sizeof(SEL); ++index) {
SEL originalSelector = selectors[index];
SEL swizzledSelector = NSSelectorFromString([@"wm_" stringByAppendingString:NSStringFromSelector(originalSelector)]);
Method originalMethod = class_getInstanceMethod(self, originalSelector);
Method swizzledMethod = class_getInstanceMethod(self, swizzledSelector);
if (class_addMethod(self, originalSelector, method_getImplementation(swizzledMethod), method_getTypeEncoding(swizzledMethod))) {
class_replaceMethod(self, swizzledSelector, method_getImplementation(originalMethod), method_getTypeEncoding(originalMethod));
} else {
method_exchangeImplementations(originalMethod, swizzledMethod);
}
}
}
- (NSInteger)wm_selectedIndex {
NSInteger index = [self wm_selectedIndex];
if (index > self.viewControllers.count){
return 0;
}
return index;
}
//
- (BOOL)shouldAutorotate {
UIViewController *vc = self.viewControllers[self.selectedIndex];
if ([vc isKindOfClass:UINavigationController.class]) {
UINavigationController *nav = (UINavigationController *)vc;
return [nav.topViewController shouldAutorotate];
} else {
return [vc shouldAutorotate];
}
}
//
- (UIInterfaceOrientationMask)supportedInterfaceOrientations {
UIViewController *vc = self.viewControllers[self.selectedIndex];
if ([vc isKindOfClass:UINavigationController.class]) {
UINavigationController *nav = (UINavigationController *)vc;
return [nav.topViewController supportedInterfaceOrientations];
} else {
return [vc supportedInterfaceOrientations];
}
}
// ViewControllerUIViewController
- (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation {
UIViewController *vc = self.viewControllers[self.selectedIndex];
if ([vc isKindOfClass:UINavigationController.class]) {
UINavigationController *nav = (UINavigationController *)vc;
return [nav.topViewController preferredInterfaceOrientationForPresentation];
} else {
return [vc preferredInterfaceOrientationForPresentation];
}
}
@end
@implementation UINavigationController (ShouldAutorotate)
//
- (BOOL)shouldAutorotate {
return [self.topViewController shouldAutorotate];
}
//
- (UIInterfaceOrientationMask)supportedInterfaceOrientations {
return [self.topViewController supportedInterfaceOrientations];
}
// ViewControllerUIViewController
- (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation {
return [self.topViewController preferredInterfaceOrientationForPresentation];
}
- (UIViewController *)childViewControllerForStatusBarStyle {
return self.topViewController;
}
- (UIViewController *)childViewControllerForStatusBarHidden {
return self.topViewController;
}
@end
@implementation UIAlertController (ShouldAutorotate)
#if __IPHONE_OS_VERSION_MAX_ALLOWED < 90000
- (NSUInteger)supportedInterfaceOrientations; {
return UIInterfaceOrientationMaskAll;
}
#else
- (UIInterfaceOrientationMask)supportedInterfaceOrientations {
return UIInterfaceOrientationMaskAll;
}
#endif
@end

View File

@ -0,0 +1,14 @@
//
// FastForwardView.h
// WMPlayer
//
// Created by 郑文明 on 16/10/26.
// Copyright © 2016年 郑文明. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface FastForwardView : UIView
@property (strong, nonatomic) UIImageView *stateImageView;
@property (strong, nonatomic) UILabel *timeLabel;
@end

View File

@ -0,0 +1,40 @@
//
// FastForwardView.m
// WMPlayer
//
// Created by on 16/10/26.
// Copyright © 2016 . All rights reserved.
//
#import "FastForwardView.h"
#import "Masonry.h"
@implementation FastForwardView
- (instancetype)init{
self = [super init];
if (self) {
self.backgroundColor = [UIColor colorWithRed:0/256.0f green:0/256.0f blue:0/256.0f alpha:0.8];
self.layer.cornerRadius = 4;
self.layer.masksToBounds = YES;
self.stateImageView = [UIImageView new];
self.stateImageView.image = [UIImage imageNamed:@"progress_icon_r"];
[self addSubview:self.stateImageView];
[self.stateImageView mas_makeConstraints:^(MASConstraintMaker *make) {
make.top.equalTo(self).offset(10);
make.centerX.mas_equalTo(self);
}];
self.timeLabel = [UILabel new];
self.timeLabel.font = [UIFont systemFontOfSize:15.f];
self.timeLabel.textAlignment = NSTextAlignmentCenter;
self.timeLabel.textColor = [UIColor whiteColor];
[self addSubview:self.timeLabel];
[self.timeLabel mas_makeConstraints:^(MASConstraintMaker *make) {
make.bottom.equalTo(self).offset(-10);
make.centerX.mas_equalTo(self);
}];
}
return self;
}
@end

View File

@ -0,0 +1,18 @@
//
// WMLightView.h
// WMPlayer
//
// Created by 郑文明 on 16/10/26.
// Copyright © 2016年 郑文明. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface WMLightView : UIView
@property (strong, nonatomic) UIView *lightBackView;
@property (strong, nonatomic) UIImageView *centerLightIV;
@property (nonatomic, strong) NSMutableArray * lightViewArr;
+ (instancetype)sharedLightView;
@end

View File

@ -0,0 +1,143 @@
//
// WMLightView.m
// WMPlayer
//
// Created by on 16/10/26.
// Copyright © 2016 . All rights reserved.
//
#import "WMLightView.h"
#import "WMPlayer.h"
#define LIGHT_VIEW_COUNT 16
@interface WMLightView ()
@property (nonatomic, strong) NSTimer *timer;
@end
@implementation WMLightView
+ (instancetype)sharedLightView{
WMLightView *lightView = [[WMLightView alloc] init];
lightView.backgroundColor = [UIColor whiteColor];
return lightView;
}
- (instancetype)init
{
self = [super init];
if (self) {
self.frame = CGRectMake(([UIScreen mainScreen].bounds.size.width) * 0.5, ([UIScreen mainScreen].bounds.size.height) * 0.5, 155, 155);
self.layer.cornerRadius = 10;
{
UILabel *titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 5, self.bounds.size.width, 30)];
titleLabel.font = [UIFont boldSystemFontOfSize:16.0];
titleLabel.textColor = [UIColor colorWithRed:0.25f green:0.22f blue:0.21f alpha:1.00f];
titleLabel.textAlignment = NSTextAlignmentCenter;
titleLabel.text = @"亮度";
[self addSubview:titleLabel];
}
{
self.centerLightIV = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 79, 76)];
self.centerLightIV.image = [UIImage imageNamed:[@"WMPlayer.bundle" stringByAppendingPathComponent:@"play_new_brightness_day"]];
self.centerLightIV.center = CGPointMake(155 * 0.5, 155 * 0.5);
[self addSubview:self.centerLightIV];
}
{
self.lightBackView = [[UIView alloc]initWithFrame:CGRectMake(13, 132, self.bounds.size.width - 26, 7)];
self.lightBackView .backgroundColor = [UIColor colorWithRed:65.0/255.0 green:67.0/255.0 blue:70.0/255.0 alpha:1.0];
[self addSubview:self.lightBackView ];
}
self.lightViewArr = [NSMutableArray arrayWithCapacity:16];
CGFloat wiew_width = (self.lightBackView.bounds.size.width - 17) / 16;
CGFloat wiew_Height = 5;
CGFloat wiew_Y = 1;
for (int i = 0; i < LIGHT_VIEW_COUNT; i++) {
CGFloat wiew_X = i * (wiew_width + 1) + 1;
UIView * view = [[UIView alloc] initWithFrame:CGRectMake(wiew_X, wiew_Y, wiew_width, wiew_Height)];
view.backgroundColor = [UIColor whiteColor];
[self.lightViewArr addObject:view];
[self.lightBackView addSubview:view];
}
[self updateLongView:[UIScreen mainScreen].brightness];
//
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(onOrientationDidChange:)
name:UIDeviceOrientationDidChangeNotification
object:nil];
//KVO
[[UIScreen mainScreen] addObserver:self
forKeyPath:@"brightness"
options:NSKeyValueObservingOptionNew context:NULL];
self.alpha = 0.0;
}
return self;
}
- (void)observeValueForKeyPath:(NSString *)keyPath
ofObject:(id)object
change:(NSDictionary *)change
context:(void *)context {
CGFloat sound = [change[@"new"] floatValue];
if (self.alpha == 0.0) {
self.alpha = 1.0;
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(3.0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
[self hideLightView];
});
}
[self updateLongView:sound];
}
- (void)onOrientationDidChange:(NSNotification *)notify {
self.alpha = 0.0;
}
- (void)hideLightView{
if (self.alpha == 1.0) {
[UIView animateWithDuration:0.8 animations:^{
self.alpha = 0.0;
} completion:^(BOOL finished) {
}];
}
}
#pragma mark - Update View
- (void)updateLongView:(CGFloat)sound {
CGFloat stage = 1 / 15.0;
NSInteger level = sound / stage;
for (int i = 0; i < self.lightViewArr.count; i++) {
UIView *aView = self.lightViewArr[i];
if (i <= level) {
aView.hidden = NO;
} else {
aView.hidden = YES;
}
}
[self setNeedsLayout];
}
- (void)layoutSubviews {
[super layoutSubviews];
self.transform = [WMPlayer getCurrentDeviceOrientation];
self.transform = CGAffineTransformIdentity;
self.center = [UIApplication sharedApplication].keyWindow.center;
}
- (void)dealloc {
self.lightViewArr = nil;
self.lightBackView = nil;
NSLog(@"WMLightView dealloc");
[[UIScreen mainScreen] removeObserver:self forKeyPath:@"brightness"];
[[NSNotificationCenter defaultCenter] removeObserver:self];
}
@end

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 335 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 650 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 913 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 650 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 998 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 475 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 486 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 743 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 721 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 395 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 511 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 730 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 615 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 834 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 565 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 772 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@ -0,0 +1,185 @@
/*!
@header WMPlayer.h
@abstract Github地址https://github.com/zhengwenming
CSDN博客地址:http://blog.csdn.net/wenmingzheng
@author Created by zhengwenming on 16/1/24
@version 1.00 16/1/24 Creation()
Copyright © 2016 . All rights reserved.
*/
#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import <MediaPlayer/MediaPlayer.h>
#import "WMPlayerModel.h"
#import "FastForwardView.h"
#import "WMLightView.h"
//****************************枚举*******************************
// 播放器的几种状态
typedef NS_ENUM(NSInteger, WMPlayerState) {
WMPlayerStateFailed, // 播放失败
WMPlayerStateBuffering, // 缓冲中
WMPlayerStatePlaying, // 播放中
WMPlayerStateStopped, //暂停播放
WMPlayerStateFinished, //完成播放
WMPlayerStatePause, // 打断播放
};
// playerLayer的填充模式默认等比例填充直到一个维度到达区域边界
typedef NS_ENUM(NSInteger, WMPlayerLayerGravity) {
WMPlayerLayerGravityResize, // 非均匀模式。两个维度完全填充至整个视图区域
WMPlayerLayerGravityResizeAspect, // 等比例填充,直到一个维度到达区域边界
WMPlayerLayerGravityResizeAspectFill // 等比例填充,直到填充满整个视图区域,其中一个维度的部分区域会被裁剪
};
// 枚举值,包含播放器左上角的返回按钮的类型
typedef NS_ENUM(NSInteger, BackBtnStyle){
BackBtnStyleClose,//关闭X
BackBtnStylePop //pop箭头<-
};
//手势操作的类型
typedef NS_ENUM(NSUInteger,WMControlType) {
WMControlTypeDefault,//无任何操作
WMControlTypeProgress,//视频进度调节操作
WMControlTypeVoice,//声音调节操作
WMControlTypeLight//屏幕亮度调节操作
} ;
@class WMPlayer;
@protocol WMPlayerDelegate <NSObject>
@optional
//点击播放暂停按钮代理方法
-(void)wmplayer:(WMPlayer *)wmplayer clickedPlayOrPauseButton:(UIButton *)playOrPauseBtn;
//点击关闭按钮代理方法
-(void)wmplayer:(WMPlayer *)wmplayer clickedCloseButton:(UIButton *)backBtn;
//点击全屏按钮代理方法
-(void)wmplayer:(WMPlayer *)wmplayer clickedFullScreenButton:(UIButton *)fullScreenBtn;
//点击锁定🔒按钮的方法
-(void)wmplayer:(WMPlayer *)wmplayer clickedLockButton:(UIButton *)lockBtn;
//单击WMPlayer的代理方法
-(void)wmplayer:(WMPlayer *)wmplayer singleTaped:(UITapGestureRecognizer *)singleTap;
//双击WMPlayer的代理方法
-(void)wmplayer:(WMPlayer *)wmplayer doubleTaped:(UITapGestureRecognizer *)doubleTap;
//WMPlayer的的操作栏隐藏和显示
-(void)wmplayer:(WMPlayer *)wmplayer isHiddenTopAndBottomView:(BOOL )isHidden;
//播放失败的代理方法
-(void)wmplayerFailedPlay:(WMPlayer *)wmplayer WMPlayerStatus:(WMPlayerState)state;
//准备播放的代理方法
-(void)wmplayerReadyToPlay:(WMPlayer *)wmplayer WMPlayerStatus:(WMPlayerState)state;
//播放完毕的代理方法
-(void)wmplayerFinishedPlay:(WMPlayer *)wmplayer;
///长按
-(void)wmplayerlongPress:(WMPlayer *)wmplayer;
@end
@interface WMPlayer : UIView
/**
*/
@property (nonatomic, copy) NSString *type;
/**
model
*/
@property (nonatomic,strong) WMPlayerModel *playerModel;
/**
*/
@property (nonatomic, assign) BackBtnStyle backBtnStyle;
/**
BOOL值判断当前的状态BOOL值
*/
@property (nonatomic,assign) BOOL isFullscreen;
/**
(0.51.01.251.52.0)
*/
@property (nonatomic,assign) CGFloat rate;
@property (nonatomic,assign,readonly) BOOL prefersStatusBarHidden;
/**
*/
@property (nonatomic, weak)id <WMPlayerDelegate> delegate;
/**
*/
@property (nonatomic,assign) BOOL enableVolumeGesture;
/**
*/
@property (nonatomic,assign) BOOL enableBackgroundMode;
/**
*/
@property (nonatomic,assign) BOOL enableFastForwardGesture;
/**
*/
@property (nonatomic,assign) BOOL muted;
/**
playerLayer的填充模式
*/
@property (nonatomic, assign) WMPlayerLayerGravity playerLayerGravity;
//是否是锁定屏幕旋转状态
@property (nonatomic,assign,readonly) BOOL isLockScreen;
/**
-
@param playerModel model
@return
*/
-(instancetype)initPlayerModel:(WMPlayerModel *)playerModel;
/**
++
@param playerModel model
@return
*/
+(instancetype)playerWithModel:(WMPlayerModel *)playerModel;
/**
*/
- (void)play;
/**
*/
- (void)pause;
/**
@return double的一个时间点
*/
- (double)currentTime;
/**
,
*/
- (void )resetWMPlayer;
/**
@return
*/
+(NSString *)version;
//获取当前的旋转状态
+(CGAffineTransform)getCurrentDeviceOrientation;
+(BOOL)IsiPhoneX;
///底部是否显示
-(void)bottomViewShow:(BOOL)isshow;
@end

File diff suppressed because it is too large Load Diff

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