Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/UIKit/UIEnums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4937,4 +4937,11 @@ public enum UIViewLayoutRegionAdaptivityAxis : long {
Horizontal,
Vertical,
}

[TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)]
[Native]
public enum UIGlassEffectStyle : long {
Regular,
Clear,
}
}
108 changes: 108 additions & 0 deletions src/uikit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8108,6 +8108,11 @@ interface UIDocument : NSFilePresenter, NSProgressReporting, UIUserActivityResto
[Notification]
NSString StateChangedNotification { get; }

[MacCatalyst (26, 0), NoTV, iOS (26, 0)]
[Notification]
[Field ("UIDocumentDidMoveToWritableLocationNotification")]
NSString DidMoveToWritableLocationNotification { get; }

// ActivityContinuation Category
[MacCatalyst (13, 1)]
[Export ("userActivity", ArgumentSemantic.Retain)]
Expand All @@ -8127,6 +8132,9 @@ interface UIDocument : NSFilePresenter, NSProgressReporting, UIUserActivityResto
[Field ("NSUserActivityDocumentURLKey")]
NSString UserActivityDocumentUrlKey { get; }

[MacCatalyst (26, 0), NoTV, iOS (26, 0)]
[Field ("UIDocumentDidMoveToWritableLocationOldURLKey")]
NSString DidMoveToWritableLocationOldUrlKey { get; }
}

interface IUIDynamicAnimatorDelegate { }
Expand Down Expand Up @@ -17333,6 +17341,10 @@ interface UISearchBarDelegate {
<remarks>If developers do not assign a value to this event, this will reset the value for the WeakDelegate property to an internal handler that maps delegates to events.</remarks>
""")]
void ListButtonClicked (UISearchBar searchBar);

[MacCatalyst (26, 0), TV (26, 0), iOS (26, 0)]
[Export ("searchBar:shouldChangeTextInRanges:replacementText:"), IgnoredInDelegate]
bool ShouldChangeText (UISearchBar searchBar, NSValue [] ranges, string replacementText);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
bool ShouldChangeTextInRanges (UISearchBar searchBar, NSValue [] ranges, string replacementText);
bool ShouldChangeText (UISearchBar searchBar, NSValue [] ranges, string replacementText);

}

[MacCatalyst (13, 1)]
Expand Down Expand Up @@ -22959,6 +22971,14 @@ interface UIView : UIAppearance, UIAppearanceContainer, UIAccessibility, UIDynam
[iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)]
[Export ("layoutGuideForLayoutRegion:")]
UILayoutGuide GetLayoutGuide (UIViewLayoutRegion layoutRegion);

[iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)]
[Export ("cornerConfiguration", ArgumentSemantic.Copy)]
UICornerConfiguration CornerConfiguration { get; set; }

[iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)]
[Export ("effectiveRadiusForCorner:")]
nfloat SetEffectiveRadius (UIRectCorner corner);
}

/// <summary>Class that implements a text field in a view.</summary>
Expand Down Expand Up @@ -27101,6 +27121,10 @@ interface UIGlassEffect {

[NullAllowed, Export ("tintColor", ArgumentSemantic.Copy)]
UIColor TintColor { get; set; }

[Static]
[Export ("effectWithStyle:")]
UIGlassEffect Create (UIGlassEffectStyle style);
}

[TV (26, 0), iOS (26, 0), MacCatalyst (26, 0)]
Expand Down Expand Up @@ -35046,6 +35070,21 @@ interface UIButtonConfiguration : NSCopying, NSSecureCoding {
[Export ("symbolContentTransition", ArgumentSemantic.Strong)]
[NullAllowed]
NSSymbolContentTransition SymbolContentTransition { get; set; }

[iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)]
[Static]
[Export ("clearGlassButtonConfiguration")]
UIButtonConfiguration ClearGlassButtonConfiguration { get; }

[iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)]
[Static]
[Export ("prominentClearGlassButtonConfiguration")]
UIButtonConfiguration ProminentClearGlassButtonConfiguration { get; }

[iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)]
[Static]
[Export ("prominentGlassButtonConfiguration")]
UIButtonConfiguration ProminentGlassButtonConfiguration { get; }
}

[NoTV, iOS (15, 0), MacCatalyst (15, 0)]
Expand Down Expand Up @@ -38940,4 +38979,73 @@ interface UITraitSplitViewControllerLayoutEnvironment : UINSIntegerTraitDefiniti
interface UITraitTabAccessoryEnvironment : UINSIntegerTraitDefinition {

}

[TV (26, 0), MacCatalyst (26, 0), iOS (26, 0)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
interface UICornerConfiguration : NSCopying {
// Following Swift naming suggestions in all of these methods below.

[Static]
[Export ("configurationWithRadius:")]
UICornerConfiguration CreateCorners (UICornerRadius radius);

[Static]
[Export ("configurationWithTopLeftRadius:topRightRadius:bottomLeftRadius:bottomRightRadius:")]
UICornerConfiguration CreateCorners ([NullAllowed] UICornerRadius topLeftRadius, [NullAllowed] UICornerRadius topRightRadius, [NullAllowed] UICornerRadius bottomLeftRadius, [NullAllowed] UICornerRadius bottomRightRadius);

[Static]
[Export ("capsuleConfiguration")]
UICornerConfiguration CreateCapsule ();

[Static]
[Export ("capsuleConfigurationWithMaximumRadius:")]
UICornerConfiguration CreateCapsule (nfloat maximumRadius);

[Static]
[Export ("configurationWithUniformRadius:")]
UICornerConfiguration CreateUniformCorners (UICornerRadius radius);

[Static]
[Export ("configurationWithUniformTopRadius:uniformBottomRadius:")]
UICornerConfiguration CreateUniformEdgesTopBottom (UICornerRadius topRadius, UICornerRadius bottomRadius);

[Static]
[Export ("configurationWithUniformLeftRadius:uniformRightRadius:")]
UICornerConfiguration CreateUniformEdgesLeftRight (UICornerRadius leftRadius, UICornerRadius rightRadius);

[Static]
[Export ("configurationWithUniformTopRadius:bottomLeftRadius:bottomRightRadius:")]
UICornerConfiguration CreateUniformTopRadius (UICornerRadius topRadius, [NullAllowed] UICornerRadius bottomLeftRadius, [NullAllowed] UICornerRadius bottomRightRadius);

[Static]
[Export ("configurationWithUniformBottomRadius:topLeftRadius:topRightRadius:")]
UICornerConfiguration CreateUniformBottomRadius (UICornerRadius bottomRadius, [NullAllowed] UICornerRadius topLeftRadius, [NullAllowed] UICornerRadius topRightRadius);

[Static]
[Export ("configurationWithUniformLeftRadius:topRightRadius:bottomRightRadius:")]
UICornerConfiguration CreateUniformLeftRadius (UICornerRadius leftRadius, [NullAllowed] UICornerRadius topRightRadius, [NullAllowed] UICornerRadius bottomRightRadius);

[Static]
[Export ("configurationWithUniformRightRadius:topLeftRadius:bottomLeftRadius:")]
UICornerConfiguration CreateUniformRightRadius (UICornerRadius rightRadius, [NullAllowed] UICornerRadius topLeftRadius, [NullAllowed] UICornerRadius bottomLeftRadius);
}

[TV (26, 0), MacCatalyst (26, 0), iOS (26, 0)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
interface UICornerRadius : NSCopying {

[Static]
[Export ("fixedRadius:")]
UICornerRadius CreateFixed (nfloat radius);

[Static]
[Export ("containerConcentricRadius")]
UICornerRadius CreateContainerConcentric ();

[Static]
[Export ("containerConcentricRadiusWithMinimum:")]
UICornerRadius CreateContainerConcentric (nfloat minimum);
}
}
27 changes: 0 additions & 27 deletions tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-UIKit.todo

This file was deleted.

27 changes: 0 additions & 27 deletions tests/xtro-sharpie/api-annotations-dotnet/iOS-UIKit.todo

This file was deleted.

25 changes: 0 additions & 25 deletions tests/xtro-sharpie/api-annotations-dotnet/tvOS-UIKit.todo

This file was deleted.

Loading