├── .gitignore ├── Pods ├── Headers │ ├── Private │ │ └── LookinServer │ │ │ ├── LookinTuple.h │ │ │ ├── LKS_Helper.h │ │ │ ├── LookinAppInfo.h │ │ │ ├── LookinDefines.h │ │ │ ├── LookinIvarTrace.h │ │ │ ├── LookinObject.h │ │ │ ├── LookinServer.h │ │ │ ├── Peertalk.h │ │ │ ├── LookinAttrType.h │ │ │ ├── LookinAttribute.h │ │ │ ├── CALayer+Lookin.h │ │ │ ├── Color+Lookin.h │ │ │ ├── Image+Lookin.h │ │ │ ├── LookinDisplayItem.h │ │ │ ├── LookinEventHandler.h │ │ │ ├── NSArray+Lookin.h │ │ │ ├── NSSet+Lookin.h │ │ │ ├── LKSConfigManager.h │ │ │ ├── LKS_ExportManager.h │ │ │ ├── LKS_TraceManager.h │ │ │ ├── LookinAttrIdentifiers.h │ │ │ ├── LookinAttributesGroup.h │ │ │ ├── LookinCodingValueType.h │ │ │ ├── LookinHierarchyFile.h │ │ │ ├── LookinHierarchyInfo.h │ │ │ ├── LookinWeakContainer.h │ │ │ ├── Lookin_PTChannel.h │ │ │ ├── Lookin_PTPrivate.h │ │ │ ├── Lookin_PTUSBHub.h │ │ │ ├── NSObject+Lookin.h │ │ │ ├── NSString+Lookin.h │ │ │ ├── LKS_AttrGroupsMaker.h │ │ │ ├── LKS_ObjectRegistry.h │ │ │ ├── LKS_RequestHandler.h │ │ │ ├── LookinAttributesSection.h │ │ │ ├── LookinDisplayItemDetail.h │ │ │ ├── LookinServerDefines.h │ │ │ ├── Lookin_PTProtocol.h │ │ │ ├── UIView+LookinServer.h │ │ │ ├── CALayer+LookinServer.h │ │ │ ├── LKS_EventHandlerMaker.h │ │ │ ├── LookinAutoLayoutConstraint.h │ │ │ ├── LookinConnectionAttachment.h │ │ │ ├── LookinDashboardBlueprint.h │ │ │ ├── NSObject+LookinServer.h │ │ │ ├── UIColor+LookinServer.h │ │ │ ├── UIImage+LookinServer.h │ │ │ ├── UILabel+LookinServer.h │ │ │ ├── LKS_ConnectionManager.h │ │ │ ├── LKS_CustomAttrGroupsMaker.h │ │ │ ├── LKS_MultiplatformAdapter.h │ │ │ ├── LookinAttributeModification.h │ │ │ ├── LookinCustomAttrModification.h │ │ │ ├── LookinCustomDisplayItemInfo.h │ │ │ ├── LookinStaticAsyncUpdateTask.h │ │ │ ├── UIImageView+LookinServer.h │ │ │ ├── UITableView+LookinServer.h │ │ │ ├── UITextField+LookinServer.h │ │ │ ├── UITextView+LookinServer.h │ │ │ ├── LKS_CustomAttrSetterManager.h │ │ │ ├── LKS_CustomDisplayItemsMaker.h │ │ │ ├── UIBlurEffect+LookinServer.h │ │ │ ├── LKS_HierarchyDisplayItemsMaker.h │ │ │ ├── UIViewController+LookinServer.h │ │ │ ├── LKS_GestureTargetActionsSearcher.h │ │ │ ├── LookinConnectionResponseAttachment.h │ │ │ ├── UIVisualEffectView+LookinServer.h │ │ │ ├── LKS_HierarchyDetailsHandler.h │ │ │ ├── LKS_AttrModificationPatchHandler.h │ │ │ ├── LKS_CustomAttrModificationHandler.h │ │ │ └── LKS_InbuiltAttrModificationHandler.h │ └── Public │ │ ├── LookinServer │ │ ├── LookinIvarTrace.h │ │ ├── LookinTuple.h │ │ ├── LKS_Helper.h │ │ ├── LookinAppInfo.h │ │ ├── LookinAttrType.h │ │ ├── LookinDefines.h │ │ ├── LookinObject.h │ │ ├── LookinServer.h │ │ ├── Peertalk.h │ │ ├── Color+Lookin.h │ │ ├── Image+Lookin.h │ │ ├── LookinAttribute.h │ │ ├── NSSet+Lookin.h │ │ ├── CALayer+Lookin.h │ │ ├── LookinDisplayItem.h │ │ ├── LookinEventHandler.h │ │ ├── LookinHierarchyFile.h │ │ ├── LookinHierarchyInfo.h │ │ ├── LookinWeakContainer.h │ │ ├── NSArray+Lookin.h │ │ ├── LKSConfigManager.h │ │ ├── LKS_ExportManager.h │ │ ├── LKS_ObjectRegistry.h │ │ ├── LKS_TraceManager.h │ │ ├── LookinAttrIdentifiers.h │ │ ├── LookinAttributesGroup.h │ │ ├── LookinCodingValueType.h │ │ ├── Lookin_PTChannel.h │ │ ├── Lookin_PTPrivate.h │ │ ├── Lookin_PTProtocol.h │ │ ├── Lookin_PTUSBHub.h │ │ ├── NSObject+Lookin.h │ │ ├── NSString+Lookin.h │ │ ├── LKS_AttrGroupsMaker.h │ │ ├── LKS_RequestHandler.h │ │ ├── LookinAttributesSection.h │ │ ├── LookinDashboardBlueprint.h │ │ ├── LookinDisplayItemDetail.h │ │ ├── LookinServer-umbrella.h │ │ ├── LookinServer.modulemap │ │ ├── LookinServerDefines.h │ │ ├── UIView+LookinServer.h │ │ ├── CALayer+LookinServer.h │ │ ├── LKS_ConnectionManager.h │ │ ├── LKS_EventHandlerMaker.h │ │ ├── LookinAutoLayoutConstraint.h │ │ ├── LookinConnectionAttachment.h │ │ ├── NSObject+LookinServer.h │ │ ├── UIColor+LookinServer.h │ │ ├── UIImage+LookinServer.h │ │ ├── UILabel+LookinServer.h │ │ ├── LKS_CustomAttrGroupsMaker.h │ │ ├── LKS_MultiplatformAdapter.h │ │ ├── LookinAttributeModification.h │ │ ├── LookinCustomAttrModification.h │ │ ├── LookinCustomDisplayItemInfo.h │ │ ├── LookinStaticAsyncUpdateTask.h │ │ ├── UIImageView+LookinServer.h │ │ ├── UITableView+LookinServer.h │ │ ├── UITextField+LookinServer.h │ │ ├── UITextView+LookinServer.h │ │ ├── LKS_CustomAttrSetterManager.h │ │ ├── LKS_CustomDisplayItemsMaker.h │ │ ├── UIBlurEffect+LookinServer.h │ │ ├── LKS_HierarchyDisplayItemsMaker.h │ │ ├── LookinConnectionResponseAttachment.h │ │ ├── UIViewController+LookinServer.h │ │ ├── LKS_GestureTargetActionsSearcher.h │ │ ├── UIVisualEffectView+LookinServer.h │ │ ├── LKS_HierarchyDetailsHandler.h │ │ ├── LKS_AttrModificationPatchHandler.h │ │ ├── LKS_CustomAttrModificationHandler.h │ │ └── LKS_InbuiltAttrModificationHandler.h │ │ └── SnapKit │ │ ├── SnapKit-umbrella.h │ │ └── SnapKit.modulemap ├── SwiftFormat │ ├── CommandLineTool │ │ └── swiftformat │ └── LICENSE.md ├── Target Support Files │ ├── Pods-CLPlayer │ │ ├── Pods-CLPlayer-resources-Debug-output-files.xcfilelist │ │ ├── Pods-CLPlayer-resources-Release-output-files.xcfilelist │ │ ├── Pods-CLPlayer.modulemap │ │ ├── Pods-CLPlayer-dummy.m │ │ ├── Pods-CLPlayer-resources-Debug-input-files.xcfilelist │ │ ├── Pods-CLPlayer-resources-Release-input-files.xcfilelist │ │ ├── Pods-CLPlayer-umbrella.h │ │ ├── Pods-CLPlayer.release.xcconfig │ │ └── Pods-CLPlayer.debug.xcconfig │ ├── SnapKit │ │ ├── SnapKit.modulemap │ │ ├── SnapKit-dummy.m │ │ ├── SnapKit-prefix.pch │ │ ├── SnapKit-umbrella.h │ │ ├── ResourceBundle-SnapKit_Privacy-SnapKit-Info.plist │ │ ├── SnapKit.debug.xcconfig │ │ └── SnapKit.release.xcconfig │ ├── LookinServer │ │ ├── LookinServer.modulemap │ │ ├── LookinServer-dummy.m │ │ ├── LookinServer-prefix.pch │ │ ├── LookinServer.debug.xcconfig │ │ └── LookinServer.release.xcconfig │ └── SwiftFormat │ │ ├── SwiftFormat.debug.xcconfig │ │ └── SwiftFormat.release.xcconfig ├── LookinServer │ ├── Src │ │ ├── Main │ │ │ ├── Server │ │ │ │ ├── LookinServer.h │ │ │ │ ├── Category │ │ │ │ │ ├── UITableView+LookinServer.h │ │ │ │ │ ├── UIViewController+LookinServer.h │ │ │ │ │ ├── UILabel+LookinServer.h │ │ │ │ │ ├── UIImageView+LookinServer.h │ │ │ │ │ ├── UITextView+LookinServer.h │ │ │ │ │ ├── UITextField+LookinServer.h │ │ │ │ │ ├── UIVisualEffectView+LookinServer.h │ │ │ │ │ ├── UIImage+LookinServer.h │ │ │ │ │ ├── UIBlurEffect+LookinServer.h │ │ │ │ │ ├── UILabel+LookinServer.m │ │ │ │ │ ├── UIColor+LookinServer.h │ │ │ │ │ ├── UITextView+LookinServer.m │ │ │ │ │ ├── UITextField+LookinServer.m │ │ │ │ │ ├── UIImageView+LookinServer.m │ │ │ │ │ ├── UITableView+LookinServer.m │ │ │ │ │ ├── NSObject+LookinServer.h │ │ │ │ │ ├── UIVisualEffectView+LookinServer.m │ │ │ │ │ ├── CALayer+LookinServer.h │ │ │ │ │ ├── UIViewController+LookinServer.m │ │ │ │ │ ├── UIView+LookinServer.h │ │ │ │ │ └── UIBlurEffect+LookinServer.m │ │ │ │ ├── Others │ │ │ │ │ ├── LKS_ExportManager.h │ │ │ │ │ ├── LKS_EventHandlerMaker.h │ │ │ │ │ ├── LKS_AttrGroupsMaker.h │ │ │ │ │ ├── LKS_ObjectRegistry.h │ │ │ │ │ ├── LKS_TraceManager.h │ │ │ │ │ ├── LKS_CustomDisplayItemsMaker.h │ │ │ │ │ ├── LKSConfigManager.h │ │ │ │ │ ├── LKS_MultiplatformAdapter.h │ │ │ │ │ ├── LookinServerDefines.h │ │ │ │ │ ├── LKS_Helper.h │ │ │ │ │ ├── LKS_GestureTargetActionsSearcher.h │ │ │ │ │ ├── LKS_CustomAttrGroupsMaker.h │ │ │ │ │ ├── LKS_Helper.m │ │ │ │ │ ├── LKS_HierarchyDisplayItemsMaker.h │ │ │ │ │ ├── LKS_ObjectRegistry.m │ │ │ │ │ └── LKS_GestureTargetActionsSearcher.m │ │ │ │ └── Connection │ │ │ │ │ ├── LKS_RequestHandler.h │ │ │ │ │ ├── RequestHandler │ │ │ │ │ ├── LKS_CustomAttrModificationHandler.h │ │ │ │ │ ├── LKS_InbuiltAttrModificationHandler.h │ │ │ │ │ ├── LKS_AttrModificationPatchHandler.h │ │ │ │ │ ├── LKS_HierarchyDetailsHandler.h │ │ │ │ │ └── LKS_AttrModificationPatchHandler.m │ │ │ │ │ └── LKS_ConnectionManager.h │ │ │ └── Shared │ │ │ │ ├── Category │ │ │ │ ├── CALayer+Lookin.h │ │ │ │ ├── Image+Lookin.h │ │ │ │ ├── Image+Lookin.m │ │ │ │ ├── Color+Lookin.h │ │ │ │ ├── NSSet+Lookin.h │ │ │ │ ├── NSString+Lookin.h │ │ │ │ ├── Color+Lookin.m │ │ │ │ └── NSSet+Lookin.m │ │ │ │ ├── LookinWeakContainer.h │ │ │ │ ├── LookinConnectionAttachment.h │ │ │ │ ├── LookinCustomAttrModification.h │ │ │ │ ├── LookinCustomDisplayItemInfo.h │ │ │ │ ├── Peertalk │ │ │ │ ├── Peertalk.h │ │ │ │ └── Lookin_PTPrivate.h │ │ │ │ ├── LookinTuple.h │ │ │ │ ├── LookinAttributeModification.h │ │ │ │ ├── LookinHierarchyFile.h │ │ │ │ ├── LookinCodingValueType.h │ │ │ │ ├── LookinWeakContainer.m │ │ │ │ ├── LookinCustomAttrModification.m │ │ │ │ ├── LookinAttributesSection.h │ │ │ │ ├── LookinConnectionResponseAttachment.h │ │ │ │ ├── LookinObject.h │ │ │ │ ├── LookinHierarchyInfo.h │ │ │ │ ├── LookinAttributesGroup.h │ │ │ │ ├── LookinConnectionAttachment.m │ │ │ │ ├── LookinAttributeModification.m │ │ │ │ ├── LookinEventHandler.h │ │ │ │ ├── LookinAttrType.h │ │ │ │ ├── LookinAttribute.h │ │ │ │ ├── LookinAttributesSection.m │ │ │ │ ├── LookinDisplayItemDetail.h │ │ │ │ ├── LookinCustomDisplayItemInfo.m │ │ │ │ ├── LookinAutoLayoutConstraint.h │ │ │ │ ├── LookinConnectionResponseAttachment.m │ │ │ │ └── LookinAttribute.m │ │ └── Base │ │ │ ├── LookinIvarTrace.h │ │ │ └── LookinIvarTrace.m │ └── LICENSE ├── SnapKit │ ├── Sources │ │ ├── PrivacyInfo.xcprivacy │ │ ├── ConstraintView.swift │ │ ├── ConstraintInsets.swift │ │ ├── ConstraintDirectionalInsets.swift │ │ ├── ConstraintLayoutSupport.swift │ │ ├── UILayoutSupport+Extensions.swift │ │ ├── ConstraintLayoutGuide+Extensions.swift │ │ ├── ConstraintLayoutGuide.swift │ │ ├── ConstraintConfig.swift │ │ ├── ConstraintRelation.swift │ │ ├── Typealiases.swift │ │ ├── ConstraintMakerFinalizable.swift │ │ └── ConstraintDirectionalInsetTarget.swift │ └── LICENSE ├── Manifest.lock └── Pods.xcodeproj │ └── xcuserdata │ └── caigetuxun.xcuserdatad │ └── xcschemes │ └── xcschememanagement.plist ├── CLPlayer ├── CLPlayer.bundle │ ├── CLBack@2x.png │ ├── CLBack@3x.png │ ├── CLMore@2x.png │ ├── CLMore@3x.png │ ├── CLPlay@2x.png │ ├── CLPlay@3x.png │ ├── CLPause@2x.png │ ├── CLPause@3x.png │ ├── CLSlider@2x.png │ ├── CLSlider@3x.png │ ├── CLFullscreen@2x.png │ ├── CLFullscreen@3x.png │ ├── CLSmallscreen@2x.png │ └── CLSmallscreen@3x.png ├── CLFullScreenController │ ├── CLFullScreenLeftController.swift │ └── CLFullScreenRightController.swift ├── CLImageHelper.swift ├── CLPlayerDelegate.swift └── CLPlayerContentView │ ├── CLPlayerContentViewDelegate.swift │ ├── CLPlayerContentPanelHeadView.swift │ ├── CLPlayerContentPanelCell.swift │ └── CLSlider.swift ├── Resources ├── Assets.xcassets │ ├── Contents.json │ ├── logo.imageset │ │ ├── logo.png │ │ └── Contents.json │ ├── back.imageset │ │ ├── back@2x.png │ │ ├── back@3x.png │ │ └── Contents.json │ ├── play.imageset │ │ ├── play@2x.png │ │ ├── play@3x.png │ │ └── Contents.json │ ├── slider.imageset │ │ ├── slider@2x.png │ │ ├── slider@3x.png │ │ └── Contents.json │ ├── AppIcon.appiconset │ │ ├── icon-1024.png │ │ ├── icon-20@3x.png │ │ ├── icon-29@3x.png │ │ ├── icon-40@2x.png │ │ ├── icon-40@3x.png │ │ ├── icon-60@2x.png │ │ ├── icon-60@3x.png │ │ ├── icon-29-ipad.png │ │ ├── icon-20@2x-ipad.png │ │ ├── icon-29@2x-ipad.png │ │ └── Contents.json │ ├── meNormal.imageset │ │ ├── meNormal@2x.png │ │ ├── meNormal@3x.png │ │ └── Contents.json │ ├── homeNormal.imageset │ │ ├── homeNormal@2x.png │ │ ├── homeNormal@3x.png │ │ └── Contents.json │ ├── meSelected.imageset │ │ ├── meSelected@2x.png │ │ ├── meSelected@3x.png │ │ └── Contents.json │ ├── placeholder.imageset │ │ ├── placeholder.png │ │ └── Contents.json │ ├── slider_dog.imageset │ │ ├── slider_dog@2x.png │ │ ├── slider_dog@3x.png │ │ └── Contents.json │ ├── placeholder1.imageset │ │ ├── placeholder1.png │ │ └── Contents.json │ ├── homeSelected.imageset │ │ ├── homeSelected@2x.png │ │ ├── homeSelected@3x.png │ │ └── Contents.json │ ├── meArrowRight.imageset │ │ ├── meArrowRight@2x.png │ │ ├── meArrowRight@3x.png │ │ └── Contents.json │ └── AccentColor.colorset │ │ └── Contents.json ├── Info.plist └── Base.lproj │ └── Main.storyboard ├── CLPlayer.xcodeproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist └── xcuserdata │ ├── jmovxia.xcuserdatad │ └── xcschemes │ │ └── xcschememanagement.plist │ └── caigetuxun.xcuserdatad │ └── xcschemes │ └── xcschememanagement.plist ├── CLPlayer.xcworkspace ├── xcuserdata │ └── caigetuxun.xcuserdatad │ │ └── xcdebugger │ │ └── Breakpoints_v2.xcbkptlist ├── contents.xcworkspacedata └── xcshareddata │ └── IDEWorkspaceChecks.plist ├── CLTableView ├── CLCellProtocol │ └── CLCellProtocol.swift └── CLCellItemProtocol │ └── CLCellItemProtocol.swift ├── CLHomeController └── View │ └── Item │ └── CLListItem.swift ├── CLTableViewController └── View │ └── Item │ └── CLTableViewItem.swift ├── Podfile.lock ├── AppDelegate.swift ├── Podfile ├── CLPlayer.podspec ├── LICENSE ├── CLCollectionViewController └── View │ └── CLCollectionViewCell.swift └── CLFrameController └── CLPlaceholderView.swift /.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LookinTuple.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinTuple.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LookinIvarTrace.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Base/LookinIvarTrace.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LookinTuple.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinTuple.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LKS_Helper.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Others/LKS_Helper.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LookinAppInfo.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinAppInfo.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LookinDefines.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinDefines.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LookinIvarTrace.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Base/LookinIvarTrace.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LookinObject.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinObject.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LookinServer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/LookinServer.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/Peertalk.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/Peertalk/Peertalk.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LKS_Helper.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Others/LKS_Helper.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LookinAppInfo.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinAppInfo.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LookinAttrType.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinAttrType.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LookinDefines.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinDefines.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LookinObject.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinObject.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LookinServer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/LookinServer.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/Peertalk.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/Peertalk/Peertalk.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SnapKit/SnapKit-umbrella.h: -------------------------------------------------------------------------------- 1 | ../../../Target Support Files/SnapKit/SnapKit-umbrella.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SnapKit/SnapKit.modulemap: -------------------------------------------------------------------------------- 1 | ../../../Target Support Files/SnapKit/SnapKit.modulemap -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LookinAttrType.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinAttrType.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LookinAttribute.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinAttribute.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/Color+Lookin.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/Category/Color+Lookin.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/Image+Lookin.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/Category/Image+Lookin.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LookinAttribute.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinAttribute.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/NSSet+Lookin.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/Category/NSSet+Lookin.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/CALayer+Lookin.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/Category/CALayer+Lookin.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/Color+Lookin.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/Category/Color+Lookin.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/Image+Lookin.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/Category/Image+Lookin.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LookinDisplayItem.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinDisplayItem.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LookinEventHandler.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinEventHandler.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/NSArray+Lookin.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/Category/NSArray+Lookin.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/NSSet+Lookin.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/Category/NSSet+Lookin.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/CALayer+Lookin.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/Category/CALayer+Lookin.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LookinDisplayItem.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinDisplayItem.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LookinEventHandler.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinEventHandler.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LookinHierarchyFile.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinHierarchyFile.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LookinHierarchyInfo.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinHierarchyInfo.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LookinWeakContainer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinWeakContainer.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/NSArray+Lookin.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/Category/NSArray+Lookin.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LKSConfigManager.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Others/LKSConfigManager.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LKS_ExportManager.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Others/LKS_ExportManager.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LKS_TraceManager.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Others/LKS_TraceManager.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LookinAttrIdentifiers.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinAttrIdentifiers.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LookinAttributesGroup.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinAttributesGroup.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LookinCodingValueType.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinCodingValueType.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LookinHierarchyFile.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinHierarchyFile.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LookinHierarchyInfo.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinHierarchyInfo.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LookinWeakContainer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinWeakContainer.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/Lookin_PTChannel.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/Peertalk/Lookin_PTChannel.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/Lookin_PTPrivate.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/Peertalk/Lookin_PTPrivate.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/Lookin_PTUSBHub.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/Peertalk/Lookin_PTUSBHub.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/NSObject+Lookin.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/Category/NSObject+Lookin.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/NSString+Lookin.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/Category/NSString+Lookin.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LKSConfigManager.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Others/LKSConfigManager.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LKS_ExportManager.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Others/LKS_ExportManager.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LKS_ObjectRegistry.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Others/LKS_ObjectRegistry.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LKS_TraceManager.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Others/LKS_TraceManager.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LookinAttrIdentifiers.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinAttrIdentifiers.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LookinAttributesGroup.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinAttributesGroup.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LookinCodingValueType.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinCodingValueType.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/Lookin_PTChannel.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/Peertalk/Lookin_PTChannel.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/Lookin_PTPrivate.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/Peertalk/Lookin_PTPrivate.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/Lookin_PTProtocol.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/Peertalk/Lookin_PTProtocol.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/Lookin_PTUSBHub.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/Peertalk/Lookin_PTUSBHub.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/NSObject+Lookin.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/Category/NSObject+Lookin.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/NSString+Lookin.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/Category/NSString+Lookin.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LKS_AttrGroupsMaker.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Others/LKS_AttrGroupsMaker.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LKS_ObjectRegistry.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Others/LKS_ObjectRegistry.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LKS_RequestHandler.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Connection/LKS_RequestHandler.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LookinAttributesSection.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinAttributesSection.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LookinDisplayItemDetail.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinDisplayItemDetail.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LookinServerDefines.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Others/LookinServerDefines.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/Lookin_PTProtocol.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/Peertalk/Lookin_PTProtocol.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/UIView+LookinServer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Category/UIView+LookinServer.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LKS_AttrGroupsMaker.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Others/LKS_AttrGroupsMaker.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LKS_RequestHandler.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Connection/LKS_RequestHandler.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LookinAttributesSection.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinAttributesSection.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LookinDashboardBlueprint.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinDashboardBlueprint.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LookinDisplayItemDetail.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinDisplayItemDetail.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LookinServer-umbrella.h: -------------------------------------------------------------------------------- 1 | ../../../Target Support Files/LookinServer/LookinServer-umbrella.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LookinServer.modulemap: -------------------------------------------------------------------------------- 1 | ../../../Target Support Files/LookinServer/LookinServer.modulemap -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LookinServerDefines.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Others/LookinServerDefines.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/UIView+LookinServer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Category/UIView+LookinServer.h -------------------------------------------------------------------------------- /CLPlayer/CLPlayer.bundle/CLBack@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/CLPlayer/CLPlayer.bundle/CLBack@2x.png -------------------------------------------------------------------------------- /CLPlayer/CLPlayer.bundle/CLBack@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/CLPlayer/CLPlayer.bundle/CLBack@3x.png -------------------------------------------------------------------------------- /CLPlayer/CLPlayer.bundle/CLMore@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/CLPlayer/CLPlayer.bundle/CLMore@2x.png -------------------------------------------------------------------------------- /CLPlayer/CLPlayer.bundle/CLMore@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/CLPlayer/CLPlayer.bundle/CLMore@3x.png -------------------------------------------------------------------------------- /CLPlayer/CLPlayer.bundle/CLPlay@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/CLPlayer/CLPlayer.bundle/CLPlay@2x.png -------------------------------------------------------------------------------- /CLPlayer/CLPlayer.bundle/CLPlay@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/CLPlayer/CLPlayer.bundle/CLPlay@3x.png -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/CALayer+LookinServer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Category/CALayer+LookinServer.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LKS_EventHandlerMaker.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Others/LKS_EventHandlerMaker.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LookinAutoLayoutConstraint.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinAutoLayoutConstraint.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LookinConnectionAttachment.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinConnectionAttachment.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LookinDashboardBlueprint.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinDashboardBlueprint.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/NSObject+LookinServer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Category/NSObject+LookinServer.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/UIColor+LookinServer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Category/UIColor+LookinServer.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/UIImage+LookinServer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Category/UIImage+LookinServer.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/UILabel+LookinServer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Category/UILabel+LookinServer.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/CALayer+LookinServer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Category/CALayer+LookinServer.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LKS_ConnectionManager.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Connection/LKS_ConnectionManager.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LKS_EventHandlerMaker.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Others/LKS_EventHandlerMaker.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LookinAutoLayoutConstraint.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinAutoLayoutConstraint.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LookinConnectionAttachment.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinConnectionAttachment.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/NSObject+LookinServer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Category/NSObject+LookinServer.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/UIColor+LookinServer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Category/UIColor+LookinServer.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/UIImage+LookinServer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Category/UIImage+LookinServer.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/UILabel+LookinServer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Category/UILabel+LookinServer.h -------------------------------------------------------------------------------- /Resources/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /CLPlayer/CLPlayer.bundle/CLPause@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/CLPlayer/CLPlayer.bundle/CLPause@2x.png -------------------------------------------------------------------------------- /CLPlayer/CLPlayer.bundle/CLPause@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/CLPlayer/CLPlayer.bundle/CLPause@3x.png -------------------------------------------------------------------------------- /CLPlayer/CLPlayer.bundle/CLSlider@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/CLPlayer/CLPlayer.bundle/CLSlider@2x.png -------------------------------------------------------------------------------- /CLPlayer/CLPlayer.bundle/CLSlider@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/CLPlayer/CLPlayer.bundle/CLSlider@3x.png -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LKS_ConnectionManager.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Connection/LKS_ConnectionManager.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LKS_CustomAttrGroupsMaker.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Others/LKS_CustomAttrGroupsMaker.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LKS_MultiplatformAdapter.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Others/LKS_MultiplatformAdapter.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LookinAttributeModification.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinAttributeModification.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LookinCustomAttrModification.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinCustomAttrModification.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LookinCustomDisplayItemInfo.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinCustomDisplayItemInfo.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LookinStaticAsyncUpdateTask.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinStaticAsyncUpdateTask.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/UIImageView+LookinServer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Category/UIImageView+LookinServer.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/UITableView+LookinServer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Category/UITableView+LookinServer.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/UITextField+LookinServer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Category/UITextField+LookinServer.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/UITextView+LookinServer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Category/UITextView+LookinServer.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LKS_CustomAttrGroupsMaker.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Others/LKS_CustomAttrGroupsMaker.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LKS_MultiplatformAdapter.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Others/LKS_MultiplatformAdapter.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LookinAttributeModification.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinAttributeModification.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LookinCustomAttrModification.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinCustomAttrModification.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LookinCustomDisplayItemInfo.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinCustomDisplayItemInfo.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LookinStaticAsyncUpdateTask.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinStaticAsyncUpdateTask.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/UIImageView+LookinServer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Category/UIImageView+LookinServer.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/UITableView+LookinServer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Category/UITableView+LookinServer.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/UITextField+LookinServer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Category/UITextField+LookinServer.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/UITextView+LookinServer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Category/UITextView+LookinServer.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LKS_CustomAttrSetterManager.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Others/LKS_CustomAttrSetterManager.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LKS_CustomDisplayItemsMaker.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Others/LKS_CustomDisplayItemsMaker.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/UIBlurEffect+LookinServer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Category/UIBlurEffect+LookinServer.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LKS_CustomAttrSetterManager.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Others/LKS_CustomAttrSetterManager.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LKS_CustomDisplayItemsMaker.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Others/LKS_CustomDisplayItemsMaker.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/UIBlurEffect+LookinServer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Category/UIBlurEffect+LookinServer.h -------------------------------------------------------------------------------- /CLPlayer/CLPlayer.bundle/CLFullscreen@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/CLPlayer/CLPlayer.bundle/CLFullscreen@2x.png -------------------------------------------------------------------------------- /CLPlayer/CLPlayer.bundle/CLFullscreen@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/CLPlayer/CLPlayer.bundle/CLFullscreen@3x.png -------------------------------------------------------------------------------- /CLPlayer/CLPlayer.bundle/CLSmallscreen@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/CLPlayer/CLPlayer.bundle/CLSmallscreen@2x.png -------------------------------------------------------------------------------- /CLPlayer/CLPlayer.bundle/CLSmallscreen@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/CLPlayer/CLPlayer.bundle/CLSmallscreen@3x.png -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LKS_HierarchyDisplayItemsMaker.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Others/LKS_HierarchyDisplayItemsMaker.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/UIViewController+LookinServer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Category/UIViewController+LookinServer.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LKS_HierarchyDisplayItemsMaker.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Others/LKS_HierarchyDisplayItemsMaker.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LookinConnectionResponseAttachment.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinConnectionResponseAttachment.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/UIViewController+LookinServer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Category/UIViewController+LookinServer.h -------------------------------------------------------------------------------- /Pods/SwiftFormat/CommandLineTool/swiftformat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Pods/SwiftFormat/CommandLineTool/swiftformat -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LKS_GestureTargetActionsSearcher.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Others/LKS_GestureTargetActionsSearcher.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LookinConnectionResponseAttachment.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Shared/LookinConnectionResponseAttachment.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/UIVisualEffectView+LookinServer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Category/UIVisualEffectView+LookinServer.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LKS_GestureTargetActionsSearcher.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Others/LKS_GestureTargetActionsSearcher.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/UIVisualEffectView+LookinServer.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Category/UIVisualEffectView+LookinServer.h -------------------------------------------------------------------------------- /Resources/Assets.xcassets/logo.imageset/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/logo.imageset/logo.png -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LKS_HierarchyDetailsHandler.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Connection/RequestHandler/LKS_HierarchyDetailsHandler.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LKS_HierarchyDetailsHandler.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Connection/RequestHandler/LKS_HierarchyDetailsHandler.h -------------------------------------------------------------------------------- /Resources/Assets.xcassets/back.imageset/back@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/back.imageset/back@2x.png -------------------------------------------------------------------------------- /Resources/Assets.xcassets/back.imageset/back@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/back.imageset/back@3x.png -------------------------------------------------------------------------------- /Resources/Assets.xcassets/play.imageset/play@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/play.imageset/play@2x.png -------------------------------------------------------------------------------- /Resources/Assets.xcassets/play.imageset/play@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/play.imageset/play@3x.png -------------------------------------------------------------------------------- /Resources/Assets.xcassets/slider.imageset/slider@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/slider.imageset/slider@2x.png -------------------------------------------------------------------------------- /Resources/Assets.xcassets/slider.imageset/slider@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/slider.imageset/slider@3x.png -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LKS_AttrModificationPatchHandler.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Connection/RequestHandler/LKS_AttrModificationPatchHandler.h -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LKS_CustomAttrModificationHandler.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Connection/RequestHandler/LKS_CustomAttrModificationHandler.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LKS_AttrModificationPatchHandler.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Connection/RequestHandler/LKS_AttrModificationPatchHandler.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LKS_CustomAttrModificationHandler.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Connection/RequestHandler/LKS_CustomAttrModificationHandler.h -------------------------------------------------------------------------------- /Resources/Assets.xcassets/AppIcon.appiconset/icon-1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/AppIcon.appiconset/icon-1024.png -------------------------------------------------------------------------------- /Pods/Headers/Private/LookinServer/LKS_InbuiltAttrModificationHandler.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Connection/RequestHandler/LKS_InbuiltAttrModificationHandler.h -------------------------------------------------------------------------------- /Pods/Headers/Public/LookinServer/LKS_InbuiltAttrModificationHandler.h: -------------------------------------------------------------------------------- 1 | ../../../LookinServer/Src/Main/Server/Connection/RequestHandler/LKS_InbuiltAttrModificationHandler.h -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-CLPlayer/Pods-CLPlayer-resources-Debug-output-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/SnapKit_Privacy.bundle -------------------------------------------------------------------------------- /Pods/Target Support Files/SnapKit/SnapKit.modulemap: -------------------------------------------------------------------------------- 1 | module SnapKit { 2 | umbrella header "SnapKit-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Resources/Assets.xcassets/AppIcon.appiconset/icon-20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/AppIcon.appiconset/icon-20@3x.png -------------------------------------------------------------------------------- /Resources/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png -------------------------------------------------------------------------------- /Resources/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png -------------------------------------------------------------------------------- /Resources/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png -------------------------------------------------------------------------------- /Resources/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png -------------------------------------------------------------------------------- /Resources/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png -------------------------------------------------------------------------------- /Resources/Assets.xcassets/meNormal.imageset/meNormal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/meNormal.imageset/meNormal@2x.png -------------------------------------------------------------------------------- /Resources/Assets.xcassets/meNormal.imageset/meNormal@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/meNormal.imageset/meNormal@3x.png -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-CLPlayer/Pods-CLPlayer-resources-Release-output-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/SnapKit_Privacy.bundle -------------------------------------------------------------------------------- /Resources/Assets.xcassets/AppIcon.appiconset/icon-29-ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/AppIcon.appiconset/icon-29-ipad.png -------------------------------------------------------------------------------- /Resources/Assets.xcassets/homeNormal.imageset/homeNormal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/homeNormal.imageset/homeNormal@2x.png -------------------------------------------------------------------------------- /Resources/Assets.xcassets/homeNormal.imageset/homeNormal@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/homeNormal.imageset/homeNormal@3x.png -------------------------------------------------------------------------------- /Resources/Assets.xcassets/meSelected.imageset/meSelected@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/meSelected.imageset/meSelected@2x.png -------------------------------------------------------------------------------- /Resources/Assets.xcassets/meSelected.imageset/meSelected@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/meSelected.imageset/meSelected@3x.png -------------------------------------------------------------------------------- /Resources/Assets.xcassets/placeholder.imageset/placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/placeholder.imageset/placeholder.png -------------------------------------------------------------------------------- /Resources/Assets.xcassets/slider_dog.imageset/slider_dog@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/slider_dog.imageset/slider_dog@2x.png -------------------------------------------------------------------------------- /Resources/Assets.xcassets/slider_dog.imageset/slider_dog@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/slider_dog.imageset/slider_dog@3x.png -------------------------------------------------------------------------------- /Resources/Assets.xcassets/AppIcon.appiconset/icon-20@2x-ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/AppIcon.appiconset/icon-20@2x-ipad.png -------------------------------------------------------------------------------- /Resources/Assets.xcassets/AppIcon.appiconset/icon-29@2x-ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/AppIcon.appiconset/icon-29@2x-ipad.png -------------------------------------------------------------------------------- /Resources/Assets.xcassets/placeholder1.imageset/placeholder1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/placeholder1.imageset/placeholder1.png -------------------------------------------------------------------------------- /Pods/Target Support Files/SnapKit/SnapKit-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_SnapKit : NSObject 3 | @end 4 | @implementation PodsDummy_SnapKit 5 | @end 6 | -------------------------------------------------------------------------------- /Resources/Assets.xcassets/homeSelected.imageset/homeSelected@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/homeSelected.imageset/homeSelected@2x.png -------------------------------------------------------------------------------- /Resources/Assets.xcassets/homeSelected.imageset/homeSelected@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/homeSelected.imageset/homeSelected@3x.png -------------------------------------------------------------------------------- /Resources/Assets.xcassets/meArrowRight.imageset/meArrowRight@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/meArrowRight.imageset/meArrowRight@2x.png -------------------------------------------------------------------------------- /Resources/Assets.xcassets/meArrowRight.imageset/meArrowRight@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JmoVxia/CLPlayer/HEAD/Resources/Assets.xcassets/meArrowRight.imageset/meArrowRight@3x.png -------------------------------------------------------------------------------- /Pods/Target Support Files/LookinServer/LookinServer.modulemap: -------------------------------------------------------------------------------- 1 | module LookinServer { 2 | umbrella header "LookinServer-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-CLPlayer/Pods-CLPlayer.modulemap: -------------------------------------------------------------------------------- 1 | module Pods_CLPlayer { 2 | umbrella header "Pods-CLPlayer-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Pods/Target Support Files/LookinServer/LookinServer-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_LookinServer : NSObject 3 | @end 4 | @implementation PodsDummy_LookinServer 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-CLPlayer/Pods-CLPlayer-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_CLPlayer : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_CLPlayer 5 | @end 6 | -------------------------------------------------------------------------------- /CLPlayer.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-CLPlayer/Pods-CLPlayer-resources-Debug-input-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${PODS_ROOT}/Target Support Files/Pods-CLPlayer/Pods-CLPlayer-resources.sh 2 | ${PODS_CONFIGURATION_BUILD_DIR}/SnapKit/SnapKit_Privacy.bundle -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-CLPlayer/Pods-CLPlayer-resources-Release-input-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${PODS_ROOT}/Target Support Files/Pods-CLPlayer/Pods-CLPlayer-resources.sh 2 | ${PODS_CONFIGURATION_BUILD_DIR}/SnapKit/SnapKit_Privacy.bundle -------------------------------------------------------------------------------- /Resources/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "colors" : [ 3 | { 4 | "idiom" : "universal" 5 | } 6 | ], 7 | "info" : { 8 | "author" : "xcode", 9 | "version" : 1 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /CLPlayer.xcworkspace/xcuserdata/caigetuxun.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | -------------------------------------------------------------------------------- /Pods/Target Support Files/SnapKit/SnapKit-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Pods/Target Support Files/LookinServer/LookinServer-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /CLPlayer.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /CLPlayer.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /CLPlayer.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /CLTableView/CLCellProtocol/CLCellProtocol.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CLCellProtocol.swift 3 | // CKD 4 | // 5 | // Created by JmoVxia on 2020/3/26. 6 | // Copyright © 2020 JmoVxia. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | protocol CLCellProtocol { 12 | /// 设置item 13 | func setItem(_ item: CLCellItemProtocol) 14 | } 15 | -------------------------------------------------------------------------------- /Resources/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSAppTransportSecurity 6 | 7 | NSAllowsArbitraryLoads 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/LookinServer.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LookinServer.h 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/7/20. 8 | // https://lookin.work 9 | // 10 | 11 | #ifndef LookinServer_h 12 | #define LookinServer_h 13 | 14 | 15 | #endif /* LookinServer_h */ 16 | 17 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 18 | -------------------------------------------------------------------------------- /Pods/Target Support Files/SnapKit/SnapKit-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double SnapKitVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char SnapKitVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-CLPlayer/Pods-CLPlayer-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_CLPlayerVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_CLPlayerVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Resources/Assets.xcassets/logo.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "logo.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Category/UITableView+LookinServer.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // UITableView+LookinServer.h 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/9/5. 8 | // https://lookin.work 9 | // 10 | 11 | #import 12 | 13 | @interface UITableView (LookinServer) 14 | 15 | - (NSArray *)lks_numberOfRows; 16 | 17 | @end 18 | 19 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 20 | -------------------------------------------------------------------------------- /Resources/Assets.xcassets/placeholder.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "placeholder.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Resources/Assets.xcassets/placeholder1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "placeholder1.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Pods/SnapKit/Sources/PrivacyInfo.xcprivacy: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSPrivacyTracking 6 | 7 | NSPrivacyAccessedAPITypes 8 | 9 | NSPrivacyCollectedDataTypes 10 | 11 | NSPrivacyTrackingDomains 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /CLPlayer.xcodeproj/xcuserdata/jmovxia.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | CLPlayer.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 5 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Category/UIViewController+LookinServer.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // UIViewController+LookinServer.h 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/4/22. 8 | // https://lookin.work 9 | // 10 | 11 | #import 12 | 13 | @interface UIViewController (LookinServer) 14 | 15 | + (UIViewController *)lks_visibleViewController; 16 | 17 | @end 18 | 19 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 20 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Others/LKS_ExportManager.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LKS_ExportManager.h 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/5/13. 8 | // https://lookin.work 9 | // 10 | 11 | #import 12 | 13 | @interface LKS_ExportManager : NSObject 14 | 15 | + (instancetype)sharedInstance; 16 | 17 | - (void)exportAndShare; 18 | 19 | @end 20 | 21 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 22 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/Category/CALayer+Lookin.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // CALayer+Lookin.h 5 | // Lookin 6 | // 7 | // Created by Li Kai on 2018/8/4. 8 | // https://lookin.work 9 | // 10 | 11 | #import "LookinDefines.h" 12 | 13 | 14 | 15 | #import 16 | 17 | @interface CALayer (Lookin) 18 | 19 | - (void)lookin_removeImplicitAnimations; 20 | 21 | @end 22 | 23 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 24 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/Category/Image+Lookin.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // Image+Lookin.h 5 | // LookinShared 6 | // 7 | // Created by 李凯 on 2022/4/2. 8 | // 9 | 10 | #import 11 | 12 | #if TARGET_OS_IPHONE 13 | 14 | #elif TARGET_OS_MAC 15 | 16 | @interface NSImage (LookinClient) 17 | 18 | - (NSData *)lookin_data; 19 | 20 | @end 21 | 22 | #endif 23 | 24 | 25 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 26 | -------------------------------------------------------------------------------- /CLPlayer.xcodeproj/xcuserdata/caigetuxun.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | CLPlayer.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 5 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /CLPlayer/CLFullScreenController/CLFullScreenLeftController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CLFullScreenLeftController.swift 3 | // CLPlayer 4 | // 5 | // Created by Chen JmoVxia on 2021/10/27. 6 | // 7 | 8 | import UIKit 9 | 10 | // MARK: - JmoVxia---类-属性 11 | 12 | class CLFullScreenLeftController: CLFullScreenController { 13 | override var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation { 14 | return .landscapeLeft 15 | } 16 | 17 | deinit {} 18 | } 19 | -------------------------------------------------------------------------------- /CLPlayer/CLFullScreenController/CLFullScreenRightController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CLFullScreenRightController.swift 3 | // CLPlayer 4 | // 5 | // Created by Chen JmoVxia on 2021/10/27. 6 | // 7 | 8 | import UIKit 9 | 10 | // MARK: - JmoVxia---类-属性 11 | 12 | class CLFullScreenRightController: CLFullScreenController { 13 | override var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation { 14 | return .landscapeRight 15 | } 16 | 17 | deinit {} 18 | } 19 | -------------------------------------------------------------------------------- /Resources/Assets.xcassets/back.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "filename" : "back@2x.png", 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "filename" : "back@3x.png", 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "author" : "xcode", 20 | "version" : 1 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Resources/Assets.xcassets/play.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "filename" : "play@2x.png", 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "filename" : "play@3x.png", 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "author" : "xcode", 20 | "version" : 1 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Category/UILabel+LookinServer.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // UILabel+LookinServer.h 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/2/26. 8 | // https://lookin.work 9 | // 10 | 11 | #import 12 | 13 | @interface UILabel (LookinServer) 14 | 15 | @property(nonatomic, assign) CGFloat lks_fontSize; 16 | 17 | - (NSString *)lks_fontName; 18 | 19 | @end 20 | 21 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 22 | -------------------------------------------------------------------------------- /Resources/Assets.xcassets/slider.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "filename" : "slider@2x.png", 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "filename" : "slider@3x.png", 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "author" : "xcode", 20 | "version" : 1 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Category/UIImageView+LookinServer.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // UIImageView+LookinServer.h 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/9/18. 8 | // https://lookin.work 9 | // 10 | 11 | #import 12 | 13 | @interface UIImageView (LookinServer) 14 | 15 | - (NSString *)lks_imageSourceName; 16 | - (NSNumber *)lks_imageViewOidIfHasImage; 17 | 18 | @end 19 | 20 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 21 | -------------------------------------------------------------------------------- /Resources/Assets.xcassets/meNormal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "filename" : "meNormal@2x.png", 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "filename" : "meNormal@3x.png", 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "author" : "xcode", 20 | "version" : 1 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Category/UITextView+LookinServer.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // UITextView+LookinServer.h 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/2/26. 8 | // https://lookin.work 9 | // 10 | 11 | #import 12 | 13 | @interface UITextView (LookinServer) 14 | 15 | @property(nonatomic, assign) CGFloat lks_fontSize; 16 | 17 | - (NSString *)lks_fontName; 18 | 19 | @end 20 | 21 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 22 | -------------------------------------------------------------------------------- /Resources/Assets.xcassets/homeNormal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "filename" : "homeNormal@2x.png", 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "filename" : "homeNormal@3x.png", 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "author" : "xcode", 20 | "version" : 1 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Resources/Assets.xcassets/meSelected.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "filename" : "meSelected@2x.png", 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "filename" : "meSelected@3x.png", 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "author" : "xcode", 20 | "version" : 1 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Resources/Assets.xcassets/slider_dog.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "filename" : "slider_dog@2x.png", 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "filename" : "slider_dog@3x.png", 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "author" : "xcode", 20 | "version" : 1 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Category/UITextField+LookinServer.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // UITextField+LookinServer.h 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/2/26. 8 | // https://lookin.work 9 | // 10 | 11 | #import 12 | 13 | @interface UITextField (LookinServer) 14 | 15 | @property(nonatomic, assign) CGFloat lks_fontSize; 16 | 17 | - (NSString *)lks_fontName; 18 | 19 | @end 20 | 21 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 22 | -------------------------------------------------------------------------------- /Resources/Assets.xcassets/homeSelected.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "filename" : "homeSelected@2x.png", 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "filename" : "homeSelected@3x.png", 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "author" : "xcode", 20 | "version" : 1 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Resources/Assets.xcassets/meArrowRight.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "filename" : "meArrowRight@2x.png", 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "filename" : "meArrowRight@3x.png", 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "author" : "xcode", 20 | "version" : 1 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/LookinWeakContainer.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LookinWeakContainer.h 5 | // Lookin 6 | // 7 | // Created by Li Kai on 2019/8/14. 8 | // https://lookin.work 9 | // 10 | 11 | 12 | 13 | #import 14 | 15 | @interface LookinWeakContainer : NSObject 16 | 17 | + (instancetype)containerWithObject:(id)object; 18 | 19 | @property (nonatomic, weak) id object; 20 | 21 | @end 22 | 23 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 24 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Others/LKS_EventHandlerMaker.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LKS_EventHandlerMaker.h 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/8/7. 8 | // https://lookin.work 9 | // 10 | 11 | #import "LookinDefines.h" 12 | 13 | @class LookinEventHandler; 14 | 15 | @interface LKS_EventHandlerMaker : NSObject 16 | 17 | + (NSArray *)makeForView:(UIView *)view; 18 | 19 | @end 20 | 21 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 22 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/Category/Image+Lookin.m: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // Image+Lookin.m 5 | // LookinShared 6 | // 7 | // Created by 李凯 on 2022/4/2. 8 | // 9 | 10 | #import "Image+Lookin.h" 11 | 12 | #if TARGET_OS_IPHONE 13 | 14 | #elif TARGET_OS_MAC 15 | 16 | @implementation NSImage (LookinClient) 17 | 18 | - (NSData *)lookin_data { 19 | return [self TIFFRepresentation]; 20 | } 21 | 22 | @end 23 | 24 | #endif 25 | 26 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 27 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Others/LKS_AttrGroupsMaker.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LKS_AttrGroupsMaker.h 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/6/6. 8 | // https://lookin.work 9 | // 10 | 11 | #import "LookinDefines.h" 12 | 13 | @class LookinAttributesGroup; 14 | 15 | @interface LKS_AttrGroupsMaker : NSObject 16 | 17 | + (NSArray *)attrGroupsForLayer:(CALayer *)layer; 18 | 19 | @end 20 | 21 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 22 | -------------------------------------------------------------------------------- /CLHomeController/View/Item/CLListItem.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CLListItem.swift 3 | // CLPlayer 4 | // 5 | // Created by Chen JmoVxia on 2021/10/26. 6 | // 7 | 8 | import UIKit 9 | 10 | class CLListItem: NSObject { 11 | var title = "" 12 | var didSelectCellCallback: ((IndexPath) -> Void)? 13 | } 14 | 15 | extension CLListItem: CLCellItemProtocol { 16 | func bindCell() -> UITableViewCell.Type { 17 | return CLListCell.self 18 | } 19 | 20 | func cellHeight() -> CGFloat { 21 | return 50 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Category/UIVisualEffectView+LookinServer.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // UIVisualEffectView+LookinServer.h 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/10/8. 8 | // https://lookin.work 9 | // 10 | 11 | #import 12 | 13 | @interface UIVisualEffectView (LookinServer) 14 | 15 | - (void)setLks_blurEffectStyleNumber:(NSNumber *)lks_blurEffectStyleNumber; 16 | 17 | - (NSNumber *)lks_blurEffectStyleNumber; 18 | 19 | @end 20 | 21 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 22 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Others/LKS_ObjectRegistry.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LKS_ObjectRegistry.h 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/4/21. 8 | // https://lookin.work 9 | // 10 | 11 | #import 12 | 13 | @interface LKS_ObjectRegistry : NSObject 14 | 15 | + (instancetype)sharedInstance; 16 | 17 | - (unsigned long)addObject:(NSObject *)object; 18 | 19 | - (NSObject *)objectWithOid:(unsigned long)oid; 20 | 21 | @end 22 | 23 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 24 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Others/LKS_TraceManager.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LKS_TraceManager.h 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/5/5. 8 | // https://lookin.work 9 | // 10 | 11 | 12 | 13 | #import 14 | 15 | @class LookinIvarTrace; 16 | 17 | @interface LKS_TraceManager : NSObject 18 | 19 | + (instancetype)sharedInstance; 20 | 21 | - (void)reload; 22 | 23 | - (void)addSearchTarger:(id)target; 24 | 25 | @end 26 | 27 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 28 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Category/UIImage+LookinServer.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // UIImage+LookinServer.h 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/5/14. 8 | // https://lookin.work 9 | // 10 | 11 | #import 12 | 13 | @interface UIImage (LookinServer) 14 | 15 | /// 该方法的实现需要 Hook,因此若定义了 LOOKIN_SERVER_DISABLE_HOOK 宏,则属性会返回 nil 16 | @property(nonatomic, copy) NSString *lks_imageSourceName; 17 | 18 | - (NSData *)lookin_data; 19 | 20 | @end 21 | 22 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 23 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Connection/LKS_RequestHandler.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LKS_RequestHandler.h 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/1/15. 8 | // https://lookin.work 9 | // 10 | 11 | #import 12 | 13 | @interface LKS_RequestHandler : NSObject 14 | 15 | - (BOOL)canHandleRequestType:(uint32_t)requestType; 16 | 17 | - (void)handleRequestType:(uint32_t)requestType tag:(uint32_t)tag object:(id)object; 18 | 19 | @end 20 | 21 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 22 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Others/LKS_CustomDisplayItemsMaker.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LKS_CustomDisplayItemsMaker.h 5 | // LookinServer 6 | // 7 | // Created by likai.123 on 2023/11/1. 8 | // 9 | 10 | #import 11 | 12 | @class LookinDisplayItem; 13 | 14 | @interface LKS_CustomDisplayItemsMaker : NSObject 15 | 16 | - (instancetype)initWithLayer:(CALayer *)layer saveAttrSetter:(BOOL)saveAttrSetter; 17 | 18 | - (NSArray *)make; 19 | 20 | @end 21 | 22 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 23 | -------------------------------------------------------------------------------- /CLPlayer/CLImageHelper.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CLImageHelper.swift 3 | // CLPlayer 4 | // 5 | // Created by Chen JmoVxia on 2021/10/27. 6 | // 7 | 8 | import UIKit 9 | 10 | public class CLImageHelper: NSObject { 11 | public static func imageWithName(_ name: String) -> UIImage? { 12 | let filePath = Bundle(for: classForCoder()).resourcePath! + "/CLPlayer.bundle" 13 | let bundle = Bundle(path: filePath) 14 | let scale = max(min(Int(UIScreen.main.scale), 2), 3) 15 | return .init(named: "\(name)@\(scale)x", in: bundle, compatibleWith: nil) 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/Category/Color+Lookin.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // Color+Lookin.h 5 | // LookinShared 6 | // 7 | // Created by 李凯 on 2022/4/2. 8 | // 9 | 10 | #import 11 | 12 | #if TARGET_OS_IPHONE 13 | 14 | #elif TARGET_OS_MAC 15 | 16 | @interface NSColor (Lookin) 17 | 18 | + (instancetype)lookin_colorFromRGBAComponents:(NSArray *)components; 19 | 20 | - (NSArray *)lookin_rgbaComponents; 21 | 22 | @end 23 | 24 | #endif 25 | 26 | 27 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 28 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/LookinConnectionAttachment.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LookinConnectionAttachment.h 5 | // Lookin 6 | // 7 | // Created by Li Kai on 2019/2/15. 8 | // https://lookin.work 9 | // 10 | 11 | 12 | 13 | #import 14 | #import "LookinCodingValueType.h" 15 | 16 | @interface LookinConnectionAttachment : NSObject 17 | 18 | @property(nonatomic, assign) LookinCodingValueType dataType; 19 | 20 | @property(nonatomic, strong) id data; 21 | 22 | @end 23 | 24 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 25 | -------------------------------------------------------------------------------- /CLTableViewController/View/Item/CLTableViewItem.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CLTableViewItem.swift 3 | // CLPlayer 4 | // 5 | // Created by Chen JmoVxia on 2021/12/14. 6 | // 7 | 8 | import UIKit 9 | 10 | class CLTableViewItem: NSObject { 11 | var title = NSMutableAttributedString() 12 | var url: URL? 13 | var didSelectCellCallback: ((IndexPath) -> Void)? 14 | } 15 | 16 | extension CLTableViewItem: CLCellItemProtocol { 17 | func bindCell() -> UITableViewCell.Type { 18 | return CLTableViewCell.self 19 | } 20 | 21 | func cellHeight() -> CGFloat { 22 | return 300 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Connection/RequestHandler/LKS_CustomAttrModificationHandler.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | // 3 | // LKS_CustomAttrModificationHandler.h 4 | // LookinServer 5 | // 6 | // Created by likaimacbookhome on 2023/11/4. 7 | // 8 | 9 | #import 10 | #import "LookinCustomAttrModification.h" 11 | 12 | @interface LKS_CustomAttrModificationHandler : NSObject 13 | 14 | /// 返回值表示是否修改成功(有成功调用 setter block 就算成功) 15 | + (BOOL)handleModification:(LookinCustomAttrModification *)modification; 16 | 17 | @end 18 | 19 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 20 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Others/LKSConfigManager.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LKSConfigManager.h 5 | // LookinServer 6 | // 7 | // Created by likai.123 on 2023/1/10. 8 | // 9 | 10 | #import 11 | 12 | NS_ASSUME_NONNULL_BEGIN 13 | 14 | @interface LKSConfigManager : NSObject 15 | 16 | + (NSArray *)collapsedClassList; 17 | 18 | + (NSDictionary *)colorAlias; 19 | 20 | + (BOOL)shouldCaptureScreenshotOfLayer:(CALayer *)layer; 21 | 22 | @end 23 | 24 | NS_ASSUME_NONNULL_END 25 | 26 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 27 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/LookinCustomAttrModification.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | // 3 | // LookinCustomAttrModification.h 4 | // LookinShared 5 | // 6 | // Created by likaimacbookhome on 2023/11/4. 7 | // 8 | 9 | #import 10 | #import "LookinAttrType.h" 11 | 12 | @interface LookinCustomAttrModification : NSObject 13 | 14 | @property(nonatomic, assign) LookinAttrType attrType; 15 | @property(nonatomic, copy) NSString *customSetterID; 16 | @property(nonatomic, strong) id value; 17 | 18 | @end 19 | 20 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 21 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Category/UIBlurEffect+LookinServer.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // UIBlurEffect+LookinServer.h 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/10/8. 8 | // https://lookin.work 9 | // 10 | 11 | #import 12 | 13 | @interface UIBlurEffect (LookinServer) 14 | 15 | /// 该 number 包装的对象是 UIBlurEffectStyle,之所以用 NSNumber 是因为想把 0 和 nil 区分开,毕竟这里是在 hook 系统,稳一点好。 16 | /// 该方法的实现需要 Hook,因此若定义了 LOOKIN_SERVER_DISABLE_HOOK 宏,则属性会返回 nil 17 | @property(nonatomic, strong) NSNumber *lks_effectStyleNumber; 18 | 19 | @end 20 | 21 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 22 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Others/LKS_MultiplatformAdapter.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | // 3 | // LKS_MultiplatformAdapter.h 4 | // 5 | // 6 | // Created by nixjiang on 2024/3/12. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | NS_ASSUME_NONNULL_BEGIN 13 | 14 | @interface LKS_MultiplatformAdapter : NSObject 15 | 16 | + (UIWindow *)keyWindow; 17 | 18 | + (NSArray *)allWindows; 19 | 20 | + (CGRect)mainScreenBounds; 21 | 22 | + (CGFloat)mainScreenScale; 23 | 24 | + (BOOL)isiPad; 25 | 26 | @end 27 | 28 | NS_ASSUME_NONNULL_END 29 | 30 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 31 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Others/LookinServerDefines.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LookinServer_PrefixHeader.pch 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2018/12/21. 8 | // https://lookin.work 9 | // 10 | 11 | #import "TargetConditionals.h" 12 | #import "LookinDefines.h" 13 | #import "LKS_Helper.h" 14 | #import "NSObject+LookinServer.h" 15 | #import "NSArray+Lookin.h" 16 | #import "NSSet+Lookin.h" 17 | #import "CALayer+Lookin.h" 18 | #import "UIView+LookinServer.h" 19 | #import "CALayer+LookinServer.h" 20 | #import "NSObject+Lookin.h" 21 | #import "NSString+Lookin.h" 22 | 23 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 24 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/LookinCustomDisplayItemInfo.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | // 3 | // LookinCustomDisplayItemInfo.h 4 | // LookinServer 5 | // 6 | // Created by likai.123 on 2023/11/1. 7 | // 8 | 9 | #import 10 | 11 | @interface LookinCustomDisplayItemInfo : NSObject 12 | 13 | /// 该属性可能有值(CGRect)也可能是 nil(nil 时则表示无图像) 14 | @property(nonatomic, strong) NSValue *frameInWindow; 15 | @property(nonatomic, copy) NSString *title; 16 | @property(nonatomic, copy) NSString *subtitle; 17 | @property(nonatomic, copy) NSString *danceuiSource; 18 | 19 | @end 20 | 21 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 22 | -------------------------------------------------------------------------------- /Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - LookinServer/Core (1.2.8) 3 | - LookinServer/Swift (1.2.8): 4 | - LookinServer/Core 5 | - SnapKit (5.7.1) 6 | - SwiftFormat/CLI (0.57.2) 7 | 8 | DEPENDENCIES: 9 | - LookinServer/Swift 10 | - SnapKit 11 | - SwiftFormat/CLI 12 | 13 | SPEC REPOS: 14 | https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git: 15 | - LookinServer 16 | - SnapKit 17 | - SwiftFormat 18 | 19 | SPEC CHECKSUMS: 20 | LookinServer: 1b2b61c6402ae29fa22182d48f5cd067b4e99e80 21 | SnapKit: d612e99e678a2d3b95bf60b0705ed0a35c03484a 22 | SwiftFormat: 7a87845c4d54d5c1600e46b4d2d02408aab3a129 23 | 24 | PODFILE CHECKSUM: e9c6748d71a39c96311b77a13e42156e15683dc6 25 | 26 | COCOAPODS: 1.16.2 27 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Category/UILabel+LookinServer.m: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // UILabel+LookinServer.m 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/2/26. 8 | // https://lookin.work 9 | // 10 | 11 | #import "UILabel+LookinServer.h" 12 | 13 | @implementation UILabel (LookinServer) 14 | 15 | - (CGFloat)lks_fontSize { 16 | return self.font.pointSize; 17 | } 18 | - (void)setLks_fontSize:(CGFloat)lks_fontSize { 19 | UIFont *font = [self.font fontWithSize:lks_fontSize]; 20 | self.font = font; 21 | } 22 | 23 | - (NSString *)lks_fontName { 24 | return self.font.fontName; 25 | } 26 | 27 | @end 28 | 29 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 30 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Category/UIColor+LookinServer.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // UIColor+LookinServer.h 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/6/5. 8 | // https://lookin.work 9 | // 10 | 11 | #import 12 | 13 | @interface UIColor (LookinServer) 14 | 15 | - (NSArray *)lks_rgbaComponents; 16 | + (instancetype)lks_colorFromRGBAComponents:(NSArray *)components; 17 | 18 | - (NSString *)lks_rgbaString; 19 | - (NSString *)lks_hexString; 20 | 21 | /// will check if the argument is a real CGColor 22 | + (UIColor *)lks_colorWithCGColor:(CGColorRef)cgColor; 23 | 24 | @end 25 | 26 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 27 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Category/UITextView+LookinServer.m: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // UITextView+LookinServer.m 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/2/26. 8 | // https://lookin.work 9 | // 10 | 11 | #import "UITextView+LookinServer.h" 12 | 13 | @implementation UITextView (LookinServer) 14 | 15 | - (CGFloat)lks_fontSize { 16 | return self.font.pointSize; 17 | } 18 | - (void)setLks_fontSize:(CGFloat)lks_fontSize { 19 | UIFont *font = [self.font fontWithSize:lks_fontSize]; 20 | self.font = font; 21 | } 22 | 23 | - (NSString *)lks_fontName { 24 | return self.font.fontName; 25 | } 26 | 27 | @end 28 | 29 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 30 | -------------------------------------------------------------------------------- /Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - LookinServer/Core (1.2.8) 3 | - LookinServer/Swift (1.2.8): 4 | - LookinServer/Core 5 | - SnapKit (5.7.1) 6 | - SwiftFormat/CLI (0.57.2) 7 | 8 | DEPENDENCIES: 9 | - LookinServer/Swift 10 | - SnapKit 11 | - SwiftFormat/CLI 12 | 13 | SPEC REPOS: 14 | https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git: 15 | - LookinServer 16 | - SnapKit 17 | - SwiftFormat 18 | 19 | SPEC CHECKSUMS: 20 | LookinServer: 1b2b61c6402ae29fa22182d48f5cd067b4e99e80 21 | SnapKit: d612e99e678a2d3b95bf60b0705ed0a35c03484a 22 | SwiftFormat: 7a87845c4d54d5c1600e46b4d2d02408aab3a129 23 | 24 | PODFILE CHECKSUM: e9c6748d71a39c96311b77a13e42156e15683dc6 25 | 26 | COCOAPODS: 1.16.2 27 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Category/UITextField+LookinServer.m: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // UITextField+LookinServer.m 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/2/26. 8 | // https://lookin.work 9 | // 10 | 11 | #import "UITextField+LookinServer.h" 12 | 13 | @implementation UITextField (LookinServer) 14 | 15 | - (CGFloat)lks_fontSize { 16 | return self.font.pointSize; 17 | } 18 | - (void)setLks_fontSize:(CGFloat)lks_fontSize { 19 | UIFont *font = [self.font fontWithSize:lks_fontSize]; 20 | self.font = font; 21 | } 22 | 23 | - (NSString *)lks_fontName { 24 | return self.font.fontName; 25 | } 26 | 27 | @end 28 | 29 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 30 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Others/LKS_Helper.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LKS_Helper.h 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/7/20. 8 | // https://lookin.work 9 | // 10 | 11 | #import "LookinDefines.h" 12 | 13 | 14 | 15 | #import 16 | 17 | #define LKS_Localized(stringKey) NSLocalizedStringFromTableInBundle(stringKey, nil, [NSBundle bundleForClass:self.class], nil) 18 | 19 | @interface LKS_Helper : NSObject 20 | 21 | /// 如果 object 为 nil 则返回字符串 “nil”,否则返回字符串格式类似于 (UIView *) 22 | + (NSString *)descriptionOfObject:(id)object; 23 | 24 | /// 返回当前的bundle 25 | + (NSBundle *)bundle; 26 | 27 | @end 28 | 29 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 30 | -------------------------------------------------------------------------------- /AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // CLPlayer 4 | // 5 | // Created by Chen JmoVxia on 2021/10/26. 6 | // 7 | 8 | import UIKit 9 | 10 | @main 11 | class AppDelegate: UIResponder, UIApplicationDelegate { 12 | var window: UIWindow? 13 | func application(_: UIApplication, didFinishLaunchingWithOptions _: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { 14 | window?.rootViewController = CLTabBarController(nibName: nil, bundle: nil) 15 | window?.makeKeyAndVisible() 16 | return true 17 | } 18 | } 19 | 20 | extension AppDelegate { 21 | func application(_: UIApplication, supportedInterfaceOrientationsFor _: UIWindow?) -> UIInterfaceOrientationMask { 22 | return .allButUpsideDown 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Others/LKS_GestureTargetActionsSearcher.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LKS_GestureTargetActionsSearcher.h 5 | // LookinServer 6 | // 7 | // Created by likai.123 on 2023/9/11. 8 | // 9 | 10 | #import 11 | 12 | @class LookinTwoTuple; 13 | 14 | NS_ASSUME_NONNULL_BEGIN 15 | 16 | @interface LKS_GestureTargetActionsSearcher : NSObject 17 | 18 | /// 返回一个 UIGestureRecognizer 实例身上绑定的 target & action 信息 19 | /// tuple.first => LookinWeakContainer(包裹着 target),tuple.second => action(方法名字符串) 20 | + (NSArray *)getTargetActionsFromRecognizer:(UIGestureRecognizer *)recognizer; 21 | 22 | @end 23 | 24 | NS_ASSUME_NONNULL_END 25 | 26 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 27 | -------------------------------------------------------------------------------- /Podfile: -------------------------------------------------------------------------------- 1 | source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git' 2 | platform :ios, '15.0' 3 | #use_frameworks! 4 | use_modular_headers! 5 | inhibit_all_warnings! 6 | install! 'cocoapods', :deterministic_uuids => false 7 | 8 | target 'CLPlayer' do 9 | inhibit_all_warnings! 10 | pod 'SnapKit' 11 | pod 'SwiftFormat/CLI' 12 | pod 'LookinServer', :subspecs => ['Swift'], :configurations => ['Debug'] 13 | end 14 | 15 | post_install do |installer| 16 | installer.pods_project.targets.each do |target| 17 | target.build_configurations.each do |config| 18 | if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 15.0 19 | config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.0' 20 | end 21 | end 22 | end 23 | end 24 | 25 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/Peertalk/Peertalk.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // Peertalk.h 5 | // Peertalk 6 | // 7 | // Created by Marek Cirkos on 12/04/2016. 8 | // 9 | // 10 | 11 | 12 | 13 | #import 14 | 15 | //! Project version number for Peertalk. 16 | FOUNDATION_EXPORT double PeertalkVersionNumber; 17 | 18 | //! Project version string for Peertalk. 19 | FOUNDATION_EXPORT const unsigned char PeertalkVersionString[]; 20 | 21 | // In this header, you should import all the public headers of your framework using statements like #import 22 | 23 | 24 | #import "Lookin_PTChannel.h" 25 | #import "Lookin_PTProtocol.h" 26 | #import "Lookin_PTUSBHub.h" 27 | 28 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 29 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Category/UIImageView+LookinServer.m: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // UIImageView+LookinServer.m 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/9/18. 8 | // https://lookin.work 9 | // 10 | 11 | #import "UIImageView+LookinServer.h" 12 | #import "UIImage+LookinServer.h" 13 | #import "NSObject+LookinServer.h" 14 | 15 | @implementation UIImageView (LookinServer) 16 | 17 | - (NSString *)lks_imageSourceName { 18 | return self.image.lks_imageSourceName; 19 | } 20 | 21 | - (NSNumber *)lks_imageViewOidIfHasImage { 22 | if (!self.image) { 23 | return nil; 24 | } 25 | unsigned long oid = [self lks_registerOid]; 26 | return @(oid); 27 | } 28 | 29 | @end 30 | 31 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 32 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Others/LKS_CustomAttrGroupsMaker.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | // 3 | // LKS_CustomAttrGroupsMaker.h 4 | // LookinServer 5 | // 6 | // Created by LikaiMacStudioWork on 2023/10/31. 7 | // 8 | 9 | #import "LookinDefines.h" 10 | 11 | @class LookinAttributesGroup; 12 | 13 | @interface LKS_CustomAttrGroupsMaker : NSObject 14 | 15 | - (instancetype)initWithLayer:(CALayer *)layer; 16 | 17 | - (void)execute; 18 | 19 | - (NSArray *)getGroups; 20 | - (NSString *)getCustomDisplayTitle; 21 | - (NSString *)getDanceUISource; 22 | 23 | + (NSArray *)makeGroupsFromRawProperties:(NSArray *)rawProperties saveCustomSetter:(BOOL)saveCustomSetter; 24 | 25 | @end 26 | 27 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 28 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Connection/LKS_ConnectionManager.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // Lookin.h 5 | // Lookin 6 | // 7 | // Created by Li Kai on 2018/8/5. 8 | // https://lookin.work 9 | // 10 | 11 | #import 12 | 13 | extern NSString *const LKS_ConnectionDidEndNotificationName; 14 | 15 | @class LookinConnectionResponseAttachment; 16 | 17 | @interface LKS_ConnectionManager : NSObject 18 | 19 | + (instancetype)sharedInstance; 20 | 21 | @property(nonatomic, assign) BOOL applicationIsActive; 22 | 23 | - (void)respond:(LookinConnectionResponseAttachment *)data requestType:(uint32_t)requestType tag:(uint32_t)tag; 24 | 25 | - (void)pushData:(NSObject *)data type:(uint32_t)type; 26 | 27 | @end 28 | 29 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 30 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/LookinTuple.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LookinTuples.h 5 | // Lookin 6 | // 7 | // Created by Li Kai on 2019/8/14. 8 | // https://lookin.work 9 | // 10 | 11 | 12 | 13 | #import 14 | 15 | @interface LookinTwoTuple : NSObject 16 | 17 | @property(nonatomic, strong) NSObject *first; 18 | @property(nonatomic, strong) NSObject *second; 19 | 20 | @end 21 | 22 | @interface LookinStringTwoTuple : NSObject 23 | 24 | + (instancetype)tupleWithFirst:(NSString *)firstString second:(NSString *)secondString; 25 | 26 | @property(nonatomic, copy) NSString *first; 27 | @property(nonatomic, copy) NSString *second; 28 | 29 | @end 30 | 31 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 32 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/Peertalk/Lookin_PTPrivate.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | 4 | 5 | #if (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && (!defined(__IPHONE_6_0) || __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_6_0)) || \ 6 | (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && (!defined(__MAC_10_8) || __MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_10_8)) 7 | #define PT_DISPATCH_RETAIN_RELEASE 1 8 | #else 9 | #define PT_DISPATCH_RETAIN_RELEASE 0 10 | #endif 11 | 12 | #if PT_DISPATCH_RETAIN_RELEASE 13 | #define PT_PRECISE_LIFETIME 14 | #define PT_PRECISE_LIFETIME_UNUSED 15 | #else 16 | #define PT_PRECISE_LIFETIME __attribute__((objc_precise_lifetime)) 17 | #define PT_PRECISE_LIFETIME_UNUSED __attribute__((objc_precise_lifetime, unused)) 18 | #endif 19 | 20 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 21 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/LookinAttributeModification.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LookinAttributeModification.h 5 | // Lookin 6 | // 7 | // Created by Li Kai on 2018/11/20. 8 | // https://lookin.work 9 | // 10 | 11 | 12 | 13 | #import 14 | #import "LookinAttrType.h" 15 | 16 | @interface LookinAttributeModification : NSObject 17 | 18 | @property(nonatomic, assign) unsigned long targetOid; 19 | 20 | @property(nonatomic, assign) SEL setterSelector; 21 | @property(nonatomic, assign) SEL getterSelector; 22 | 23 | @property(nonatomic, assign) LookinAttrType attrType; 24 | @property(nonatomic, strong) id value; 25 | 26 | /// 1.0.4 开始加入这个参数 27 | @property(nonatomic, copy) NSString *clientReadableVersion; 28 | 29 | @end 30 | 31 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 32 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Category/UITableView+LookinServer.m: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // UITableView+LookinServer.m 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/9/5. 8 | // https://lookin.work 9 | // 10 | 11 | #import "UITableView+LookinServer.h" 12 | #import "LookinServerDefines.h" 13 | 14 | @implementation UITableView (LookinServer) 15 | 16 | - (NSArray *)lks_numberOfRows { 17 | NSUInteger sectionsCount = MIN(self.numberOfSections, 10); 18 | NSArray *rowsCount = [NSArray lookin_arrayWithCount:sectionsCount block:^id(NSUInteger idx) { 19 | return @([self numberOfRowsInSection:idx]); 20 | }]; 21 | if (rowsCount.count == 0) { 22 | return nil; 23 | } 24 | return rowsCount; 25 | } 26 | 27 | @end 28 | 29 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 30 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Connection/RequestHandler/LKS_InbuiltAttrModificationHandler.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LKS_InbuiltAttrModificationHandler.h 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/6/12. 8 | // https://lookin.work 9 | // 10 | 11 | #import 12 | 13 | @class LookinAttributeModification, LookinDisplayItemDetail, LookinStaticAsyncUpdateTask; 14 | 15 | @interface LKS_InbuiltAttrModificationHandler : NSObject 16 | 17 | + (void)handleModification:(LookinAttributeModification *)modification completion:(void (^)(LookinDisplayItemDetail *data, NSError *error))completion; 18 | 19 | + (void)handlePatchWithTasks:(NSArray *)tasks block:(void (^)(LookinDisplayItemDetail *data))block; 20 | 21 | @end 22 | 23 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 24 | -------------------------------------------------------------------------------- /CLPlayer/CLPlayerDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CLPlayerDelegate.swift 3 | // CLPlayer 4 | // 5 | // Created by Chen JmoVxia on 2021/12/15. 6 | // 7 | 8 | import UIKit 9 | 10 | public protocol CLPlayerDelegate: AnyObject { 11 | /// 点击顶部工具条返回按钮 12 | func playerDidClickBackButton(_ player: CLPlayer) 13 | /// 视频播放结束 14 | func playerDidFinishPlaying(_ player: CLPlayer) 15 | /// 播放器播放进度变化 16 | func player(_ player: CLPlayer, didUpdateProgress progress: CGFloat) 17 | /// 播放器播放失败 18 | func player(_ player: CLPlayer, didFailWithError error: Error?) 19 | } 20 | 21 | public extension CLPlayerDelegate { 22 | func playerDidClickBackButton(_ player: CLPlayer) {} 23 | func playerDidFinishPlaying(_ player: CLPlayer) {} 24 | func player(_ player: CLPlayer, didUpdateProgress progress: CGFloat) {} 25 | func player(_ player: CLPlayer, didFailWithError error: Error?) {} 26 | } 27 | -------------------------------------------------------------------------------- /Pods/Target Support Files/SwiftFormat/SwiftFormat.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SwiftFormat 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -suppress-warnings -import-underlying-module -Xcc -fmodule-map-file="${SRCROOT}/${MODULEMAP_FILE}" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 8 | PODS_ROOT = ${SRCROOT} 9 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/SwiftFormat 10 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 11 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 12 | SKIP_INSTALL = YES 13 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 14 | -------------------------------------------------------------------------------- /Pods/Target Support Files/SwiftFormat/SwiftFormat.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SwiftFormat 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -suppress-warnings -import-underlying-module -Xcc -fmodule-map-file="${SRCROOT}/${MODULEMAP_FILE}" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 8 | PODS_ROOT = ${SRCROOT} 9 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/SwiftFormat 10 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 11 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 12 | SKIP_INSTALL = YES 13 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 14 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Connection/RequestHandler/LKS_AttrModificationPatchHandler.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LKS_AttrModificationPatchHandler.h 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/6/12. 8 | // https://lookin.work 9 | // 10 | 11 | #import 12 | 13 | @class LookinDisplayItemDetail; 14 | 15 | @interface LKS_AttrModificationPatchHandler : NSObject 16 | 17 | /** 18 | @param oids 数组内 idx 较小的应该为 displayItems 里的 subItem,idx 较大的应该为 superItem 19 | @param lowImageQuality 是否采用低图像质量 20 | @param block 该 block 会被多次调用,其中 tasksTotalCount 是总的调用次数(即可被用来作为 TotalResponseCount) 21 | */ 22 | + (void)handleLayerOids:(NSArray *)oids lowImageQuality:(BOOL)lowImageQuality block:(void (^)(LookinDisplayItemDetail *detail, NSUInteger tasksTotalCount, NSError *error))block; 23 | 24 | @end 25 | 26 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 27 | -------------------------------------------------------------------------------- /Pods/Target Support Files/SnapKit/ResourceBundle-SnapKit_Privacy-SnapKit-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | ${PODS_DEVELOPMENT_LANGUAGE} 7 | CFBundleIdentifier 8 | ${PRODUCT_BUNDLE_IDENTIFIER} 9 | CFBundleInfoDictionaryVersion 10 | 6.0 11 | CFBundleName 12 | ${PRODUCT_NAME} 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 5.7.1 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | NSPrincipalClass 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/LookinHierarchyFile.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LookinHierarchyFile.h 5 | // Lookin 6 | // 7 | // Created by Li Kai on 2019/5/12. 8 | // https://lookin.work 9 | // 10 | 11 | 12 | 13 | #import 14 | 15 | @class LookinHierarchyInfo; 16 | 17 | @interface LookinHierarchyFile : NSObject 18 | 19 | /// 记录创建该文件的 LookinServer 的版本 20 | @property(nonatomic, assign) int serverVersion; 21 | 22 | @property(nonatomic, strong) LookinHierarchyInfo *hierarchyInfo; 23 | 24 | @property(nonatomic, copy) NSDictionary *soloScreenshots; 25 | @property(nonatomic, copy) NSDictionary *groupScreenshots; 26 | 27 | /// 验证 file 的版本之类的是否和当前 Lookin 客户端匹配,如果没有问题则返回 nil,如果有问题则返回 error 28 | + (NSError *)verifyHierarchyFile:(LookinHierarchyFile *)file; 29 | 30 | @end 31 | 32 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 33 | -------------------------------------------------------------------------------- /Pods/Target Support Files/SnapKit/SnapKit.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SnapKit 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LIBRARY_SEARCH_PATHS = $(inherited) $(SDKROOT)/usr/lib/swift 5 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -suppress-warnings -import-underlying-module -Xcc -fmodule-map-file="${SRCROOT}/${MODULEMAP_FILE}" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 9 | PODS_ROOT = ${SRCROOT} 10 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/SnapKit 11 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 12 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 13 | SKIP_INSTALL = YES 14 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 15 | -------------------------------------------------------------------------------- /Pods/Target Support Files/SnapKit/SnapKit.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SnapKit 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LIBRARY_SEARCH_PATHS = $(inherited) $(SDKROOT)/usr/lib/swift 5 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -suppress-warnings -import-underlying-module -Xcc -fmodule-map-file="${SRCROOT}/${MODULEMAP_FILE}" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 9 | PODS_ROOT = ${SRCROOT} 10 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/SnapKit 11 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 12 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 13 | SKIP_INSTALL = YES 14 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 15 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/LookinCodingValueType.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LookinCodingValueType.h 5 | // Lookin 6 | // 7 | // Created by Li Kai on 2019/2/13. 8 | // https://lookin.work 9 | // 10 | 11 | typedef NS_ENUM(NSInteger, LookinCodingValueType) { 12 | LookinCodingValueTypeUnknown, 13 | LookinCodingValueTypeChar, 14 | LookinCodingValueTypeDouble, 15 | LookinCodingValueTypeFloat, 16 | LookinCodingValueTypeLongLong, 17 | // LookinCodingValueTypePoint, 18 | // LookinCodingValueTypeString, 19 | // LookinCodingValueTypeStringArray, 20 | // LookinCodingValueTypeEdgeInsets, 21 | // LookinCodingValueTypeRect, 22 | LookinCodingValueTypeBOOL, 23 | // LookinCodingValueTypeSize, 24 | LookinCodingValueTypeColor, 25 | LookinCodingValueTypeEnum, 26 | // LookinCodingValueTypeRange, 27 | LookinCodingValueTypeImage 28 | }; 29 | 30 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 31 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/Category/NSSet+Lookin.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // NSSet+Lookin.h 5 | // Lookin 6 | // 7 | // Created by Li Kai on 2019/1/13. 8 | // https://lookin.work 9 | // 10 | 11 | #import "LookinDefines.h" 12 | 13 | 14 | 15 | #import "TargetConditionals.h" 16 | #if TARGET_OS_IPHONE 17 | #import 18 | #elif TARGET_OS_MAC 19 | #import 20 | #endif 21 | 22 | @interface NSSet<__covariant ValueType> (Lookin) 23 | 24 | - (NSSet *)lookin_map:(id (^)(ValueType obj))block; 25 | 26 | - (ValueType)lookin_firstFiltered:(BOOL (^)(ValueType obj))block; 27 | 28 | - (NSSet *)lookin_filter:(BOOL (^)(ValueType obj))block; 29 | 30 | 31 | /** 32 | 是否有任何一个元素满足某条件 33 | @note 元素将被依次传入 block 里,如果任何一个 block 返回 YES,则该方法返回 YES。如果所有 block 均返回 NO,则该方法返回 NO。 34 | */ 35 | - (BOOL)lookin_any:(BOOL (^)(ValueType obj))block; 36 | 37 | @end 38 | 39 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 40 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Others/LKS_Helper.m: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LKS_Helper.m 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/7/20. 8 | // https://lookin.work 9 | // 10 | 11 | #import "LKS_Helper.h" 12 | #import "NSObject+LookinServer.h" 13 | 14 | @implementation LKS_Helper 15 | 16 | + (NSString *)descriptionOfObject:(id)object { 17 | if (!object) { 18 | return @"nil"; 19 | } 20 | NSString *className = NSStringFromClass([object class]); 21 | return [NSString stringWithFormat:@"(%@ *)", className]; 22 | } 23 | 24 | + (NSBundle *)bundle { 25 | static id bundle = nil; 26 | if (bundle != nil) { 27 | #ifdef SPM_RESOURCE_BUNDLE_IDENTIFITER 28 | bundle = [NSBundle bundleWithIdentifier:SPM_RESOURCE_BUNDLE_IDENTIFITER]; 29 | #else 30 | bundle = [NSBundle bundleForClass:self.class]; 31 | #endif 32 | } 33 | return bundle; 34 | } 35 | 36 | @end 37 | 38 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 39 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Category/NSObject+LookinServer.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // NSObject+LookinServer.h 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/4/21. 8 | // https://lookin.work 9 | // 10 | 11 | #import "LookinDefines.h" 12 | #import 13 | 14 | @class LookinIvarTrace; 15 | 16 | @interface NSObject (LookinServer) 17 | 18 | #pragma mark - oid 19 | 20 | /// 如果 oid 不存在则会创建新的 oid 21 | - (unsigned long)lks_registerOid; 22 | 23 | /// 0 表示不存在 24 | @property(nonatomic, assign) unsigned long lks_oid; 25 | 26 | + (NSObject *)lks_objectWithOid:(unsigned long)oid; 27 | 28 | #pragma mark - trace 29 | 30 | @property(nonatomic, copy) NSString *lks_specialTrace; 31 | 32 | + (void)lks_clearAllObjectsTraces; 33 | 34 | /** 35 | 获取当前对象的 Class 层级树,如 @[@"UIView", @"UIResponder", @"NSObject"]。未 demangle,有 Swift Module Name 36 | */ 37 | - (NSArray *)lks_classChainList; 38 | 39 | @end 40 | 41 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 42 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/LookinWeakContainer.m: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LookinWeakContainer.m 5 | // Lookin 6 | // 7 | // Created by Li Kai on 2019/8/14. 8 | // https://lookin.work 9 | // 10 | 11 | 12 | 13 | #import "LookinWeakContainer.h" 14 | 15 | @implementation LookinWeakContainer 16 | 17 | + (instancetype)containerWithObject:(id)object { 18 | LookinWeakContainer *container = [LookinWeakContainer new]; 19 | container.object = object; 20 | return container; 21 | } 22 | 23 | - (NSUInteger)hash { 24 | return [self.object hash]; 25 | } 26 | 27 | - (BOOL)isEqual:(id)object { 28 | if (self == object) { 29 | return YES; 30 | } 31 | if (![object isKindOfClass:[LookinWeakContainer class]]) { 32 | return NO; 33 | } 34 | LookinWeakContainer *comparedObj = object; 35 | if ([self.object isEqual:comparedObj.object]) { 36 | return YES; 37 | } 38 | return NO; 39 | } 40 | 41 | @end 42 | 43 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 44 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Category/UIVisualEffectView+LookinServer.m: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // UIVisualEffectView+LookinServer.m 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/10/8. 8 | // https://lookin.work 9 | // 10 | 11 | #import "UIVisualEffectView+LookinServer.h" 12 | #import "UIBlurEffect+LookinServer.h" 13 | 14 | @implementation UIVisualEffectView (LookinServer) 15 | 16 | - (void)setLks_blurEffectStyleNumber:(NSNumber *)lks_blurEffectStyleNumber { 17 | UIBlurEffectStyle style = [lks_blurEffectStyleNumber integerValue]; 18 | UIBlurEffect *effect = [UIBlurEffect effectWithStyle:style]; 19 | self.effect = effect; 20 | } 21 | 22 | - (NSNumber *)lks_blurEffectStyleNumber { 23 | UIVisualEffect *effect = self.effect; 24 | if (![effect isKindOfClass:[UIBlurEffect class]]) { 25 | return nil; 26 | } 27 | UIBlurEffect *blurEffect = (UIBlurEffect *)effect; 28 | return blurEffect.lks_effectStyleNumber; 29 | } 30 | 31 | @end 32 | 33 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 34 | -------------------------------------------------------------------------------- /CLPlayer.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | 3 | s.name = 'CLPlayer' 4 | s.version = '2.0.8' 5 | s.summary = 'Swift版自定义AVPlayer' 6 | s.description = <<-DESC 7 | CLPlayer是基于系统AVPlayer封装的视频播放器. 8 | * 支持Autolayout、UIStackView、Frame. 9 | * 支持UITableView、UICollectionView. 10 | * 支持亮度、音量调节. 11 | * 支持进度调节. 12 | * 支持倍数播放. 13 | DESC 14 | s.homepage = 'https://github.com/JmoVxia/CLPlayer' 15 | s.license = { :type => 'MIT', :file => 'LICENSE' } 16 | s.authors = {'JmoVxia' => 'JmoVxia@gmail.com'} 17 | s.social_media_url = 'https://github.com/JmoVxia' 18 | s.swift_versions = ['5.0'] 19 | s.ios.deployment_target = '12.0' 20 | s.source = {:git => 'https://github.com/JmoVxia/CLPlayer.git', :tag => s.version} 21 | s.source_files = ['CLPlayer/**/*.swift'] 22 | s.resource = 'CLPlayer/CLPlayer.bundle' 23 | s.requires_arc = true 24 | s.frameworks = 'UIKit','MediaPlayer' 25 | s.dependency 'SnapKit' 26 | 27 | end -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Connection/RequestHandler/LKS_HierarchyDetailsHandler.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LKS_HierarchyDetailsHandler.h 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/6/20. 8 | // https://lookin.work 9 | // 10 | 11 | #import 12 | 13 | @class LookinDisplayItemDetail, LookinStaticAsyncUpdateTasksPackage; 14 | 15 | typedef void (^LKS_HierarchyDetailsHandler_ProgressBlock)(NSArray *details); 16 | typedef void (^LKS_HierarchyDetailsHandler_FinishBlock)(void); 17 | 18 | @interface LKS_HierarchyDetailsHandler : NSObject 19 | 20 | /// packages 会按照 idx 从小到大的顺序被执行 21 | /// 全部任务完成时,finishBlock 会被调用 22 | /// 如果调用了 cancel,则 finishBlock 不会被执行 23 | - (void)startWithPackages:(NSArray *)packages block:(LKS_HierarchyDetailsHandler_ProgressBlock)progressBlock finishedBlock:(LKS_HierarchyDetailsHandler_FinishBlock)finishBlock; 24 | 25 | /// 取消所有任务 26 | - (void)cancel; 27 | 28 | @end 29 | 30 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 31 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/LookinCustomAttrModification.m: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | // 3 | // LookinCustomAttrModification.m 4 | // LookinShared 5 | // 6 | // Created by likaimacbookhome on 2023/11/4. 7 | // 8 | 9 | #import "LookinCustomAttrModification.h" 10 | 11 | @implementation LookinCustomAttrModification 12 | 13 | - (void)encodeWithCoder:(NSCoder *)aCoder { 14 | [aCoder encodeInteger:self.attrType forKey:@"attrType"]; 15 | [aCoder encodeObject:self.value forKey:@"value"]; 16 | [aCoder encodeObject:self.customSetterID forKey:@"customSetterID"]; 17 | } 18 | 19 | - (instancetype)initWithCoder:(NSCoder *)aDecoder { 20 | if (self = [super init]) { 21 | self.attrType = [aDecoder decodeIntegerForKey:@"attrType"]; 22 | self.value = [aDecoder decodeObjectForKey:@"value"]; 23 | self.customSetterID = [aDecoder decodeObjectForKey:@"customSetterID"]; 24 | } 25 | return self; 26 | } 27 | 28 | + (BOOL)supportsSecureCoding { 29 | return YES; 30 | } 31 | 32 | @end 33 | 34 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 35 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/LookinAttributesSection.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LookinAttributesSection.h 5 | // Lookin 6 | // 7 | // Created by Li Kai on 2019/3/2. 8 | // https://lookin.work 9 | // 10 | 11 | 12 | 13 | #import 14 | #import "LookinAttrIdentifiers.h" 15 | 16 | @class LookinAttribute; 17 | 18 | typedef NS_ENUM (NSInteger, LookinAttributesSectionStyle) { 19 | LookinAttributesSectionStyleDefault, // 每个 attr 独占一行 20 | LookinAttributesSectionStyle0, // frame 等卡片使用,前 4 个 attr 每行两个,之后每个 attr 在同一排,每个宽度为 1/4 21 | LookinAttributesSectionStyle1, // 第一个 attr 在第一排靠左,第二个 attr 在第一排靠右,之后的 attr 每个独占一行 22 | LookinAttributesSectionStyle2 // 第一排独占一行,剩下的在同一行且均分宽度 23 | }; 24 | 25 | @interface LookinAttributesSection : NSObject 26 | 27 | @property(nonatomic, copy) LookinAttrSectionIdentifier identifier; 28 | 29 | @property(nonatomic, copy) NSArray *attributes; 30 | 31 | - (BOOL)isUserCustom; 32 | 33 | @end 34 | 35 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 36 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/LookinConnectionResponseAttachment.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LookinConnectionResponse.h 5 | // Lookin 6 | // 7 | // Created by Li Kai on 2019/1/15. 8 | // https://lookin.work 9 | // 10 | 11 | 12 | 13 | #import 14 | #import "LookinConnectionAttachment.h" 15 | 16 | @interface LookinConnectionResponseAttachment : LookinConnectionAttachment 17 | 18 | + (instancetype)attachmentWithError:(NSError *)error; 19 | 20 | @property(nonatomic, assign) int lookinServerVersion; 21 | 22 | @property(nonatomic, strong) NSError *error; 23 | 24 | /// 如果为 YES,则表示 app 正处于后台模式,默认为 NO 25 | @property(nonatomic, assign) BOOL appIsInBackground; 26 | 27 | /** 28 | dataTotalCount 为 0 时表示仅有这一个 response,默认为 0 29 | dataTotalCount 大于 0 时表示可能有多个 response,当所有 response 的 currentDataCount 的总和大于 dataTotalCount 即表示所有 response 已接收完毕 30 | */ 31 | @property(nonatomic, assign) NSUInteger dataTotalCount; 32 | @property(nonatomic, assign) NSUInteger currentDataCount; 33 | 34 | @end 35 | 36 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 37 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2016 JmoVxia 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Pods/LookinServer/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) [2023] [LI KAI] 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/Category/NSString+Lookin.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // NSString+Lookin.h 5 | // Lookin 6 | // 7 | // Created by Li Kai on 2019/5/11. 8 | // https://lookin.work 9 | // 10 | 11 | #import "LookinDefines.h" 12 | 13 | 14 | 15 | #import 16 | 17 | @interface NSString (Lookin) 18 | 19 | /** 20 | 把 CGFloat 转成字符串,最多保留 3 位小数,转换后末尾的 0 会被删除 21 | 如:1.2341 => @"1.234", 2.1002 => @"2.1", 3.000 => @"3" 22 | */ 23 | + (NSString *)lookin_stringFromDouble:(double)doubleValue decimal:(NSUInteger)decimal; 24 | 25 | + (NSString *)lookin_stringFromRect:(CGRect)rect; 26 | 27 | + (NSString *)lookin_stringFromInset:(LookinInsets)insets; 28 | 29 | + (NSString *)lookin_stringFromSize:(CGSize)size; 30 | 31 | + (NSString *)lookin_stringFromPoint:(CGPoint)point; 32 | 33 | + (NSString *)lookin_rgbaStringFromColor:(LookinColor *)color; 34 | 35 | - (NSString *)lookin_safeInitWithUTF8String:(const char *)string; 36 | 37 | /// 把 1.2.3 这种 String 版本号转换成数字,可用于大小比较,如 110205 代表 11.2.5 版本 38 | - (NSInteger)lookin_numbericOSVersion; 39 | 40 | @end 41 | 42 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 43 | -------------------------------------------------------------------------------- /Pods/SwiftFormat/LICENSE.md: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2016 Nick Lockwood 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Pods/SnapKit/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011-Present SnapKit Team - https://github.com/SnapKit 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /CLPlayer/CLPlayerContentView/CLPlayerContentViewDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CLPlayerContentViewDelegate.swift 3 | // CLPlayer 4 | // 5 | // Created by Chen JmoVxia on 2021/10/28. 6 | // 7 | 8 | import AVFoundation 9 | import Foundation 10 | import UIKit 11 | 12 | protocol CLPlayerContentViewDelegate: AnyObject { 13 | func didClickFailButton(in contentView: CLPlayerContentView) 14 | 15 | func didClickBackButton(in contentView: CLPlayerContentView) 16 | 17 | func contentView(_ contentView: CLPlayerContentView, didClickPlayButton isPlay: Bool) 18 | 19 | func contentView(_ contentView: CLPlayerContentView, didClickFullButton isFull: Bool) 20 | 21 | func contentView(_ contentView: CLPlayerContentView, didChangeRate rate: Float) 22 | 23 | func contentView(_ contentView: CLPlayerContentView, didChangeVideoGravity videoGravity: AVLayerVideoGravity) 24 | 25 | func contentView(_ contentView: CLPlayerContentView, sliderTouchBegan slider: CLSlider) 26 | 27 | func contentView(_ contentView: CLPlayerContentView, sliderValueChanged slider: CLSlider) 28 | 29 | func contentView(_ contentView: CLPlayerContentView, sliderTouchEnded slider: CLSlider) 30 | } 31 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Base/LookinIvarTrace.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LookinIvarTrace.h 5 | // Lookin 6 | // 7 | // Created by Li Kai on 2019/4/30. 8 | // https://lookin.work 9 | // 10 | 11 | #import 12 | 13 | extern NSString *const LookinIvarTraceRelationValue_Self; 14 | 15 | /// 如果 hostClassName 和 ivarName 均 equal,则认为两个 LookinIvarTrace 对象彼此 equal 16 | /// 比如 A 是 B 的 superview,且 A 的 "_stageView" 指向 B,则 B 会有一个 LookinIvarTrace:hostType 为 “superview”,hostClassName 为 A 的 class,ivarName 为 “_stageView” 17 | @interface LookinIvarTrace : NSObject 18 | 19 | /// 该值可能是 "superview"、"superlayer"、“self” 或 nil 20 | @property(nonatomic, copy) NSString *relation; 21 | 22 | @property(nonatomic, copy) NSString *hostClassName; 23 | 24 | @property(nonatomic, copy) NSString *ivarName; 25 | 26 | #pragma mark - No Coding 27 | 28 | #if TARGET_OS_IPHONE 29 | @property(nonatomic, weak) id hostObject; 30 | #endif 31 | 32 | @end 33 | 34 | @interface NSObject (LookinServerTrace) 35 | 36 | @property(nonatomic, copy) NSArray *lks_ivarTraces; 37 | 38 | @end 39 | 40 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 41 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/Category/Color+Lookin.m: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // Color+Lookin.m 5 | // LookinShared 6 | // 7 | // Created by 李凯 on 2022/4/2. 8 | // 9 | 10 | #import "Image+Lookin.h" 11 | 12 | #if TARGET_OS_IPHONE 13 | 14 | #elif TARGET_OS_MAC 15 | 16 | @implementation NSColor (Lookin) 17 | 18 | + (instancetype)lookin_colorFromRGBAComponents:(NSArray *)components { 19 | if (!components) { 20 | return nil; 21 | } 22 | if (components.count != 4) { 23 | NSAssert(NO, @""); 24 | return nil; 25 | } 26 | NSColor *color = [NSColor colorWithRed:components[0].doubleValue green:components[1].doubleValue blue:components[2].doubleValue alpha:components[3].doubleValue]; 27 | return color; 28 | } 29 | 30 | - (NSArray *)lookin_rgbaComponents { 31 | NSColor *rgbColor = [self colorUsingColorSpace:NSColorSpace.sRGBColorSpace]; 32 | CGFloat r, g, b, a; 33 | [rgbColor getRed:&r green:&g blue:&b alpha:&a]; 34 | NSArray *rgba = @[@(r), @(g), @(b), @(a)]; 35 | return rgba; 36 | } 37 | 38 | @end 39 | 40 | #endif 41 | 42 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 43 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Others/LKS_HierarchyDisplayItemsMaker.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LKS_HierarchyDisplayItemsMaker.h 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/2/19. 8 | // https://lookin.work 9 | // 10 | 11 | 12 | 13 | #import "LookinDefines.h" 14 | 15 | @class LookinDisplayItem; 16 | 17 | @interface LKS_HierarchyDisplayItemsMaker : NSObject 18 | 19 | /// @param hasScreenshots 是否包含 soloScreenshots 和 groupScreenshot 属性 20 | /// @param hasAttrList 是否包含 attributesGroupList 属性 21 | /// @param lowQuality screenshots 是否为低质量(当 hasScreenshots 为 NO 时,该属性无意义) 22 | /// @param readCustomInfo 是否读取 lookin_customDebugInfos,比如低版本的 Lookin 发请求时,就无需读取(因为 Lookin 解析不了、还可能出 Bug) 23 | /// @param saveCustomSetter 是否要读取并保存用户给 attribute 配置的 custom setter 24 | + (NSArray *)itemsWithScreenshots:(BOOL)hasScreenshots attrList:(BOOL)hasAttrList lowImageQuality:(BOOL)lowQuality readCustomInfo:(BOOL)readCustomInfo saveCustomSetter:(BOOL)saveCustomSetter; 25 | 26 | /// 把 layer 的 sublayers 转换为 displayItem 数组并返回 27 | + (NSArray *)subitemsOfLayer:(CALayer *)layer; 28 | 29 | @end 30 | 31 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 32 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/LookinObject.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LookinObject.h 5 | // Lookin 6 | // 7 | // Created by Li Kai on 2019/4/20. 8 | // https://lookin.work 9 | // 10 | 11 | 12 | 13 | #import 14 | 15 | @class LookinObjectIvar, LookinIvarTrace; 16 | 17 | @interface LookinObject : NSObject 18 | 19 | #if TARGET_OS_IPHONE 20 | + (instancetype)instanceWithObject:(NSObject *)object; 21 | #endif 22 | 23 | @property(nonatomic, assign) unsigned long oid; 24 | 25 | @property(nonatomic, copy) NSString *memoryAddress; 26 | 27 | /** 28 | 比如有一个 UILabel 对象,则它的 classChainList 为 @[@"UILabel", @"UIView", @"UIResponder", @"NSObject"],而它的 ivarList 长度为 4,idx 从小到大分别是 UILabel 层级的 ivars, UIView 层级的 ivars..... 29 | */ 30 | @property(nonatomic, copy) NSArray *classChainList; 31 | 32 | @property(nonatomic, copy) NSString *specialTrace; 33 | 34 | @property(nonatomic, copy) NSArray *ivarTraces; 35 | 36 | /// 没有 demangle,会包含 Swift Module Name 37 | /// 在 Lookin 的展示中,绝大多数情况下应该使用 lk_demangledSwiftName 38 | - (NSString *)rawClassName; 39 | 40 | @end 41 | 42 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 43 | -------------------------------------------------------------------------------- /Pods/Pods.xcodeproj/xcuserdata/caigetuxun.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | LookinServer.xcscheme 8 | 9 | isShown 10 | 11 | orderHint 12 | 0 13 | 14 | Pods-CLPlayer.xcscheme 15 | 16 | isShown 17 | 18 | orderHint 19 | 1 20 | 21 | SnapKit-SnapKit_Privacy.xcscheme 22 | 23 | isShown 24 | 25 | orderHint 26 | 3 27 | 28 | SnapKit.xcscheme 29 | 30 | isShown 31 | 32 | orderHint 33 | 2 34 | 35 | SwiftFormat.xcscheme 36 | 37 | isShown 38 | 39 | orderHint 40 | 4 41 | 42 | 43 | SuppressBuildableAutocreation 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /Pods/Target Support Files/LookinServer/LookinServer.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/LookinServer 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 $(inherited) SHOULD_COMPILE_LOOKIN_SERVER=1 $(inherited) LOOKIN_SERVER_SWIFT_ENABLED=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/LookinServer" "${PODS_ROOT}/Headers/Public" 5 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -suppress-warnings -import-underlying-module -Xcc -fmodule-map-file="${SRCROOT}/${MODULEMAP_FILE}" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 9 | PODS_ROOT = ${SRCROOT} 10 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/LookinServer 11 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 12 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 13 | SKIP_INSTALL = YES 14 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = $(inherited) SHOULD_COMPILE_LOOKIN_SERVER $(inherited) LOOKIN_SERVER_SWIFT_ENABLED 15 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 16 | -------------------------------------------------------------------------------- /Pods/Target Support Files/LookinServer/LookinServer.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/LookinServer 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 $(inherited) SHOULD_COMPILE_LOOKIN_SERVER=1 $(inherited) LOOKIN_SERVER_SWIFT_ENABLED=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/LookinServer" "${PODS_ROOT}/Headers/Public" 5 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -suppress-warnings -import-underlying-module -Xcc -fmodule-map-file="${SRCROOT}/${MODULEMAP_FILE}" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 9 | PODS_ROOT = ${SRCROOT} 10 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/LookinServer 11 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 12 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 13 | SKIP_INSTALL = YES 14 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = $(inherited) SHOULD_COMPILE_LOOKIN_SERVER $(inherited) LOOKIN_SERVER_SWIFT_ENABLED 15 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 16 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/LookinHierarchyInfo.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LookinDisplayInfo.h 5 | // WeRead 6 | // 7 | // Created by Li Kai on 2018/10/22. 8 | // Copyright © 2018年 tencent. All rights reserved. 9 | // 10 | 11 | 12 | 13 | #import "LookinDefines.h" 14 | #import "TargetConditionals.h" 15 | #if TARGET_OS_IPHONE 16 | #import 17 | #elif TARGET_OS_MAC 18 | #import 19 | #endif 20 | 21 | @class LookinDisplayItem, LookinAttributesGroup, LookinAppInfo; 22 | 23 | @interface LookinHierarchyInfo : NSObject 24 | 25 | #if TARGET_OS_IPHONE 26 | 27 | /// version 可能为 nil,此时说明 Client 版本号 < 1.0.4 28 | + (instancetype)staticInfoWithLookinVersion:(NSString *)version; 29 | 30 | + (instancetype)exportedInfo; 31 | 32 | #endif 33 | 34 | /// 这里其实就是顶端的那几个 UIWindow 35 | @property(nonatomic, copy) NSArray *displayItems; 36 | 37 | @property(nonatomic, copy) NSDictionary *colorAlias; 38 | 39 | @property(nonatomic, copy) NSArray *collapsedClassList; 40 | 41 | @property(nonatomic, strong) LookinAppInfo *appInfo; 42 | 43 | @property(nonatomic, assign) int serverVersion; 44 | 45 | @end 46 | 47 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 48 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Category/CALayer+LookinServer.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // UIView+LookinMobile.h 5 | // WeRead 6 | // 7 | // Created by Li Kai on 2018/11/30. 8 | // Copyright © 2018 tencent. All rights reserved. 9 | // 10 | 11 | #import "LookinDefines.h" 12 | #import "TargetConditionals.h" 13 | #import 14 | 15 | @interface CALayer (LookinServer) 16 | 17 | /// 如果 myView.layer == myLayer,则 myLayer.lks_hostView 会返回 myView 18 | @property(nonatomic, readonly, weak) UIView *lks_hostView; 19 | 20 | - (UIWindow *)lks_window; 21 | 22 | - (CGRect)lks_frameInWindow:(UIWindow *)window; 23 | 24 | - (UIImage *)lks_groupScreenshotWithLowQuality:(BOOL)lowQuality; 25 | /// 当没有 sublayers 时,该方法返回 nil 26 | - (UIImage *)lks_soloScreenshotWithLowQuality:(BOOL)lowQuality; 27 | 28 | /// 获取和该对象有关的对象的 Class 层级树 29 | - (NSArray *> *)lks_relatedClassChainList; 30 | 31 | - (NSArray *)lks_selfRelation; 32 | 33 | @property(nonatomic, strong) UIColor *lks_backgroundColor; 34 | @property(nonatomic, strong) UIColor *lks_borderColor; 35 | @property(nonatomic, strong) UIColor *lks_shadowColor; 36 | @property(nonatomic, assign) CGFloat lks_shadowOffsetWidth; 37 | @property(nonatomic, assign) CGFloat lks_shadowOffsetHeight; 38 | 39 | @end 40 | 41 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 42 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/LookinAttributesGroup.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LookinAttributesGroup.h 5 | // Lookin 6 | // 7 | // Created by Li Kai on 2018/11/19. 8 | // https://lookin.work 9 | // 10 | 11 | 12 | 13 | #import 14 | #import "LookinAttrIdentifiers.h" 15 | 16 | @class LookinAttributesSection; 17 | 18 | /** 19 | In Lookin, a LookinAttributesGroup instance will be rendered as a property card. 20 | 21 | When isUserCustom is false: two LookinAttributesGroup instances will be regard as equal when they has the same LookinAttrGroupIdentifier. 22 | When isUserCustom is true: two LookinAttributesGroup instances will be regard as equal when they has the same title. 23 | 当 isUserCustom 为 false 时:若两个 attrGroup 有相同的 LookinAttrGroupIdentifier,则 isEqual: 返回 YES 24 | */ 25 | @interface LookinAttributesGroup : NSObject 26 | 27 | /// 只有在 identifier 为 custom 时,才存在该值 28 | @property(nonatomic, copy) NSString *userCustomTitle; 29 | 30 | @property(nonatomic, copy) LookinAttrGroupIdentifier identifier; 31 | 32 | @property(nonatomic, copy) NSArray *attrSections; 33 | 34 | /// 如果是 custom 则返回 userCustomTitle,如果不是 custom 则返回 identifier 35 | - (NSString *)uniqueKey; 36 | 37 | - (BOOL)isUserCustom; 38 | 39 | @end 40 | 41 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 42 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/LookinConnectionAttachment.m: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LookinConnectionAttachment.m 5 | // Lookin 6 | // 7 | // Created by Li Kai on 2019/2/15. 8 | // https://lookin.work 9 | // 10 | 11 | 12 | 13 | #import "LookinConnectionAttachment.h" 14 | #import "LookinDefines.h" 15 | #import "NSObject+Lookin.h" 16 | 17 | static NSString * const Key_Data = @"0"; 18 | static NSString * const Key_DataType = @"1"; 19 | 20 | @interface LookinConnectionAttachment () 21 | 22 | @end 23 | 24 | @implementation LookinConnectionAttachment 25 | 26 | - (instancetype)init { 27 | if (self = [super init]) { 28 | } 29 | return self; 30 | } 31 | 32 | - (void)encodeWithCoder:(NSCoder *)aCoder { 33 | 34 | [aCoder encodeObject:[self.data lookin_encodedObjectWithType:self.dataType] forKey:Key_Data]; 35 | [aCoder encodeInteger:self.dataType forKey:Key_DataType]; 36 | } 37 | 38 | - (instancetype)initWithCoder:(NSCoder *)aDecoder { 39 | if (self = [super init]) { 40 | self.dataType = [aDecoder decodeIntegerForKey:Key_DataType]; 41 | self.data = [[aDecoder decodeObjectForKey:Key_Data] lookin_decodedObjectWithType:self.dataType]; 42 | } 43 | return self; 44 | } 45 | 46 | + (BOOL)supportsSecureCoding { 47 | return YES; 48 | } 49 | 50 | @end 51 | 52 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 53 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-CLPlayer/Pods-CLPlayer.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/LookinServer" 5 | LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit" "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift $(SDKROOT)/usr/lib/swift 6 | OTHER_CFLAGS = $(inherited) -fmodule-map-file="${PODS_CONFIGURATION_BUILD_DIR}/SnapKit/SnapKit.modulemap" 7 | OTHER_LDFLAGS = $(inherited) -ObjC -l"SnapKit" -l"swiftCoreGraphics" 8 | OTHER_MODULE_VERIFIER_FLAGS = $(inherited) "-F${PODS_CONFIGURATION_BUILD_DIR}/SnapKit" "-F${PODS_CONFIGURATION_BUILD_DIR}/SwiftFormat" 9 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -Xcc -fmodule-map-file="${PODS_CONFIGURATION_BUILD_DIR}/SnapKit/SnapKit.modulemap" 10 | PODS_BUILD_DIR = ${BUILD_DIR} 11 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 12 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 13 | PODS_ROOT = ${SRCROOT}/Pods 14 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 15 | SWIFT_INCLUDE_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftFormat" 16 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 17 | -------------------------------------------------------------------------------- /CLCollectionViewController/View/CLCollectionViewCell.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CLCollectionViewCell.swift 3 | // CLPlayer 4 | // 5 | // Created by Chen JmoVxia on 2021/12/16. 6 | // 7 | 8 | import UIKit 9 | 10 | class CLCollectionViewCell: UICollectionViewCell { 11 | override init(frame: CGRect) { 12 | super.init(frame: frame) 13 | initUI() 14 | makeConstraints() 15 | } 16 | 17 | @available(*, unavailable) 18 | required init?(coder _: NSCoder) { 19 | fatalError("init(coder:) has not been implemented") 20 | } 21 | 22 | private lazy var iconImageView: UIImageView = { 23 | let view = UIImageView() 24 | view.image = UIImage(named: "placeholder") 25 | return view 26 | }() 27 | 28 | private lazy var playImageView: UIImageView = { 29 | let view = UIImageView() 30 | view.image = UIImage(named: "play") 31 | return view 32 | }() 33 | } 34 | 35 | // MARK: - JmoVxia---布局 36 | 37 | private extension CLCollectionViewCell { 38 | func initUI() { 39 | contentView.addSubview(iconImageView) 40 | iconImageView.addSubview(playImageView) 41 | } 42 | 43 | func makeConstraints() { 44 | iconImageView.snp.makeConstraints { make in 45 | make.edges.equalToSuperview() 46 | } 47 | playImageView.snp.makeConstraints { make in 48 | make.center.equalToSuperview() 49 | } 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/LookinAttributeModification.m: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LookinAttributeModification.m 5 | // Lookin 6 | // 7 | // Created by Li Kai on 2018/11/20. 8 | // https://lookin.work 9 | // 10 | 11 | #import "LookinAttributeModification.h" 12 | 13 | @implementation LookinAttributeModification 14 | 15 | - (void)encodeWithCoder:(NSCoder *)aCoder { 16 | [aCoder encodeObject:@(self.targetOid) forKey:@"targetOid"]; 17 | [aCoder encodeObject:NSStringFromSelector(self.setterSelector) forKey:@"setterSelector"]; 18 | [aCoder encodeInteger:self.attrType forKey:@"attrType"]; 19 | [aCoder encodeObject:self.value forKey:@"value"]; 20 | [aCoder encodeObject:self.clientReadableVersion forKey:@"clientReadableVersion"]; 21 | } 22 | 23 | - (instancetype)initWithCoder:(NSCoder *)aDecoder { 24 | if (self = [super init]) { 25 | self.targetOid = [[aDecoder decodeObjectForKey:@"targetOid"] unsignedLongValue]; 26 | self.setterSelector = NSSelectorFromString([aDecoder decodeObjectForKey:@"setterSelector"]); 27 | self.attrType = [aDecoder decodeIntegerForKey:@"attrType"]; 28 | self.value = [aDecoder decodeObjectForKey:@"value"]; 29 | self.clientReadableVersion = [aDecoder decodeObjectForKey:@"clientReadableVersion"]; 30 | } 31 | return self; 32 | } 33 | 34 | + (BOOL)supportsSecureCoding { 35 | return YES; 36 | } 37 | 38 | @end 39 | 40 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 41 | -------------------------------------------------------------------------------- /CLPlayer/CLPlayerContentView/CLPlayerContentPanelHeadView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CLPlayerContentPanelHeadView.swift 3 | // CLPlayer 4 | // 5 | // Created by Chen JmoVxia on 2021/12/13. 6 | // 7 | 8 | import SnapKit 9 | import UIKit 10 | 11 | class CLPlayerContentPanelHeadView: UICollectionReusableView { 12 | override init(frame: CGRect) { 13 | super.init(frame: frame) 14 | initSubViews() 15 | makeConstraints() 16 | } 17 | 18 | @available(*, unavailable) 19 | required init?(coder _: NSCoder) { 20 | fatalError("init(coder:) has not been implemented") 21 | } 22 | 23 | private lazy var titleLabel: UILabel = { 24 | let view = UILabel() 25 | view.textAlignment = .left 26 | view.font = .systemFont(ofSize: 14) 27 | view.textColor = .white.withAlphaComponent(0.6) 28 | view.adjustsFontSizeToFitWidth = true 29 | return view 30 | }() 31 | 32 | var title: String? { 33 | didSet { 34 | guard title != oldValue else { return } 35 | titleLabel.text = title 36 | } 37 | } 38 | } 39 | 40 | private extension CLPlayerContentPanelHeadView { 41 | func initSubViews() { 42 | addSubview(titleLabel) 43 | } 44 | 45 | func makeConstraints() { 46 | titleLabel.snp.makeConstraints { make in 47 | make.top.equalTo(10) 48 | make.left.equalTo(15) 49 | make.right.equalTo(-15) 50 | make.bottom.equalTo(-10) 51 | } 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/LookinEventHandler.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LookinEventHandler.h 5 | // Lookin 6 | // 7 | // Created by Li Kai on 2019/8/7. 8 | // https://lookin.work 9 | // 10 | 11 | 12 | 13 | #import 14 | 15 | @class LookinObject, LookinIvarTrace, LookinStringTwoTuple; 16 | 17 | typedef NS_ENUM(NSInteger, LookinEventHandlerType) { 18 | LookinEventHandlerTypeTargetAction, 19 | LookinEventHandlerTypeGesture 20 | }; 21 | 22 | @interface LookinEventHandler : NSObject 23 | 24 | @property(nonatomic, assign) LookinEventHandlerType handlerType; 25 | 26 | /// 比如 "UIControlEventTouchUpInside", "UITapGestureRecognizer" 27 | @property(nonatomic, copy) NSString *eventName; 28 | /// tuple.first => @"",tuple.second => @"handleTap" 29 | @property(nonatomic, copy) NSArray *targetActions; 30 | 31 | /// 返回当前 recognizer 是继承自哪一个基本款 recognizer。 32 | /// 基本款 recognizer 指的是 TapRecognizer, PinchRecognizer 之类的常见 recognizer 33 | /// 如果当前 recognizer 本身就是基本款 recognizer,则该属性为 nil 34 | @property(nonatomic, copy) NSString *inheritedRecognizerName; 35 | @property(nonatomic, assign) BOOL gestureRecognizerIsEnabled; 36 | @property(nonatomic, copy) NSString *gestureRecognizerDelegator; 37 | @property(nonatomic, copy) NSArray *recognizerIvarTraces; 38 | /// recognizer 对象 39 | @property(nonatomic, assign) unsigned long long recognizerOid; 40 | 41 | @end 42 | 43 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 44 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/LookinAttrType.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LookinAttrIdentifiers.h 5 | // Lookin 6 | // 7 | // Created by Li Kai on 2018/12/1. 8 | // https://lookin.work 9 | // 10 | 11 | /// 注意:新属性只能加到末尾,否则新旧版本搭配时可能有兼容问题 12 | typedef NS_ENUM(NSInteger, LookinAttrType) { 13 | LookinAttrTypeNone, 14 | LookinAttrTypeVoid, 15 | LookinAttrTypeChar, 16 | LookinAttrTypeInt, 17 | LookinAttrTypeShort, 18 | LookinAttrTypeLong, 19 | LookinAttrTypeLongLong, 20 | LookinAttrTypeUnsignedChar, 21 | LookinAttrTypeUnsignedInt, 22 | LookinAttrTypeUnsignedShort, 23 | LookinAttrTypeUnsignedLong, 24 | LookinAttrTypeUnsignedLongLong, 25 | LookinAttrTypeFloat, 26 | LookinAttrTypeDouble, 27 | LookinAttrTypeBOOL, 28 | LookinAttrTypeSel, 29 | LookinAttrTypeClass, 30 | LookinAttrTypeCGPoint, 31 | LookinAttrTypeCGVector, 32 | LookinAttrTypeCGSize, 33 | LookinAttrTypeCGRect, 34 | LookinAttrTypeCGAffineTransform, 35 | LookinAttrTypeUIEdgeInsets, 36 | LookinAttrTypeUIOffset, 37 | LookinAttrTypeNSString, 38 | LookinAttrTypeEnumInt, 39 | LookinAttrTypeEnumLong, 40 | /// value 实际为 RGBA 数组,即 @[NSNumber, NSNumber, NSNumber, NSNumber],NSNumber 范围是 0 ~ 1 41 | LookinAttrTypeUIColor, 42 | /// 业务需要根据具体的 AttrIdentifier 来解析 43 | LookinAttrTypeCustomObj, 44 | 45 | LookinAttrTypeEnumString, 46 | LookinAttrTypeShadow, 47 | LookinAttrTypeJson 48 | }; 49 | 50 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 51 | -------------------------------------------------------------------------------- /Pods/SnapKit/Sources/ConstraintView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SnapKit 3 | // 4 | // Copyright (c) 2011-Present SnapKit Team - https://github.com/SnapKit 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | 24 | #if canImport(UIKit) 25 | import UIKit 26 | #else 27 | import AppKit 28 | #endif 29 | 30 | 31 | #if canImport(UIKit) 32 | public typealias ConstraintView = UIView 33 | #else 34 | public typealias ConstraintView = NSView 35 | #endif 36 | -------------------------------------------------------------------------------- /Pods/SnapKit/Sources/ConstraintInsets.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SnapKit 3 | // 4 | // Copyright (c) 2011-Present SnapKit Team - https://github.com/SnapKit 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | 24 | #if canImport(UIKit) 25 | import UIKit 26 | #else 27 | import AppKit 28 | #endif 29 | 30 | 31 | #if canImport(UIKit) 32 | public typealias ConstraintInsets = UIEdgeInsets 33 | #else 34 | public typealias ConstraintInsets = NSEdgeInsets 35 | #endif 36 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Others/LKS_ObjectRegistry.m: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LKS_ObjectRegistry.m 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/4/21. 8 | // https://lookin.work 9 | // 10 | 11 | #import "LKS_ObjectRegistry.h" 12 | #import 13 | 14 | @interface LKS_ObjectRegistry () 15 | 16 | @property(nonatomic, strong) NSPointerArray *data; 17 | 18 | @end 19 | 20 | @implementation LKS_ObjectRegistry 21 | 22 | + (instancetype)sharedInstance { 23 | static dispatch_once_t onceToken; 24 | static LKS_ObjectRegistry *instance = nil; 25 | dispatch_once(&onceToken,^{ 26 | instance = [[super allocWithZone:NULL] init]; 27 | }); 28 | return instance; 29 | } 30 | 31 | + (id)allocWithZone:(struct _NSZone *)zone{ 32 | return [self sharedInstance]; 33 | } 34 | 35 | - (instancetype)init { 36 | if (self = [super init]) { 37 | self.data = [NSPointerArray weakObjectsPointerArray]; 38 | // index 为 0 用 Null 填充 39 | self.data.count = 1; 40 | } 41 | return self; 42 | } 43 | 44 | - (unsigned long)addObject:(NSObject *)object { 45 | if (!object) { 46 | return 0; 47 | } 48 | [self.data addPointer:(void *)object]; 49 | return self.data.count - 1; 50 | } 51 | 52 | - (NSObject *)objectWithOid:(unsigned long)oid { 53 | if (self.data.count <= oid) { 54 | return nil; 55 | } 56 | id object = [self.data pointerAtIndex:oid]; 57 | return object; 58 | } 59 | 60 | @end 61 | 62 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 63 | -------------------------------------------------------------------------------- /Pods/SnapKit/Sources/ConstraintDirectionalInsets.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SnapKit 3 | // 4 | // Copyright (c) 2011-Present SnapKit Team - https://github.com/SnapKit 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | 24 | #if canImport(UIKit) 25 | import UIKit 26 | #else 27 | import AppKit 28 | #endif 29 | 30 | 31 | #if canImport(UIKit) 32 | @available(iOS 11.0, tvOS 11.0, *) 33 | public typealias ConstraintDirectionalInsets = NSDirectionalEdgeInsets 34 | #endif 35 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/LookinAttribute.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LookinAttribute.h 5 | // qmuidemo 6 | // 7 | // Created by Li Kai on 2018/11/17. 8 | // Copyright © 2018 QMUI Team. All rights reserved. 9 | // 10 | 11 | #import "LookinAttrIdentifiers.h" 12 | #import "LookinCodingValueType.h" 13 | #import "LookinAttrType.h" 14 | 15 | @class LookinDisplayItem; 16 | 17 | @interface LookinAttribute : NSObject 18 | 19 | @property(nonatomic, copy) LookinAttrIdentifier identifier; 20 | 21 | /// 只有 Custom Attr 才有该属性 22 | @property(nonatomic, copy) NSString *displayTitle; 23 | 24 | /// 标识 value 的具体类型(如 double / NSString /...) 25 | @property(nonatomic, assign) LookinAttrType attrType; 26 | 27 | /// 具体的值,需配合 attrType 属性来解析它 28 | /// 对于 String、Color 等 attyType,该属性可能为 nil 29 | @property(nonatomic, strong) id value; 30 | 31 | /// 额外信息,大部分情况下它是 nil 32 | /// 当 attyType 为 LookinAttrTypeEnumString 时,extraValue 是一个 [String] 且保存了 allEnumCases 33 | @property(nonatomic, strong) id extraValue; 34 | 35 | /// 仅 Custom Attr 可能有该属性 36 | /// 对于有 retainedSetter 的 Custom Attr,它的 setter 会以 customSetterID 作为 key 被保存到 LKS_CustomAttrSetterManager 里,后续可以通过这个 uniqueID 重新把 setter 从 LKS_CustomAttrSetterManager 里取出来并调用 37 | @property(nonatomic, copy) NSString *customSetterID; 38 | 39 | #pragma mark - 以下属性不会参与 encode/decode 40 | 41 | /// 标识该 LookinAttribute 对象隶属于哪一个 LookinDisplayItem 42 | @property(nonatomic, weak) LookinDisplayItem *targetDisplayItem; 43 | 44 | - (BOOL)isUserCustom; 45 | 46 | @end 47 | 48 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 49 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/LookinAttributesSection.m: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LookinAttributesSection.m 5 | // Lookin 6 | // 7 | // Created by Li Kai on 2019/3/2. 8 | // https://lookin.work 9 | // 10 | 11 | 12 | 13 | #import "LookinAttributesSection.h" 14 | #import "LookinAttribute.h" 15 | 16 | #import "NSArray+Lookin.h" 17 | 18 | @implementation LookinAttributesSection 19 | 20 | #pragma mark - 21 | 22 | - (id)copyWithZone:(NSZone *)zone { 23 | LookinAttributesSection *newSection = [[LookinAttributesSection allocWithZone:zone] init]; 24 | newSection.identifier = self.identifier; 25 | newSection.attributes = [self.attributes lookin_map:^id(NSUInteger idx, LookinAttribute *value) { 26 | return value.copy; 27 | }]; 28 | return newSection; 29 | } 30 | 31 | #pragma mark - 32 | 33 | - (void)encodeWithCoder:(NSCoder *)aCoder { 34 | [aCoder encodeObject:self.identifier forKey:@"identifier"]; 35 | [aCoder encodeObject:self.attributes forKey:@"attributes"]; 36 | } 37 | 38 | - (instancetype)initWithCoder:(NSCoder *)aDecoder { 39 | if (self = [super init]) { 40 | self.identifier = [aDecoder decodeObjectForKey:@"identifier"]; 41 | self.attributes = [aDecoder decodeObjectForKey:@"attributes"]; 42 | } 43 | return self; 44 | } 45 | 46 | + (BOOL)supportsSecureCoding { 47 | return YES; 48 | } 49 | 50 | - (BOOL)isUserCustom { 51 | return [self.identifier isEqualToString:LookinAttrSec_UserCustom]; 52 | } 53 | 54 | @end 55 | 56 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 57 | -------------------------------------------------------------------------------- /Pods/SnapKit/Sources/ConstraintLayoutSupport.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SnapKit 3 | // 4 | // Copyright (c) 2011-Present SnapKit Team - https://github.com/SnapKit 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | 24 | #if canImport(UIKit) 25 | import UIKit 26 | #else 27 | import AppKit 28 | #endif 29 | 30 | 31 | #if canImport(UIKit) 32 | @available(iOS 8.0, *) 33 | public typealias ConstraintLayoutSupport = UILayoutSupport 34 | #else 35 | public class ConstraintLayoutSupport {} 36 | #endif 37 | -------------------------------------------------------------------------------- /Pods/SnapKit/Sources/UILayoutSupport+Extensions.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SnapKit 3 | // 4 | // Copyright (c) 2011-Present SnapKit Team - https://github.com/SnapKit 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | 24 | #if canImport(UIKit) 25 | import UIKit 26 | #endif 27 | 28 | 29 | @available(iOS 8.0, *) 30 | public extension ConstraintLayoutSupport { 31 | 32 | var snp: ConstraintLayoutSupportDSL { 33 | return ConstraintLayoutSupportDSL(support: self) 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /Pods/SnapKit/Sources/ConstraintLayoutGuide+Extensions.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SnapKit 3 | // 4 | // Copyright (c) 2011-Present SnapKit Team - https://github.com/SnapKit 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | 24 | #if canImport(UIKit) 25 | import UIKit 26 | #endif 27 | 28 | 29 | @available(iOS 9.0, OSX 10.11, *) 30 | public extension ConstraintLayoutGuide { 31 | 32 | var snp: ConstraintLayoutGuideDSL { 33 | return ConstraintLayoutGuideDSL(guide: self) 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Category/UIViewController+LookinServer.m: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // UIViewController+LookinServer.m 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/4/22. 8 | // https://lookin.work 9 | // 10 | 11 | #import "UIViewController+LookinServer.h" 12 | #import "UIView+LookinServer.h" 13 | #import 14 | #import "LKS_MultiplatformAdapter.h" 15 | 16 | @implementation UIViewController (LookinServer) 17 | 18 | + (nullable UIViewController *)lks_visibleViewController { 19 | 20 | UIViewController *rootViewController = [LKS_MultiplatformAdapter keyWindow].rootViewController; 21 | UIViewController *visibleViewController = [rootViewController lks_visibleViewControllerIfExist]; 22 | return visibleViewController; 23 | } 24 | 25 | - (UIViewController *)lks_visibleViewControllerIfExist { 26 | 27 | if (self.presentedViewController) { 28 | return [self.presentedViewController lks_visibleViewControllerIfExist]; 29 | } 30 | 31 | if ([self isKindOfClass:[UINavigationController class]]) { 32 | return [((UINavigationController *)self).visibleViewController lks_visibleViewControllerIfExist]; 33 | } 34 | 35 | if ([self isKindOfClass:[UITabBarController class]]) { 36 | return [((UITabBarController *)self).selectedViewController lks_visibleViewControllerIfExist]; 37 | } 38 | 39 | if (self.isViewLoaded && !self.view.hidden && self.view.alpha > 0.01) { 40 | return self; 41 | } else { 42 | return nil; 43 | } 44 | } 45 | 46 | @end 47 | 48 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 49 | -------------------------------------------------------------------------------- /Pods/SnapKit/Sources/ConstraintLayoutGuide.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SnapKit 3 | // 4 | // Copyright (c) 2011-Present SnapKit Team - https://github.com/SnapKit 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | 24 | #if canImport(UIKit) 25 | import UIKit 26 | #else 27 | import AppKit 28 | #endif 29 | 30 | 31 | #if canImport(UIKit) 32 | @available(iOS 9.0, *) 33 | public typealias ConstraintLayoutGuide = UILayoutGuide 34 | #else 35 | @available(OSX 10.11, *) 36 | public typealias ConstraintLayoutGuide = NSLayoutGuide 37 | #endif 38 | -------------------------------------------------------------------------------- /Resources/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "icon-20@2x-ipad.png", 5 | "idiom" : "iphone", 6 | "scale" : "2x", 7 | "size" : "20x20" 8 | }, 9 | { 10 | "filename" : "icon-20@3x.png", 11 | "idiom" : "iphone", 12 | "scale" : "3x", 13 | "size" : "20x20" 14 | }, 15 | { 16 | "filename" : "icon-29-ipad.png", 17 | "idiom" : "iphone", 18 | "scale" : "1x", 19 | "size" : "29x29" 20 | }, 21 | { 22 | "filename" : "icon-29@2x-ipad.png", 23 | "idiom" : "iphone", 24 | "scale" : "2x", 25 | "size" : "29x29" 26 | }, 27 | { 28 | "filename" : "icon-29@3x.png", 29 | "idiom" : "iphone", 30 | "scale" : "3x", 31 | "size" : "29x29" 32 | }, 33 | { 34 | "filename" : "icon-40@2x.png", 35 | "idiom" : "iphone", 36 | "scale" : "2x", 37 | "size" : "40x40" 38 | }, 39 | { 40 | "filename" : "icon-40@3x.png", 41 | "idiom" : "iphone", 42 | "scale" : "3x", 43 | "size" : "40x40" 44 | }, 45 | { 46 | "filename" : "icon-60@2x.png", 47 | "idiom" : "iphone", 48 | "scale" : "2x", 49 | "size" : "60x60" 50 | }, 51 | { 52 | "filename" : "icon-60@3x.png", 53 | "idiom" : "iphone", 54 | "scale" : "3x", 55 | "size" : "60x60" 56 | }, 57 | { 58 | "filename" : "icon-1024.png", 59 | "idiom" : "ios-marketing", 60 | "scale" : "1x", 61 | "size" : "1024x1024" 62 | } 63 | ], 64 | "info" : { 65 | "author" : "xcode", 66 | "version" : 1 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/LookinDisplayItemDetail.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LookinDisplayItemDetail.h 5 | // Lookin 6 | // 7 | // Created by Li Kai on 2019/2/19. 8 | // https://lookin.work 9 | // 10 | 11 | #import "LookinDefines.h" 12 | 13 | @class LookinAttributesGroup; 14 | @class LookinDisplayItem; 15 | 16 | @interface LookinDisplayItemDetail : NSObject 17 | 18 | @property(nonatomic, assign) unsigned long displayItemOid; 19 | 20 | @property(nonatomic, strong) LookinImage *groupScreenshot; 21 | 22 | @property(nonatomic, strong) LookinImage *soloScreenshot; 23 | 24 | @property(nonatomic, strong) NSValue *frameValue; 25 | 26 | @property(nonatomic, strong) NSValue *boundsValue; 27 | 28 | @property(nonatomic, strong) NSNumber *hiddenValue; 29 | 30 | @property(nonatomic, strong) NSNumber *alphaValue; 31 | 32 | @property(nonatomic, copy) NSString *customDisplayTitle; 33 | 34 | @property(nonatomic, copy) NSString *danceUISource; 35 | 36 | @property(nonatomic, copy) NSArray *attributesGroupList; 37 | @property(nonatomic, copy) NSArray *customAttrGroupList; 38 | 39 | /// 注意 nil 和空数组的区别:nil 表示该属性无意义,空数组表示 subviews 为空 40 | /// Client 1.0.7 & Server 1.2.7 开始支持该属性 41 | /// 默认为 nil 42 | @property(nonatomic, copy) NSArray *subitems; 43 | 44 | /// 当 Server 找不到 task 对应的图层时,会返回一个特殊的 LookinDisplayItemDetail 对象,这个对象会被设置 displayItemOid 和 failureCode,其中 failureCode 会被置为 -1 45 | /// Client 1.0.7 & Server 1.2.7 开始支持该属性 46 | /// 默认为 0 47 | @property(nonatomic, assign) NSInteger failureCode; 48 | 49 | @end 50 | 51 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 52 | -------------------------------------------------------------------------------- /CLPlayer/CLPlayerContentView/CLPlayerContentPanelCell.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CLPlayerContentPanelCell.swift 3 | // CLPlayer 4 | // 5 | // Created by Chen JmoVxia on 2021/12/13. 6 | // 7 | 8 | import SnapKit 9 | import UIKit 10 | 11 | class CLPlayerContentPanelCell: UICollectionViewCell { 12 | override init(frame: CGRect) { 13 | super.init(frame: frame) 14 | initSubViews() 15 | makeConstraints() 16 | } 17 | 18 | @available(*, unavailable) 19 | required init?(coder _: NSCoder) { 20 | fatalError("init(coder:) has not been implemented") 21 | } 22 | 23 | private lazy var titleLabel: UILabel = { 24 | let view = UILabel() 25 | view.textAlignment = .left 26 | view.font = .systemFont(ofSize: 14) 27 | view.textColor = .white 28 | view.adjustsFontSizeToFitWidth = true 29 | return view 30 | }() 31 | 32 | var title: String? { 33 | didSet { 34 | guard title != oldValue else { return } 35 | titleLabel.text = title 36 | } 37 | } 38 | 39 | var isCurrent: Bool = false { 40 | didSet { 41 | guard isCurrent != oldValue else { return } 42 | titleLabel.textColor = isCurrent ? .orange : .white 43 | } 44 | } 45 | } 46 | 47 | private extension CLPlayerContentPanelCell { 48 | func initSubViews() { 49 | contentView.addSubview(titleLabel) 50 | } 51 | 52 | func makeConstraints() { 53 | titleLabel.snp.makeConstraints { make in 54 | make.top.equalTo(10) 55 | make.left.equalTo(15) 56 | make.right.equalTo(-15) 57 | make.bottom.equalTo(-10) 58 | } 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Category/UIView+LookinServer.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // UIView+LookinServer.h 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/3/19. 8 | // https://lookin.work 9 | // 10 | 11 | #import "LookinDefines.h" 12 | #import 13 | 14 | @interface UIView (LookinServer) 15 | 16 | /// 如果 myViewController.view = myView,则可以通过 myView 的 lks_findHostViewController 方法找到 myViewController 17 | - (UIViewController *)lks_findHostViewController; 18 | 19 | /// 是否是 UITabBar 的 childrenView,如果是的话,则截图时需要强制使用 renderInContext: 的方式而非 drawViewHierarchyInRect:afterScreenUpdates: 否则在 iOS 13 上获取到的图像是空的不知道为什么 20 | @property(nonatomic, assign) BOOL lks_isChildrenViewOfTabBar; 21 | 22 | /// point 是相对于 receiver 自身的坐标系 23 | - (UIView *)lks_subviewAtPoint:(CGPoint)point preferredClasses:(NSArray *)preferredClasses; 24 | 25 | - (CGFloat)lks_bestWidth; 26 | - (CGFloat)lks_bestHeight; 27 | - (CGSize)lks_bestSize; 28 | 29 | @property(nonatomic, assign) float lks_horizontalContentHuggingPriority; 30 | @property(nonatomic, assign) float lks_verticalContentHuggingPriority; 31 | 32 | @property(nonatomic, assign) float lks_horizontalContentCompressionResistancePriority; 33 | @property(nonatomic, assign) float lks_verticalContentCompressionResistancePriority; 34 | 35 | /// 遍历全局的 view 并给他们设置 lks_involvedRawConstraints 属性 36 | + (void)lks_rebuildGlobalInvolvedRawConstraints; 37 | /// 该属性保存了牵扯到当前 view 的所有 constraints,包括那些没有生效的 38 | @property(nonatomic, strong) NSMutableArray *lks_involvedRawConstraints; 39 | 40 | - (NSArray *> *)lks_constraints; 41 | 42 | @end 43 | 44 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 45 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Category/UIBlurEffect+LookinServer.m: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // UIBlurEffect+LookinServer.m 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/10/8. 8 | // https://lookin.work 9 | // 10 | 11 | #import "UIBlurEffect+LookinServer.h" 12 | #import "NSObject+Lookin.h" 13 | #import 14 | 15 | @implementation UIBlurEffect (LookinServer) 16 | 17 | #ifdef LOOKIN_SERVER_DISABLE_HOOK 18 | 19 | - (void)setLks_effectStyleNumber:(NSNumber *)lks_effectStyleNumber { 20 | } 21 | 22 | - (NSNumber *)lks_effectStyleNumber { 23 | return nil; 24 | } 25 | 26 | #else 27 | 28 | + (void)load { 29 | static dispatch_once_t onceToken; 30 | dispatch_once(&onceToken, ^{ 31 | Method oriMethod = class_getClassMethod([self class], @selector(effectWithStyle:)); 32 | Method newMethod = class_getClassMethod([self class], @selector(lks_effectWithStyle:)); 33 | method_exchangeImplementations(oriMethod, newMethod); 34 | }); 35 | } 36 | 37 | + (UIBlurEffect *)lks_effectWithStyle:(UIBlurEffectStyle)style { 38 | id effect = [self lks_effectWithStyle:style]; 39 | if ([effect respondsToSelector:@selector(setLks_effectStyleNumber:)]) { 40 | [effect setLks_effectStyleNumber:@(style)]; 41 | } 42 | return effect; 43 | } 44 | 45 | - (void)setLks_effectStyleNumber:(NSNumber *)lks_effectStyleNumber { 46 | [self lookin_bindObject:lks_effectStyleNumber forKey:@"lks_effectStyleNumber"]; 47 | } 48 | 49 | - (NSNumber *)lks_effectStyleNumber { 50 | return [self lookin_getBindObjectForKey:@"lks_effectStyleNumber"]; 51 | } 52 | 53 | #endif /* LOOKIN_SERVER_DISABLE_HOOK */ 54 | 55 | @end 56 | 57 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 58 | -------------------------------------------------------------------------------- /Pods/SnapKit/Sources/ConstraintConfig.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SnapKit 3 | // 4 | // Copyright (c) 2011-Present SnapKit Team - https://github.com/SnapKit 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | 24 | #if canImport(UIKit) 25 | import UIKit 26 | public typealias ConstraintInterfaceLayoutDirection = UIUserInterfaceLayoutDirection 27 | #else 28 | import AppKit 29 | public typealias ConstraintInterfaceLayoutDirection = NSUserInterfaceLayoutDirection 30 | #endif 31 | 32 | 33 | public struct ConstraintConfig { 34 | 35 | public static var interfaceLayoutDirection: ConstraintInterfaceLayoutDirection = .leftToRight 36 | 37 | } 38 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-CLPlayer/Pods-CLPlayer.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/LookinServer" 5 | LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/LookinServer" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit" "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift $(SDKROOT)/usr/lib/swift 6 | OTHER_CFLAGS = $(inherited) -fmodule-map-file="${PODS_CONFIGURATION_BUILD_DIR}/LookinServer/LookinServer.modulemap" -fmodule-map-file="${PODS_CONFIGURATION_BUILD_DIR}/SnapKit/SnapKit.modulemap" -isystem "${PODS_ROOT}/Headers/Public" 7 | OTHER_LDFLAGS = $(inherited) -ObjC -l"LookinServer" -l"SnapKit" -l"swiftCoreGraphics" -framework "UIKit" 8 | OTHER_MODULE_VERIFIER_FLAGS = $(inherited) "-F${PODS_CONFIGURATION_BUILD_DIR}/LookinServer" "-F${PODS_CONFIGURATION_BUILD_DIR}/SnapKit" "-F${PODS_CONFIGURATION_BUILD_DIR}/SwiftFormat" 9 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -Xcc -fmodule-map-file="${PODS_CONFIGURATION_BUILD_DIR}/LookinServer/LookinServer.modulemap" -Xcc -fmodule-map-file="${PODS_CONFIGURATION_BUILD_DIR}/SnapKit/SnapKit.modulemap" 10 | PODS_BUILD_DIR = ${BUILD_DIR} 11 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 12 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 13 | PODS_ROOT = ${SRCROOT}/Pods 14 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 15 | SWIFT_INCLUDE_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/LookinServer" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftFormat" 16 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 17 | -------------------------------------------------------------------------------- /CLFrameController/CLPlaceholderView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CLPlaceholderView.swift 3 | // CLPlayer 4 | // 5 | // Created by Chen JmoVxia on 2022/12/9. 6 | // 7 | 8 | import UIKit 9 | 10 | // MARK: - JmoVxia---枚举 11 | 12 | extension CLPlaceholderView {} 13 | 14 | // MARK: - JmoVxia---类-属性 15 | 16 | class CLPlaceholderView: UIControl { 17 | override init(frame: CGRect) { 18 | super.init(frame: frame) 19 | initSubViews() 20 | makeConstraints() 21 | } 22 | 23 | @available(*, unavailable) 24 | required init?(coder: NSCoder) { 25 | fatalError("init(coder:) has not been implemented") 26 | } 27 | 28 | private(set) lazy var imageView: UIImageView = { 29 | let view = UIImageView(image: UIImage(named: "placeholder")) 30 | view.isUserInteractionEnabled = false 31 | return view 32 | }() 33 | 34 | private lazy var playImageView: UIImageView = { 35 | let view = UIImageView(image: UIImage(named: "play")) 36 | view.isUserInteractionEnabled = false 37 | return view 38 | }() 39 | } 40 | 41 | // MARK: - JmoVxia---布局 42 | 43 | private extension CLPlaceholderView { 44 | func initSubViews() { 45 | addSubview(imageView) 46 | addSubview(playImageView) 47 | } 48 | 49 | func makeConstraints() { 50 | imageView.snp.makeConstraints { make in 51 | make.edges.equalToSuperview() 52 | } 53 | playImageView.snp.makeConstraints { make in 54 | make.center.equalToSuperview() 55 | } 56 | } 57 | } 58 | 59 | // MARK: - JmoVxia---override 60 | 61 | extension CLPlaceholderView {} 62 | 63 | // MARK: - JmoVxia---objc 64 | 65 | @objc private extension CLPlaceholderView {} 66 | 67 | // MARK: - JmoVxia---私有方法 68 | 69 | private extension CLPlaceholderView {} 70 | 71 | // MARK: - JmoVxia---公共方法 72 | 73 | extension CLPlaceholderView {} 74 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Others/LKS_GestureTargetActionsSearcher.m: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LKS_GestureTargetActionsSearcher.m 5 | // LookinServer 6 | // 7 | // Created by likai.123 on 2023/9/11. 8 | // 9 | 10 | #import "LKS_GestureTargetActionsSearcher.h" 11 | #import 12 | #import "NSArray+Lookin.h" 13 | #import "LookinTuple.h" 14 | #import "LookinWeakContainer.h" 15 | 16 | @implementation LKS_GestureTargetActionsSearcher 17 | 18 | + (NSArray *)getTargetActionsFromRecognizer:(UIGestureRecognizer *)recognizer { 19 | if (!recognizer) { 20 | return @[]; 21 | } 22 | // KVC 要放到 try catch 里面防止 Crash 23 | @try { 24 | NSArray* targetsList = [recognizer valueForKey:@"_targets"]; 25 | if (!targetsList || targetsList.count == 0) { 26 | return @[]; 27 | } 28 | // 数组元素对象是 UIGestureRecognizerTarget* 29 | // 这个元素有两个属性,一个是名为 _target 的属性指向某个实例,另一个是名为 _action 的属性保存一个 SEL 30 | NSArray* ret = [targetsList lookin_map:^id(NSUInteger idx, id targetBox) { 31 | id targetObj = [targetBox valueForKey:@"_target"]; 32 | if (!targetObj) { 33 | return nil; 34 | } 35 | SEL action = ((SEL (*)(id, Ivar))object_getIvar)(targetBox, class_getInstanceVariable([targetBox class], "_action")); 36 | 37 | LookinTwoTuple* tuple = [LookinTwoTuple new]; 38 | tuple.first = [LookinWeakContainer containerWithObject:targetObj]; 39 | tuple.second = (action == NULL ? @"NULL" : NSStringFromSelector(action)); 40 | return tuple; 41 | }]; 42 | return ret; 43 | } 44 | @catch (NSException * e) { 45 | NSLog(@"LookinServer - %@", e); 46 | return @[]; 47 | } 48 | } 49 | 50 | @end 51 | 52 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 53 | -------------------------------------------------------------------------------- /Pods/SnapKit/Sources/ConstraintRelation.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SnapKit 3 | // 4 | // Copyright (c) 2011-Present SnapKit Team - https://github.com/SnapKit 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | 24 | #if canImport(UIKit) 25 | import UIKit 26 | #else 27 | import AppKit 28 | #endif 29 | 30 | 31 | internal enum ConstraintRelation : Int { 32 | case equal = 1 33 | case lessThanOrEqual 34 | case greaterThanOrEqual 35 | 36 | internal var layoutRelation: LayoutRelation { 37 | get { 38 | switch(self) { 39 | case .equal: 40 | return .equal 41 | case .lessThanOrEqual: 42 | return .lessThanOrEqual 43 | case .greaterThanOrEqual: 44 | return .greaterThanOrEqual 45 | } 46 | } 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /CLPlayer/CLPlayerContentView/CLSlider.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | 3 | class CLSlider: UISlider { 4 | private var lastThumbBounds = CGRect.zero 5 | 6 | var thumbClickableOffset = CGPoint(x: 30.0, y: 40.0) 7 | 8 | var verticalSliderOffset: CGFloat = 0.0 9 | 10 | override func trackRect(forBounds bounds: CGRect) -> CGRect { 11 | let newTrackRect = super.trackRect(forBounds: bounds) 12 | return CGRect(origin: newTrackRect.origin, size: CGSize(width: newTrackRect.width, height: 2)) 13 | } 14 | 15 | override func thumbRect(forBounds bounds: CGRect, trackRect rect: CGRect, value: Float) -> CGRect { 16 | var thumbRect = rect 17 | thumbRect.origin.x = thumbRect.minX - verticalSliderOffset 18 | thumbRect.size.width = thumbRect.width + verticalSliderOffset * 2.0 19 | lastThumbBounds = super.thumbRect(forBounds: bounds, trackRect: thumbRect, value: value) 20 | return lastThumbBounds 21 | } 22 | 23 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? { 24 | let view = super.hitTest(point, with: event) 25 | guard view != self else { return view } 26 | guard point.x >= 0, point.x < bounds.width else { return view } 27 | guard point.y >= -thumbClickableOffset.x * 0.5, point.y < lastThumbBounds.height + thumbClickableOffset.y else { return view } 28 | return self 29 | } 30 | 31 | override func point(inside point: CGPoint, with event: UIEvent?) -> Bool { 32 | let isInside = super.point(inside: point, with: event) 33 | guard !isInside else { return isInside } 34 | guard point.x >= lastThumbBounds.minX - thumbClickableOffset.x, point.x <= lastThumbBounds.maxX + thumbClickableOffset.x else { return isInside } 35 | guard point.y >= -thumbClickableOffset.y, point.y < lastThumbBounds.height + thumbClickableOffset.y else { return isInside } 36 | return true 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /Pods/SnapKit/Sources/Typealiases.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SnapKit 3 | // 4 | // Copyright (c) 2011-Present SnapKit Team - https://github.com/SnapKit 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | 24 | import Foundation 25 | 26 | #if canImport(UIKit) 27 | import UIKit 28 | #if swift(>=4.2) 29 | typealias LayoutRelation = NSLayoutConstraint.Relation 30 | typealias LayoutAttribute = NSLayoutConstraint.Attribute 31 | #else 32 | typealias LayoutRelation = NSLayoutRelation 33 | typealias LayoutAttribute = NSLayoutAttribute 34 | #endif 35 | typealias LayoutPriority = UILayoutPriority 36 | #else 37 | import AppKit 38 | typealias LayoutRelation = NSLayoutConstraint.Relation 39 | typealias LayoutAttribute = NSLayoutConstraint.Attribute 40 | typealias LayoutPriority = NSLayoutConstraint.Priority 41 | #endif 42 | 43 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Server/Connection/RequestHandler/LKS_AttrModificationPatchHandler.m: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LKS_AttrModificationPatchHandler.m 5 | // LookinServer 6 | // 7 | // Created by Li Kai on 2019/6/12. 8 | // https://lookin.work 9 | // 10 | 11 | #import "LKS_AttrModificationPatchHandler.h" 12 | #import "LookinDisplayItemDetail.h" 13 | #import "LookinServerDefines.h" 14 | 15 | @implementation LKS_AttrModificationPatchHandler 16 | 17 | + (void)handleLayerOids:(NSArray *)oids lowImageQuality:(BOOL)lowImageQuality block:(void (^)(LookinDisplayItemDetail *detail, NSUInteger tasksTotalCount, NSError *error))block { 18 | if (!block) { 19 | NSAssert(NO, @""); 20 | return; 21 | } 22 | if (![oids isKindOfClass:[NSArray class]]) { 23 | block(nil, 1, LookinErr_Inner); 24 | return; 25 | } 26 | 27 | [oids enumerateObjectsUsingBlock:^(NSNumber * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) { 28 | unsigned long oid = [obj unsignedLongValue]; 29 | LookinDisplayItemDetail *detail = [LookinDisplayItemDetail new]; 30 | detail.displayItemOid = oid; 31 | 32 | CALayer *layer = (CALayer *)[NSObject lks_objectWithOid:oid]; 33 | if (![layer isKindOfClass:[CALayer class]]) { 34 | block(nil, idx + 1, LookinErr_ObjNotFound); 35 | *stop = YES; 36 | return; 37 | } 38 | 39 | if (idx == 0) { 40 | detail.soloScreenshot = [layer lks_soloScreenshotWithLowQuality:lowImageQuality]; 41 | detail.groupScreenshot = [layer lks_groupScreenshotWithLowQuality:lowImageQuality]; 42 | } else { 43 | detail.groupScreenshot = [layer lks_groupScreenshotWithLowQuality:lowImageQuality]; 44 | } 45 | block(detail, oids.count, nil); 46 | }]; 47 | } 48 | 49 | @end 50 | 51 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 52 | -------------------------------------------------------------------------------- /Pods/SnapKit/Sources/ConstraintMakerFinalizable.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SnapKit 3 | // 4 | // Copyright (c) 2011-Present SnapKit Team - https://github.com/SnapKit 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | 24 | #if canImport(UIKit) 25 | import UIKit 26 | #else 27 | import AppKit 28 | #endif 29 | 30 | 31 | public class ConstraintMakerFinalizable { 32 | 33 | internal let description: ConstraintDescription 34 | 35 | internal init(_ description: ConstraintDescription) { 36 | self.description = description 37 | } 38 | 39 | @discardableResult 40 | public func labeled(_ label: String) -> ConstraintMakerFinalizable { 41 | self.description.label = label 42 | return self 43 | } 44 | 45 | public var constraint: Constraint { 46 | return self.description.constraint! 47 | } 48 | 49 | } 50 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/LookinCustomDisplayItemInfo.m: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LookinCustomDisplayItemInfo.m 5 | // LookinServer 6 | // 7 | // Created by likai.123 on 2023/11/1. 8 | // 9 | 10 | #import "LookinCustomDisplayItemInfo.h" 11 | #if TARGET_OS_IPHONE 12 | #import 13 | #endif 14 | 15 | @implementation LookinCustomDisplayItemInfo 16 | 17 | - (id)copyWithZone:(NSZone *)zone { 18 | LookinCustomDisplayItemInfo *newInstance = [[LookinCustomDisplayItemInfo allocWithZone:zone] init]; 19 | 20 | if (self.frameInWindow) { 21 | #if TARGET_OS_IPHONE 22 | CGRect rect = [self.frameInWindow CGRectValue]; 23 | newInstance.frameInWindow = [NSValue valueWithCGRect:rect]; 24 | #elif TARGET_OS_MAC 25 | CGRect rect = [self.frameInWindow rectValue]; 26 | newInstance.frameInWindow = [NSValue valueWithRect:rect]; 27 | #endif 28 | } 29 | newInstance.title = self.title; 30 | newInstance.subtitle = self.subtitle; 31 | newInstance.danceuiSource = self.danceuiSource; 32 | 33 | return newInstance; 34 | } 35 | 36 | - (void)encodeWithCoder:(NSCoder *)aCoder { 37 | [aCoder encodeObject:self.frameInWindow forKey:@"frameInWindow"]; 38 | [aCoder encodeObject:self.title forKey:@"title"]; 39 | [aCoder encodeObject:self.subtitle forKey:@"subtitle"]; 40 | [aCoder encodeObject:self.danceuiSource forKey:@"danceuiSource"]; 41 | } 42 | 43 | - (instancetype)initWithCoder:(NSCoder *)aDecoder { 44 | if (self = [super init]) { 45 | self.frameInWindow = [aDecoder decodeObjectForKey:@"frameInWindow"]; 46 | self.title = [aDecoder decodeObjectForKey:@"title"]; 47 | self.subtitle = [aDecoder decodeObjectForKey:@"subtitle"]; 48 | self.danceuiSource = [aDecoder decodeObjectForKey:@"danceuiSource"]; 49 | } 50 | return self; 51 | } 52 | 53 | + (BOOL)supportsSecureCoding { 54 | return YES; 55 | } 56 | 57 | @end 58 | 59 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 60 | -------------------------------------------------------------------------------- /CLTableView/CLCellItemProtocol/CLCellItemProtocol.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CLCellItemProtocol.swift 3 | // CKD 4 | // 5 | // Created by JmoVxia on 2020/3/26. 6 | // Copyright © 2020 JmoVxia. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | protocol CLCellItemProtocol { 12 | /// 加载cell 13 | var cellForRowCallback: ((IndexPath) -> Void)? { get set } 14 | /// 将要显示cell 15 | var willDisplayCallback: ((IndexPath) -> Void)? { get set } 16 | /// 点击cell回调 17 | var didSelectCellCallback: ((IndexPath) -> Void)? { get set } 18 | /// 绑定cell 19 | func bindCell() -> UITableViewCell.Type 20 | /// 创建cell 21 | func dequeueReusableCell(tableView: UITableView, indexPath: IndexPath) -> UITableViewCell 22 | /// 高度 23 | func cellHeight() -> CGFloat 24 | } 25 | 26 | extension CLCellItemProtocol { 27 | var cellForRowCallback: ((IndexPath) -> Void)? { 28 | get { 29 | return nil 30 | } 31 | set {} 32 | } 33 | 34 | var willDisplayCallback: ((IndexPath) -> Void)? { 35 | get { 36 | return nil 37 | } 38 | set {} 39 | } 40 | 41 | var didSelectCellCallback: ((IndexPath) -> Void)? { 42 | get { 43 | return nil 44 | } 45 | set {} 46 | } 47 | 48 | func dequeueReusableCell(tableView: UITableView, indexPath _: IndexPath) -> UITableViewCell { 49 | let cellClass = bindCell() 50 | let identifier = String(describing: cellClass) 51 | var tableViewCell: UITableViewCell! 52 | if let cell = tableView.dequeueReusableCell(withIdentifier: identifier) { 53 | tableViewCell = cell 54 | } else { 55 | tableViewCell = cellClass.init(style: .default, reuseIdentifier: identifier) 56 | } 57 | (tableViewCell as? CLCellProtocol)?.setItem(self) 58 | return tableViewCell 59 | } 60 | 61 | /// 高度 62 | func cellHeight() -> CGFloat { 63 | return UITableView.automaticDimension 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/LookinAutoLayoutConstraint.h: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LookinAutoLayoutConstraint.h 5 | // Lookin 6 | // 7 | // Created by Li Kai on 2019/9/28. 8 | // https://lookin.work 9 | // 10 | 11 | 12 | 13 | #import "LookinDefines.h" 14 | 15 | @class LookinObject; 16 | 17 | typedef NS_ENUM(NSInteger, LookinConstraintItemType) { 18 | LookinConstraintItemTypeUnknown, 19 | LookinConstraintItemTypeNil, 20 | LookinConstraintItemTypeView, 21 | LookinConstraintItemTypeSelf, 22 | LookinConstraintItemTypeSuper, 23 | LookinConstraintItemTypeLayoutGuide 24 | }; 25 | 26 | @interface LookinAutoLayoutConstraint : NSObject 27 | 28 | #if TARGET_OS_IPHONE 29 | + (instancetype)instanceFromNSConstraint:(NSLayoutConstraint *)constraint isEffective:(BOOL)isEffective firstItemType:(LookinConstraintItemType)firstItemType secondItemType:(LookinConstraintItemType)secondItemType; 30 | #endif 31 | 32 | @property(nonatomic, assign) BOOL effective; 33 | @property(nonatomic, assign) BOOL active; 34 | @property(nonatomic, assign) BOOL shouldBeArchived; 35 | @property(nonatomic, strong) LookinObject *firstItem; 36 | @property(nonatomic, assign) LookinConstraintItemType firstItemType; 37 | /// iOS 里的 NSLayoutAttribute,注意 iOS 和 macOS 虽然都有 NSLayoutAttribute 但是 value 非常不同,因此这里使用 NSInteger 避免混淆 38 | @property(nonatomic, assign) NSInteger firstAttribute; 39 | @property(nonatomic, assign) NSLayoutRelation relation; 40 | @property(nonatomic, strong) LookinObject *secondItem; 41 | @property(nonatomic, assign) LookinConstraintItemType secondItemType; 42 | /// iOS 里的 NSLayoutAttribute,注意 iOS 和 macOS 虽然都有 NSLayoutAttribute 但是 value 非常不同,因此这里使用 NSInteger 避免混淆 43 | @property(nonatomic, assign) NSInteger secondAttribute; 44 | @property(nonatomic, assign) CGFloat multiplier; 45 | @property(nonatomic, assign) CGFloat constant; 46 | @property(nonatomic, assign) CGFloat priority; 47 | @property(nonatomic, copy) NSString *identifier; 48 | 49 | @end 50 | 51 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 52 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Base/LookinIvarTrace.m: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LookinIvarTrace.m 5 | // Lookin 6 | // 7 | // Created by Li Kai on 2019/4/30. 8 | // https://lookin.work 9 | // 10 | 11 | #import "LookinIvarTrace.h" 12 | 13 | NSString *const LookinIvarTraceRelationValue_Self = @"self"; 14 | 15 | @implementation LookinIvarTrace 16 | 17 | #pragma mark - Equal 18 | 19 | - (NSUInteger)hash { 20 | return self.hostClassName.hash ^ self.ivarName.hash; 21 | } 22 | 23 | - (BOOL)isEqual:(id)object { 24 | if (self == object) { 25 | return YES; 26 | } 27 | if (![object isKindOfClass:[LookinIvarTrace class]]) { 28 | return NO; 29 | } 30 | LookinIvarTrace *comparedObj = object; 31 | if ([self.hostClassName isEqualToString:comparedObj.hostClassName] && [self.ivarName isEqualToString:comparedObj.ivarName]) { 32 | return YES; 33 | } 34 | return NO; 35 | } 36 | 37 | #pragma mark - 38 | 39 | - (id)copyWithZone:(NSZone *)zone { 40 | LookinIvarTrace *newTrace = [[LookinIvarTrace allocWithZone:zone] init]; 41 | newTrace.relation = self.relation; 42 | newTrace.hostClassName = self.hostClassName; 43 | newTrace.ivarName = self.ivarName; 44 | return newTrace; 45 | } 46 | 47 | #pragma mark - 48 | 49 | - (void)encodeWithCoder:(NSCoder *)aCoder { 50 | [aCoder encodeObject:self.relation forKey:@"relation"]; 51 | [aCoder encodeObject:self.hostClassName forKey:@"hostClassName"]; 52 | [aCoder encodeObject:self.ivarName forKey:@"ivarName"]; 53 | } 54 | 55 | - (instancetype)initWithCoder:(NSCoder *)aDecoder { 56 | if (self = [super init]) { 57 | self.relation = [aDecoder decodeObjectForKey:@"relation"]; 58 | self.hostClassName = [aDecoder decodeObjectForKey:@"hostClassName"]; 59 | self.ivarName = [aDecoder decodeObjectForKey:@"ivarName"]; 60 | } 61 | return self; 62 | } 63 | 64 | + (BOOL)supportsSecureCoding { 65 | return YES; 66 | } 67 | 68 | @end 69 | 70 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 71 | -------------------------------------------------------------------------------- /Pods/SnapKit/Sources/ConstraintDirectionalInsetTarget.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SnapKit 3 | // 4 | // Copyright (c) 2011-Present SnapKit Team - https://github.com/SnapKit 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | 24 | #if canImport(UIKit) 25 | import UIKit 26 | #else 27 | import AppKit 28 | #endif 29 | 30 | #if canImport(UIKit) 31 | public protocol ConstraintDirectionalInsetTarget: ConstraintConstantTarget { 32 | } 33 | 34 | @available(iOS 11.0, tvOS 11.0, *) 35 | extension ConstraintDirectionalInsets: ConstraintDirectionalInsetTarget { 36 | } 37 | 38 | extension ConstraintDirectionalInsetTarget { 39 | 40 | @available(iOS 11.0, tvOS 11.0, *) 41 | internal var constraintDirectionalInsetTargetValue: ConstraintDirectionalInsets { 42 | if let amount = self as? ConstraintDirectionalInsets { 43 | return amount 44 | } else { 45 | return ConstraintDirectionalInsets(top: 0, leading: 0, bottom: 0, trailing: 0) 46 | } 47 | } 48 | } 49 | #endif 50 | -------------------------------------------------------------------------------- /Resources/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/Category/NSSet+Lookin.m: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // NSSet+Lookin.m 5 | // Lookin 6 | // 7 | // Created by Li Kai on 2019/1/13. 8 | // https://lookin.work 9 | // 10 | 11 | 12 | 13 | #import "NSSet+Lookin.h" 14 | 15 | @implementation NSSet (Lookin) 16 | 17 | - (NSSet *)lookin_map:(id (^)(id obj))block { 18 | if (!block) { 19 | NSAssert(NO, @""); 20 | return nil; 21 | } 22 | 23 | NSMutableSet *newSet = [NSMutableSet setWithCapacity:self.count]; 24 | [self enumerateObjectsUsingBlock:^(id _Nonnull obj, BOOL * _Nonnull stop) { 25 | id newObj = block(obj); 26 | if (newObj) { 27 | [newSet addObject:newObj]; 28 | } 29 | }]; 30 | return [newSet copy]; 31 | } 32 | 33 | - (id)lookin_firstFiltered:(BOOL (^)(id obj))block { 34 | if (!block) { 35 | NSAssert(NO, @""); 36 | return nil; 37 | } 38 | 39 | __block id targetObj = nil; 40 | [self enumerateObjectsUsingBlock:^(id _Nonnull obj, BOOL * _Nonnull stop) { 41 | if (block(obj)) { 42 | targetObj = obj; 43 | *stop = YES; 44 | } 45 | }]; 46 | return targetObj; 47 | } 48 | 49 | - (NSSet *)lookin_filter:(BOOL (^)(id obj))block { 50 | if (!block) { 51 | NSAssert(NO, @""); 52 | return nil; 53 | } 54 | 55 | NSMutableSet *mSet = [NSMutableSet set]; 56 | [self enumerateObjectsUsingBlock:^(id _Nonnull obj, BOOL * _Nonnull stop) { 57 | if (block(obj)) { 58 | [mSet addObject:obj]; 59 | } 60 | }]; 61 | return [mSet copy]; 62 | } 63 | 64 | - (BOOL)lookin_any:(BOOL (^)(id obj))block { 65 | if (!block) { 66 | NSAssert(NO, @""); 67 | return NO; 68 | } 69 | __block BOOL boolValue = NO; 70 | [self enumerateObjectsUsingBlock:^(id _Nonnull obj, BOOL * _Nonnull stop) { 71 | if (block(obj)) { 72 | boolValue = YES; 73 | *stop = YES; 74 | } 75 | }]; 76 | return boolValue; 77 | } 78 | 79 | @end 80 | 81 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 82 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/LookinConnectionResponseAttachment.m: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LookinConnectionResponse.m 5 | // Lookin 6 | // 7 | // Created by Li Kai on 2019/1/15. 8 | // https://lookin.work 9 | // 10 | 11 | 12 | 13 | #import "LookinConnectionResponseAttachment.h" 14 | #import "LookinDefines.h" 15 | 16 | @interface LookinConnectionResponseAttachment () 17 | 18 | @end 19 | 20 | @implementation LookinConnectionResponseAttachment 21 | 22 | - (void)encodeWithCoder:(NSCoder *)aCoder { 23 | [super encodeWithCoder:aCoder]; 24 | [aCoder encodeInt:self.lookinServerVersion forKey:@"lookinServerVersion"]; 25 | [aCoder encodeObject:self.error forKey:@"error"]; 26 | [aCoder encodeObject:@(self.dataTotalCount) forKey:@"dataTotalCount"]; 27 | [aCoder encodeObject:@(self.currentDataCount) forKey:@"currentDataCount"]; 28 | [aCoder encodeBool:self.appIsInBackground forKey:@"appIsInBackground"]; 29 | } 30 | 31 | - (instancetype)init { 32 | if (self = [super init]) { 33 | self.lookinServerVersion = LOOKIN_SERVER_VERSION; 34 | self.dataTotalCount = 0; 35 | } 36 | return self; 37 | } 38 | 39 | - (instancetype)initWithCoder:(NSCoder *)aDecoder { 40 | if (self = [super initWithCoder:aDecoder]) { 41 | self.lookinServerVersion = [aDecoder decodeIntForKey:@"lookinServerVersion"]; 42 | self.error = [aDecoder decodeObjectForKey:@"error"]; 43 | self.dataTotalCount = [[aDecoder decodeObjectForKey:@"dataTotalCount"] unsignedIntegerValue]; 44 | self.currentDataCount = [[aDecoder decodeObjectForKey:@"currentDataCount"] unsignedIntegerValue]; 45 | self.appIsInBackground = [aDecoder decodeBoolForKey:@"appIsInBackground"]; 46 | } 47 | return self; 48 | } 49 | 50 | + (BOOL)supportsSecureCoding { 51 | return YES; 52 | } 53 | 54 | + (instancetype)attachmentWithError:(NSError *)error { 55 | LookinConnectionResponseAttachment *attachment = [LookinConnectionResponseAttachment new]; 56 | attachment.error = error; 57 | return attachment; 58 | } 59 | 60 | @end 61 | 62 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 63 | -------------------------------------------------------------------------------- /Pods/LookinServer/Src/Main/Shared/LookinAttribute.m: -------------------------------------------------------------------------------- 1 | #ifdef SHOULD_COMPILE_LOOKIN_SERVER 2 | 3 | // 4 | // LookinAttribute.m 5 | // qmuidemo 6 | // 7 | // Created by Li Kai on 2018/11/17. 8 | // Copyright © 2018 QMUI Team. All rights reserved. 9 | // 10 | 11 | 12 | 13 | #import "LookinAttribute.h" 14 | #import "LookinDisplayItem.h" 15 | 16 | @implementation LookinAttribute 17 | 18 | #pragma mark - 19 | 20 | - (id)copyWithZone:(NSZone *)zone { 21 | LookinAttribute *newAttr = [[LookinAttribute allocWithZone:zone] init]; 22 | newAttr.identifier = self.identifier; 23 | newAttr.displayTitle = self.displayTitle; 24 | newAttr.value = self.value; 25 | newAttr.attrType = self.attrType; 26 | newAttr.extraValue = self.extraValue; 27 | newAttr.customSetterID = self.customSetterID; 28 | return newAttr; 29 | } 30 | 31 | #pragma mark - 32 | 33 | - (void)encodeWithCoder:(NSCoder *)aCoder { 34 | [aCoder encodeObject:self.displayTitle forKey:@"displayTitle"]; 35 | [aCoder encodeObject:self.identifier forKey:@"identifier"]; 36 | [aCoder encodeInteger:self.attrType forKey:@"attrType"]; 37 | [aCoder encodeObject:self.value forKey:@"value"]; 38 | [aCoder encodeObject:self.extraValue forKey:@"extraValue"]; 39 | [aCoder encodeObject:self.customSetterID forKey:@"customSetterID"]; 40 | } 41 | 42 | - (instancetype)initWithCoder:(NSCoder *)aDecoder { 43 | if (self = [super init]) { 44 | self.displayTitle = [aDecoder decodeObjectForKey:@"displayTitle"]; 45 | self.identifier = [aDecoder decodeObjectForKey:@"identifier"]; 46 | self.attrType = [aDecoder decodeIntegerForKey:@"attrType"]; 47 | self.value = [aDecoder decodeObjectForKey:@"value"]; 48 | self.extraValue = [aDecoder decodeObjectForKey:@"extraValue"]; 49 | self.customSetterID = [aDecoder decodeObjectForKey:@"customSetterID"]; 50 | } 51 | return self; 52 | } 53 | 54 | + (BOOL)supportsSecureCoding { 55 | return YES; 56 | } 57 | 58 | - (BOOL)isUserCustom { 59 | return [self.identifier isEqualToString:LookinAttr_UserCustom]; 60 | } 61 | 62 | @end 63 | 64 | #endif /* SHOULD_COMPILE_LOOKIN_SERVER */ 65 | --------------------------------------------------------------------------------