Skip to content

Commit 9b8d146

Browse files
committed
[PSPDFKit.iOS] Update bindings to v12.0.1
1 parent add25fd commit 9b8d146

File tree

4 files changed

+178
-61
lines changed

4 files changed

+178
-61
lines changed

PSPDFKit.iOS.UI/ApiDefinition.cs

Lines changed: 158 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1660,6 +1660,9 @@ interface PSPDFConfigurationBuilder {
16601660
[Export ("allowRemovingDigitalSignatures")]
16611661
bool AllowRemovingDigitalSignatures { get; set; }
16621662

1663+
[Export ("annotationMenuConfiguration")]
1664+
PSPDFAnnotationMenuConfiguration AnnotationMenuConfiguration { get; set; }
1665+
16631666
[Export ("shouldScrollToChangedPage")]
16641667
bool ShouldScrollToChangedPage { get; set; }
16651668

@@ -2032,6 +2035,9 @@ interface PSPDFConfiguration : IPSPDFOverridable {
20322035

20332036
[Export ("documentEditorConfiguration")]
20342037
PSPDFDocumentEditorConfiguration DocumentEditorConfiguration { get; }
2038+
2039+
[Export ("annotationMenuConfiguration")]
2040+
PSPDFAnnotationMenuConfiguration AnnotationMenuConfiguration { get; }
20352041
}
20362042

20372043
interface IPSPDFDocumentInfoCoordinatorDelegate { }
@@ -5183,7 +5189,7 @@ interface PSPDFAnnotationCreateActionDidInsertNotificationEventArgs {
51835189

51845190
[BaseType (typeof (UIView))]
51855191
[DisableDefaultCtor]
5186-
interface PSPDFPageView : IPSPDFRenderTaskDelegate, PSPDFResizableViewDelegate, PSPDFAnnotationStyleViewControllerDelegate, PSPDFFontPickerViewControllerDelegate, PSPDFTextSelectionViewDelegate, IPSPDFOverridable {
5192+
interface PSPDFPageView : IPSPDFRenderTaskDelegate, PSPDFResizableViewDelegate, IPSPDFOverridable, PSPDFAnnotationStyleViewControllerDelegate, PSPDFFontPickerViewControllerDelegate, PSPDFLinkAnnotationEditingContainerViewControllerDelegate, PSPDFNoteAnnotationViewControllerDelegate, PSPDFSignedFormElementViewControllerDelegate, PSPDFTextSelectionViewDelegate {
51875193

51885194
[Field ("PSPDFPageViewSelectedAnnotationsDidChangeNotification", PSPDFKitGlobal.LibraryPath)]
51895195
[Notification]
@@ -5274,11 +5280,21 @@ interface PSPDFPageView : IPSPDFRenderTaskDelegate, PSPDFResizableViewDelegate,
52745280
[NullAllowed, Export ("pageInfo")]
52755281
PSPDFPageInfo PageInfo { get; }
52765282

5283+
[NullAllowed, Export ("annotationSelectionView")]
5284+
PSPDFResizableView AnnotationSelectionView { get; }
5285+
52775286
[Export ("selectedAnnotations", ArgumentSemantic.Copy)]
52785287
PSPDFAnnotation [] SelectedAnnotations { get; set; }
52795288

5280-
[NullAllowed, Export ("annotationSelectionView")]
5281-
PSPDFResizableView AnnotationSelectionView { get; }
5289+
[Export ("selectAnnotations:presentMenu:animated:")]
5290+
void SelectAnnotations (PSPDFAnnotation[] annotations, bool presentMenu, bool animated);
5291+
5292+
[Export ("focusFormElement:toggleValue:animated:")]
5293+
void FocusFormElement (PSPDFFormElement formElement, bool toggleValue, bool animated);
5294+
5295+
[Obsolete ("Deprecated in PSPDFKit 12 for iOS. Use 'select(annotations:presentMenu:animated:)' or 'focus(formElement:toggleValue:animated:)' instead.")]
5296+
[Export ("selectAnnotation:animated:")]
5297+
void SelectAnnotation (PSPDFAnnotation annotation, bool animated);
52825298

52835299
// PSPDFPageView (AnnotationViews) Category
52845300

@@ -5295,9 +5311,6 @@ interface PSPDFPageView : IPSPDFRenderTaskDelegate, PSPDFResizableViewDelegate,
52955311
[Export ("removeAnnotation:options:animated:")]
52965312
bool RemoveAnnotation (PSPDFAnnotation annotation, [NullAllowed] NSDictionary<NSString, NSNumber> options, bool animated);
52975313

5298-
[Export ("selectAnnotation:animated:")]
5299-
void SelectAnnotation (PSPDFAnnotation annotation, bool animated);
5300-
53015314
// PSPDFPageView (SubclassingHooks) Category
53025315

53035316
[Export ("updateShadowAnimated:")]
@@ -5349,87 +5362,107 @@ interface PSPDFPageView : IPSPDFRenderTaskDelegate, PSPDFResizableViewDelegate,
53495362

53505363
// PSPDFPageView (AnnotationMenu) Category
53515364

5352-
[Export ("menuItemsForAnnotations:")]
5353-
PSPDFMenuItem [] GetMenuItemsForAnnotations (PSPDFAnnotation [] annotations);
5365+
[Export ("textSelectionMenuItemForCreatingAnnotationWithType:")]
5366+
[return: NullAllowed]
5367+
PSPDFMenuItem GetTextSelectionMenuItemForCreatingAnnotation ([BindAs (typeof (PSPDFAnnotationStringUI))] NSString annotationString);
53545368

5355-
[Export ("menuItemsForNewAnnotationAtPoint:")]
5356-
PSPDFMenuItem [] GetMenuItemsForNewAnnotation (CGPoint point);
5369+
[Export ("showSignatureControllerAtRect:withTitle:signatureFormElement:options:animated:")]
5370+
void ShowSignatureController (CGRect viewRect, [NullAllowed] string title, [NullAllowed] PSPDFSignatureFormElement signatureFormElement, [NullAllowed] NSDictionary options, bool animated);
53575371

5358-
[Export ("colorMenuItemsForAnnotation:")]
5359-
PSPDFMenuItem [] GetColorMenuItems (PSPDFAnnotation annotation);
5372+
[Export ("showNewSignatureMenuAtRect:signatureFormElement:options:animated:")]
5373+
void ShowNewSignatureMenu (CGRect viewRect, [NullAllowed] PSPDFSignatureFormElement signatureFormElement, [NullAllowed] NSDictionary options, bool animated);
53605374

5361-
[Export ("fillColorMenuItemsForAnnotation:")]
5362-
PSPDFMenuItem [] GetFillColorMenuItems (PSPDFAnnotation annotation);
5375+
[Export ("showDigitalSignatureMenuForSignatureField:animated:")]
5376+
bool ShowDigitalSignatureMenu (PSPDFSignatureFormElement signatureField, bool animated);
53635377

5364-
[Export ("opacityMenuItemForAnnotation:withColor:")]
5365-
PSPDFMenuItem GetOpacityMenuItem (PSPDFAnnotation annotation, [NullAllowed] UIColor color);
5378+
[Export ("showMenuIfSelectedAnimated:")]
5379+
void ShowMenuIfSelected (bool animated);
53665380

5367-
[Export ("textSelectionMenuItemForCreatingAnnotationWithType:")]
5368-
[return: NullAllowed]
5369-
PSPDFMenuItem GetTextSelectionMenuItemForCreatingAnnotation ([BindAs (typeof (PSPDFAnnotationStringUI))] NSString annotationString);
5381+
[Export ("showMenuIfSelectedWithOption:animated:")]
5382+
void ShowMenuIfSelected (PSPDFContextMenuOption contextMenuOption, bool animated);
53705383

5371-
[Export ("showInspectorForAnnotations:options:animated:")]
5372-
[return: NullAllowed]
5373-
PSPDFAnnotationStyleViewController ShowInspector (PSPDFAnnotation [] annotations, [NullAllowed] NSDictionary options, bool animated);
5384+
[Export ("showMenuForPoint:animated:")]
5385+
void ShowMenuForPoint (CGPoint location, bool animated);
53745386

5387+
[Export ("canCreateAnnotationsShowMessage:")]
5388+
bool CanCreateAnnotations (bool showMessage);
5389+
5390+
[Obsolete ("Deprecated in PSPDFKit 12 for iOS. Use 'PDFViewController.Interactions.TryToShowAnnotationMenu' instead.")]
5391+
[Export ("showAnnotationMenuAtPoint:animated:")]
5392+
bool ShowAnnotationMenuAtPoint (CGPoint viewPoint, bool animated);
5393+
5394+
[Obsolete ("Deprecated in PSPDFKit 12 for iOS. Use 'select(annotations:presentMenu:animated:' instead.")]
53755395
[Export ("showMenuForAnnotations:targetRect:option:animated:")]
53765396
void ShowMenu (PSPDFAnnotation [] annotations, CGRect targetRect, PSPDFContextMenuOption contextMenuOption, bool animated);
53775397

5398+
[Obsolete ("Deprecated in PSPDFKit 12 for iOS. Use 'presentColorPicker(for:property:options:animated:completion:)' instead.")]
5399+
[Export ("selectColorForAnnotation:isFillColor:")]
5400+
void SelectColor (PSPDFAnnotation annotation, bool isFillColor);
5401+
5402+
[Obsolete ("Deprecated in PSPDFKit 12 for iOS. Use 'canPresentInspector(for:)' instead.")]
5403+
[Export ("useAnnotationInspectorForAnnotations:")]
5404+
bool UseAnnotationInspector (PSPDFAnnotation [] annotations);
5405+
5406+
[Obsolete ("Deprecated in PSPDFKit 12 for iOS. Use 'presentInspector(for:options:animated:completion:)' instead.")]
5407+
[Export ("showInspectorForAnnotations:options:animated:")]
5408+
[return: NullAllowed]
5409+
PSPDFAnnotationStyleViewController ShowInspector (PSPDFAnnotation [] annotations, [NullAllowed] NSDictionary options, bool animated);
5410+
5411+
[Obsolete ("Deprecated in PSPDFKit 12 for iOS. Use 'presentComments(for:options:animated:completion:)' instead.")]
53785412
[Export ("showNoteControllerForAnnotation:animated:")]
53795413
void ShowNoteController (PSPDFAnnotation annotation, bool animated);
53805414

5381-
[Export ("showFontPickerForAnnotation:animated:")]
5382-
void ShowFontPicker (PSPDFFreeTextAnnotation annotation, bool animated);
5383-
5415+
[Obsolete ("Deprecated in PSPDFKit 12 for iOS. Use 'presentColorPicker(for:property:options:animated:completion:)' instead.")]
53845416
[Export ("showColorPickerForAnnotation:animated:")]
53855417
void ShowColorPicker (PSPDFAnnotation annotation, bool animated);
53865418

5387-
[Export ("showSignatureControllerAtRect:withTitle:signatureFormElement:options:animated:")]
5388-
void ShowSignatureController (CGRect viewRect, [NullAllowed] string title, [NullAllowed] PSPDFSignatureFormElement signatureFormElement, [NullAllowed] NSDictionary options, bool animated);
5419+
[Obsolete ("Deprecated in PSPDFKit 12 for iOS. Use 'presentFontPicker(for:options:animated:completion:)' instead.")]
5420+
[Export ("showFontPickerForAnnotation:animated:")]
5421+
void ShowFontPicker (PSPDFFreeTextAnnotation annotation, bool animated);
53895422

5390-
[Export ("availableFontSizes")]
5391-
NSNumber [] AvailableFontSizes { get; }
5423+
[Obsolete ("Deprecated in PSPDFKit 12 for iOS. Use 'presentLinkActionSheet(for:options:animated:completion:)' instead.")]
5424+
[Export ("showLinkPreviewActionSheetForAnnotation:fromRect:animated:")]
5425+
bool ShowLinkPreviewActionSheet (PSPDFLinkAnnotation annotation, CGRect viewRect, bool animated);
53925426

5393-
[Export ("availableLineWidths")]
5394-
NSNumber [] AvailableLineWidths { get; }
5427+
[Obsolete ("Deprecated in PSPDFKit 12 for iOS. Use 'PDFConfiguration.CreateAnnotationMenuGroups' or 'PDFViewControllerDelegate.PdfViewController(_:menuForCreatingAnnotationAt:onPageView:appearance:suggestedMenu:)' instead.")]
5428+
[Export ("menuItemsForNewAnnotationAtPoint:")]
5429+
PSPDFMenuItem [] GetMenuItemsForNewAnnotation (CGPoint point);
53955430

5396-
[Export ("passthroughViewsForPopoverController")]
5397-
UIView [] PassthroughViewsForPopoverController { get; }
5431+
[Obsolete ("Deprecated in PSPDFKit 12 for iOS. Use 'PDFViewControllerDelegate.PdfViewController(_:menuForAnnotations:onPageView:appearance:suggestedMenu:)' instead.")]
5432+
[Export ("menuItemsForAnnotations:")]
5433+
PSPDFMenuItem [] GetMenuItemsForAnnotations (PSPDFAnnotation [] annotations);
53985434

5399-
// PSPDFPageView (AnnotationMenuSubclassingHooks) Category
5435+
[Obsolete ("Deprecated in PSPDFKit 12 for iOS. Use 'PDFConfiguration.annotationMenuConfiguration.colorChoices' or 'PDFViewControllerDelegate.pdfViewController(_:menuForAnnotations:onPageView:appearance:suggestedMenu:)' instead.")]
5436+
[Export ("colorMenuItemsForAnnotation:")]
5437+
PSPDFMenuItem [] GetColorMenuItems (PSPDFAnnotation annotation);
54005438

5401-
[Export ("showNewSignatureMenuAtRect:signatureFormElement:options:animated:")]
5402-
void ShowNewSignatureMenu (CGRect viewRect, [NullAllowed] PSPDFSignatureFormElement signatureFormElement, [NullAllowed] NSDictionary options, bool animated);
5439+
[Obsolete ("Deprecated in PSPDFKit 12 for iOS. Use 'PDFConfiguration.annotationMenuConfiguration.colorChoices' or 'PDFViewControllerDelegate.pdfViewController(_:menuForAnnotations:onPageView:appearance:suggestedMenu:)' instead.")]
5440+
[Export ("fillColorMenuItemsForAnnotation:")]
5441+
PSPDFMenuItem [] GetFillColorMenuItems (PSPDFAnnotation annotation);
54035442

5404-
[Export ("showDigitalSignatureMenuForSignatureField:animated:")]
5405-
bool ShowDigitalSignatureMenu (PSPDFSignatureFormElement signatureField, bool animated);
5443+
[Obsolete ("Deprecated in PSPDFKit 12 for iOS. Use 'PDFConfiguration.annotationMenuConfiguration.alphaChoices' or 'PDFViewControllerDelegate.pdfViewController(_:menuForAnnotations:onPageView:appearance:suggestedMenu:)' instead.")]
5444+
[Export ("opacityMenuItemForAnnotation:withColor:")]
5445+
PSPDFMenuItem GetOpacityMenuItem (PSPDFAnnotation annotation, [NullAllowed] UIColor color);
54065446

5447+
[Obsolete ("Deprecated in PSPDFKit 12 for iOS. Use 'PDFConfiguration.AnnotationMenuConfiguration.ColorChoices' instead.")]
54075448
[Export ("defaultColorOptionsForAnnotationType:")]
54085449
UIColor [] GetDefaultColorOptions (PSPDFAnnotationType annotationType);
54095450

5410-
[Export ("useAnnotationInspectorForAnnotations:")]
5411-
bool UseAnnotationInspector (PSPDFAnnotation [] annotations);
5451+
[Obsolete ("Deprecated in PSPDFKit 12 for iOS. Use 'PDFConfiguration.annotationMenuConfiguration.FontSizeChoices' instead.")]
5452+
[Export ("availableFontSizes")]
5453+
NSNumber [] AvailableFontSizes { get; }
54125454

5413-
[Export ("selectColorForAnnotation:isFillColor:")]
5414-
void SelectColor (PSPDFAnnotation annotation, bool isFillColor);
5455+
[Obsolete ("Deprecated in PSPDFKit 12 for iOS. Use 'PDFConfiguration.annotationMenuConfiguration.LineWidthChoices' instead.")]
5456+
[Export ("availableLineWidths")]
5457+
NSNumber [] AvailableLineWidths { get; }
54155458

5459+
[Obsolete ("Deprecated in PSPDFKit 12 for iOS. Use 'PDFViewControllerDelegate.pdfViewController(_:menuForAnnotations:onPageView:appearance:suggestedMenu:)' instead.")]
54165460
[Export ("shouldMoveStyleMenuEntriesIntoSubmenu")]
54175461
bool ShouldMoveStyleMenuEntriesIntoSubmenu { get; }
54185462

5419-
[Export ("showLinkPreviewActionSheetForAnnotation:fromRect:animated:")]
5420-
bool ShowLinkPreviewActionSheet (PSPDFLinkAnnotation annotation, CGRect viewRect, bool animated);
5421-
5422-
[Export ("showMenuIfSelectedWithOption:animated:")]
5423-
void ShowMenuIfSelected (PSPDFContextMenuOption contextMenuOption, bool animated);
5424-
5425-
[Export ("showMenuForPoint:animated:")]
5426-
void ShowMenuForPoint (CGPoint location, bool animated);
5427-
5428-
[Export ("showAnnotationMenuAtPoint:animated:")]
5429-
bool ShowAnnotationMenuAtPoint (CGPoint viewPoint, bool animated);
5430-
5431-
[Export ("canCreateAnnotationsShowMessage:")]
5432-
bool CanCreateAnnotations (bool showMessage);
5463+
[Obsolete ("Deprecated in PSPDFKit 12 for iOS. Use 'PresentationOption.PopoverPassthroughViews' instead.")]
5464+
[Export ("passthroughViewsForPopoverController")]
5465+
UIView [] PassthroughViewsForPopoverController { get; }
54335466
}
54345467

54355468
interface IPSPDFPresentationContext { }
@@ -7324,6 +7357,7 @@ interface PSPDFUsernameHelper {
73247357
[Notification]
73257358
NSString DidDismissViewNotification { get; }
73267359

7360+
[NullAllowed]
73277361
[Static]
73287362
[Export ("defaultAnnotationUsername", ArgumentSemantic.Strong)]
73297363
string DefaultAnnotationUsername { get; set; }
@@ -7649,9 +7683,6 @@ interface PSPDFViewControllerDelegate {
76497683
[Export ("pdfViewController:shouldShowMenuItems:atSuggestedTargetRect:forSelectedImage:inRect:onPageView:")]
76507684
PSPDFMenuItem [] ShouldShowMenuItemsForSelectedImage (PSPDFViewController pdfController, PSPDFMenuItem [] menuItems, CGRect rect, PSPDFImageInfo selectedImage, CGRect textRect, PSPDFPageView pageView);
76517685

7652-
[Export ("pdfViewController:shouldShowMenuItems:atSuggestedTargetRect:forAnnotations:inRect:onPageView:")]
7653-
PSPDFMenuItem [] ShouldShowMenuItemsForAnnotations (PSPDFViewController pdfController, PSPDFMenuItem [] menuItems, CGRect rect, [NullAllowed] PSPDFAnnotation [] annotations, CGRect annotationRect, PSPDFPageView pageView);
7654-
76557686
[Export ("pdfViewController:shouldDisplayAnnotation:onPageView:")]
76567687
bool ShouldDisplayAnnotation (PSPDFViewController pdfController, PSPDFAnnotation annotation, PSPDFPageView pageView);
76577688

@@ -7712,6 +7743,16 @@ interface PSPDFViewControllerDelegate {
77127743

77137744
[Export ("pdfViewController:didExecuteAction:")]
77147745
void DidExecuteAction (PSPDFViewController pdfController, PSPDFAction action);
7746+
7747+
[Export ("pdfViewController:menuForCreatingAnnotationAtPoint:onPageView:appearance:suggestedMenu:")]
7748+
UIMenu GetMenuForCreatingAnnotation (PSPDFViewController sender, CGPoint point, PSPDFPageView pageView, PSPDFEditMenuAppearance appearance, UIMenu suggestedMenu);
7749+
7750+
[Export ("pdfViewController:menuForAnnotations:onPageView:appearance:suggestedMenu:")]
7751+
UIMenu GetMenuForAnnotations (PSPDFViewController sender, PSPDFAnnotation[] annotations, PSPDFPageView pageView, PSPDFEditMenuAppearance appearance, UIMenu suggestedMenu);
7752+
7753+
[Obsolete ("Use 'pdfViewController(_:menuForAnnotations:onPageView:appearance:suggestedMenu:)' or 'pdfViewController(_:menuForCreatingAnnotationAt:onPageView:appearance:suggestedMenu:)' instead.")]
7754+
[Export ("pdfViewController:shouldShowMenuItems:atSuggestedTargetRect:forAnnotations:inRect:onPageView:")]
7755+
PSPDFMenuItem [] ShouldShowMenuItemsForAnnotations (PSPDFViewController pdfController, PSPDFMenuItem [] menuItems, CGRect rect, [NullAllowed] PSPDFAnnotation [] annotations, CGRect annotationRect, PSPDFPageView pageView);
77157756
}
77167757

77177758
interface IPSPDFViewModePresenter { }
@@ -8684,4 +8725,62 @@ interface PSPDFDrawViewDelegate {
86848725
[Export ("drawView:wantsToDeleteAnnotation:")]
86858726
void WantsToDeleteAnnotation (PSPDFDrawView drawView, PSPDFAnnotation annotation);
86868727
}
8728+
8729+
8730+
delegate NSNumber [] PSPDFAnnotationMenuConfigurationBuilderChoicesHandler (PSPDFAnnotation annotation, PSPDFPageView pageView, NSNumber [] defaultChoices);
8731+
delegate UIColor [] PSPDFAnnotationMenuConfigurationBuilderColorChoicesHandler (PSPDFAnnotationMenuConfigurationColorProperty property, PSPDFAnnotation annotation, PSPDFPageView pageView, UIColor [] defaultChoices);
8732+
delegate NSNumber [] PSPDFAnnotationMenuConfigurationBuilderFontSizeChoicesHandler (PSPDFFreeTextAnnotation annotation, PSPDFPageView pageView, NSNumber [] defaultChoices);
8733+
delegate NSNumber [] PSPDFAnnotationMenuConfigurationBuilderLineEndChoicesHandler (PSPDFAnnotationMenuConfigurationLineEndProperty property, PSPDFAbstractLineAnnotation annotation, PSPDFPageView pageView, NSNumber [] defaultChoices);
8734+
8735+
[BaseType (typeof (PSPDFBaseConfigurationBuilder))]
8736+
interface PSPDFAnnotationMenuConfigurationBuilder {
8737+
8738+
[Export ("alphaChoices", ArgumentSemantic.Copy)]
8739+
PSPDFAnnotationMenuConfigurationBuilderChoicesHandler AlphaChoices { get; set; }
8740+
8741+
[Export ("colorChoices", ArgumentSemantic.Copy)]
8742+
PSPDFAnnotationMenuConfigurationBuilderColorChoicesHandler ColorChoices { get; set; }
8743+
8744+
[Export ("fontSizeChoices", ArgumentSemantic.Copy)]
8745+
PSPDFAnnotationMenuConfigurationBuilderFontSizeChoicesHandler FontSizeChoices { get; set; }
8746+
8747+
[Export ("lineEndChoices", ArgumentSemantic.Copy)]
8748+
PSPDFAnnotationMenuConfigurationBuilderLineEndChoicesHandler LineEndChoices { get; set; }
8749+
8750+
[Export ("lineWidthChoices", ArgumentSemantic.Copy)]
8751+
PSPDFAnnotationMenuConfigurationBuilderChoicesHandler LineWidthChoices { get; set; }
8752+
}
8753+
8754+
[BaseType (typeof (PSPDFBaseConfiguration))]
8755+
interface PSPDFAnnotationMenuConfiguration
8756+
{
8757+
[Static, New]
8758+
[Export ("defaultConfiguration")]
8759+
PSPDFAnnotationMenuConfiguration DefaultConfiguration { get; }
8760+
8761+
[Export ("initWithBuilder:")]
8762+
IntPtr Constructor (PSPDFAnnotationMenuConfigurationBuilder builder);
8763+
8764+
[Static]
8765+
[Export ("configurationWithBuilder:")]
8766+
PSPDFAnnotationMenuConfiguration FromConfigurationBuilder ([NullAllowed] Action<PSPDFAnnotationMenuConfigurationBuilder> builderHandler);
8767+
8768+
[Export ("configurationUpdatedWithBuilder:")]
8769+
PSPDFAnnotationMenuConfiguration GetUpdatedConfiguration ([NullAllowed] Action<PSPDFAnnotationMenuConfigurationBuilder> builderHandler);
8770+
8771+
[Export ("alphaChoices")]
8772+
PSPDFAnnotationMenuConfigurationBuilderChoicesHandler AlphaChoices { get; }
8773+
8774+
[Export ("colorChoices")]
8775+
PSPDFAnnotationMenuConfigurationBuilderColorChoicesHandler ColorChoices { get; }
8776+
8777+
[Export ("fontSizeChoices")]
8778+
PSPDFAnnotationMenuConfigurationBuilderFontSizeChoicesHandler FontSizeChoices { get; }
8779+
8780+
[Export ("lineEndChoices")]
8781+
PSPDFAnnotationMenuConfigurationBuilderLineEndChoicesHandler LineEndChoices { get; }
8782+
8783+
[Export ("lineWidthChoices")]
8784+
PSPDFAnnotationMenuConfigurationBuilderChoicesHandler LineWidthChoices { get; }
8785+
}
86878786
}

PSPDFKit.iOS.UI/Enums.cs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -961,4 +961,22 @@ public enum PSPDFFastScrollDirection : long {
961961
Backward = -1,
962962
Forward = 1,
963963
}
964+
965+
[Native]
966+
public enum PSPDFAnnotationMenuConfigurationColorProperty : ulong {
967+
Color,
968+
FillColor,
969+
}
970+
971+
[Native]
972+
public enum PSPDFAnnotationMenuConfigurationLineEndProperty : ulong {
973+
LineEnd1,
974+
LineEnd2,
975+
}
976+
977+
[Native]
978+
public enum PSPDFEditMenuAppearance : long {
979+
HorizontalBar,
980+
ContextMenu,
981+
}
964982
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Xamarin PSPDFKit for iOS and Mac Bindings
22
=========================================
33

4-
- Xamarin.iOS Bindings for PSPDFKit 11.5.0 for iOS
4+
- Xamarin.iOS Bindings for PSPDFKit 12.0.1 for iOS
55
- Xamarin.Mac Bindings for PSPDFKit 5.1.0 for macOS
66

77
#### PSPDFKit

build.cake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ using System.Net.Http;
55
using System.Linq;
66
using Newtonsoft.Json.Linq;
77

8-
var IOSVERSION = Argument("iosversion", "11.5.0");
8+
var IOSVERSION = Argument("iosversion", "12.0.1");
99
var IOS_SERVICERELEASE_VERSION = "0"; // This is combined with the IOSVERSION variable for the NuGet Package version
1010

1111
var target = Argument ("target", "Default");

0 commit comments

Comments
 (0)