Bladeren bron

PDFTools(iOS) - 图片加载

yangliuhua 1 jaar geleden
bovenliggende
commit
d354d83d1c

+ 11 - 1
compdfkit-tools/compdfkit-tools.xcodeproj/project.pbxproj

@@ -127,7 +127,6 @@
 		C9FBA2172A0D11C7003FABEC /* CStampFileManger.m in Sources */ = {isa = PBXBuildFile; fileRef = C9FBA2152A0D11C7003FABEC /* CStampFileManger.m */; };
 		C9FBA21C2A0E2FB6003FABEC /* CStampButton.h in Headers */ = {isa = PBXBuildFile; fileRef = C9FBA21A2A0E2FB6003FABEC /* CStampButton.h */; };
 		C9FBA21D2A0E2FB6003FABEC /* CStampButton.m in Sources */ = {isa = PBXBuildFile; fileRef = C9FBA21B2A0E2FB6003FABEC /* CStampButton.m */; };
-		F32054B52A0F2A7A006B41F7 /* NavigationRightImage.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F32054B42A0F2A7A006B41F7 /* NavigationRightImage.xcassets */; };
 		C9FBA2202A0F2911003FABEC /* CStampTextViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = C9FBA21E2A0F2911003FABEC /* CStampTextViewController.h */; };
 		C9FBA2212A0F2911003FABEC /* CStampTextViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C9FBA21F2A0F2911003FABEC /* CStampTextViewController.m */; };
 		C9FBA2242A0F2BE0003FABEC /* CStampPreview.h in Headers */ = {isa = PBXBuildFile; fileRef = C9FBA2222A0F2BE0003FABEC /* CStampPreview.h */; };
@@ -136,6 +135,10 @@
 		C9FBA22D2A0F5937003FABEC /* CStampShapView.m in Sources */ = {isa = PBXBuildFile; fileRef = C9FBA22B2A0F5937003FABEC /* CStampShapView.m */; };
 		C9FBA2302A10CBDA003FABEC /* CCustomizeStampTableViewCell.h in Headers */ = {isa = PBXBuildFile; fileRef = C9FBA22E2A10CBDA003FABEC /* CCustomizeStampTableViewCell.h */; };
 		C9FBA2312A10CBDA003FABEC /* CCustomizeStampTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = C9FBA22F2A10CBDA003FABEC /* CCustomizeStampTableViewCell.m */; };
+		C9FBA2342A11BEFB003FABEC /* CStampColorSelectView.h in Headers */ = {isa = PBXBuildFile; fileRef = C9FBA2322A11BEFB003FABEC /* CStampColorSelectView.h */; };
+		C9FBA2352A11BEFB003FABEC /* CStampColorSelectView.m in Sources */ = {isa = PBXBuildFile; fileRef = C9FBA2332A11BEFB003FABEC /* CStampColorSelectView.m */; };
+		C9FBA2362A11CF99003FABEC /* Image.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C9FBA2182A0DD277003FABEC /* Image.xcassets */; };
+		F32054B52A0F2A7A006B41F7 /* NavigationRightImage.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F32054B42A0F2A7A006B41F7 /* NavigationRightImage.xcassets */; };
 		F32DA16229ED904300E19ECA /* CPDFOutlineModel.h in Headers */ = {isa = PBXBuildFile; fileRef = F32DA12229ED904300E19ECA /* CPDFOutlineModel.h */; };
 		F32DA16329ED904300E19ECA /* Image.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F32DA12329ED904300E19ECA /* Image.xcassets */; };
 		F32DA16429ED904300E19ECA /* CPDFOutlineViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = F32DA12429ED904300E19ECA /* CPDFOutlineViewCell.m */; };
@@ -359,6 +362,8 @@
 		C9FBA22B2A0F5937003FABEC /* CStampShapView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CStampShapView.m; sourceTree = "<group>"; };
 		C9FBA22E2A10CBDA003FABEC /* CCustomizeStampTableViewCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CCustomizeStampTableViewCell.h; sourceTree = "<group>"; };
 		C9FBA22F2A10CBDA003FABEC /* CCustomizeStampTableViewCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CCustomizeStampTableViewCell.m; sourceTree = "<group>"; };
+		C9FBA2322A11BEFB003FABEC /* CStampColorSelectView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CStampColorSelectView.h; sourceTree = "<group>"; };
+		C9FBA2332A11BEFB003FABEC /* CStampColorSelectView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CStampColorSelectView.m; sourceTree = "<group>"; };
 		F313657129E4367A00EE6BBB /* ComPDFKit.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = ComPDFKit.xcframework; path = ../Lib/ComPDFKit.xcframework; sourceTree = "<group>"; };
 		F32054B42A0F2A7A006B41F7 /* NavigationRightImage.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = NavigationRightImage.xcassets; sourceTree = "<group>"; };
 		F32DA12229ED904300E19ECA /* CPDFOutlineModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CPDFOutlineModel.h; sourceTree = "<group>"; };
@@ -798,6 +803,8 @@
 				C9FBA22B2A0F5937003FABEC /* CStampShapView.m */,
 				C9FBA22E2A10CBDA003FABEC /* CCustomizeStampTableViewCell.h */,
 				C9FBA22F2A10CBDA003FABEC /* CCustomizeStampTableViewCell.m */,
+				C9FBA2322A11BEFB003FABEC /* CStampColorSelectView.h */,
+				C9FBA2332A11BEFB003FABEC /* CStampColorSelectView.m */,
 				C9FBA2182A0DD277003FABEC /* Image.xcassets */,
 			);
 			path = PDFStamp;
@@ -1142,6 +1149,7 @@
 				F32DA16829ED904300E19ECA /* CPDFOutlineViewCell.h in Headers */,
 				F35DD19B2A06850700B57F5B /* CPDFAnnotation+PDFListView.h in Headers */,
 				C918CEC929FA140C00D43974 /* CPDFInkViewController.h in Headers */,
+				C9FBA2342A11BEFB003FABEC /* CStampColorSelectView.h in Headers */,
 				F382636E29EFD0D9003F1DFD /* CPDFListView.h in Headers */,
 				F32DA17529ED904300E19ECA /* CPDFInfoTableCell.h in Headers */,
 				F32DA18029ED904300E19ECA /* CNavigationController.h in Headers */,
@@ -1299,6 +1307,7 @@
 				C918CED829FB5ADF00D43974 /* Image.xcassets in Resources */,
 				F382636C29EFD0D9003F1DFD /* CPDFSliderImage.xcassets in Resources */,
 				F3DF83E12A0D0E9200D4F3AF /* Image.xcassets in Resources */,
+				C9FBA2362A11CF99003FABEC /* Image.xcassets in Resources */,
 				C91BE7DF2A03CF080038F2BC /* Image.xcassets in Resources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
@@ -1348,6 +1357,7 @@
 				F382636A29EFD0D9003F1DFD /* CPDFSlider.m in Sources */,
 				4F06AB5029F6792E007797E4 /* CPDFTextProperty.m in Sources */,
 				C9AF189C29F4DBF800EC4979 /* CPDFOpacitySliderView.m in Sources */,
+				C9FBA2352A11BEFB003FABEC /* CStampColorSelectView.m in Sources */,
 				C9FBA22D2A0F5937003FABEC /* CStampShapView.m in Sources */,
 				C9FBA2212A0F2911003FABEC /* CStampTextViewController.m in Sources */,
 				C9AF189329F4D0F300EC4979 /* CPDFAnnotationSampleView.m in Sources */,

+ 16 - 0
compdfkit-tools/compdfkit-tools/Annotation/PDFProperties/PDFStamp/CStampColorSelectView.h

@@ -0,0 +1,16 @@
+//
+//  CStampColorSelectView.h
+//  compdfkit-tools
+//
+//  Created by kdanmobile_2 on 2023/5/15.
+//
+
+#import <UIKit/UIKit.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface CStampColorSelectView : UIView
+
+@end
+
+NS_ASSUME_NONNULL_END

+ 20 - 0
compdfkit-tools/compdfkit-tools/Annotation/PDFProperties/PDFStamp/CStampColorSelectView.m

@@ -0,0 +1,20 @@
+//
+//  CStampColorSelectView.m
+//  compdfkit-tools
+//
+//  Created by kdanmobile_2 on 2023/5/15.
+//
+
+#import "CStampColorSelectView.h"
+
+@implementation CStampColorSelectView
+
+/*
+// Only override drawRect: if you perform custom drawing.
+// An empty implementation adversely affects performance during animation.
+- (void)drawRect:(CGRect)rect {
+    // Drawing code
+}
+*/
+
+@end