Skip to content

Commit 8a52afa

Browse files
authored
[UIKit] Update to Xcode 26.1 beta 2. (#24013)
1 parent b3e47f7 commit 8a52afa

File tree

5 files changed

+22
-10
lines changed

5 files changed

+22
-10
lines changed

src/uikit.cs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30482,10 +30482,14 @@ interface UIDocumentBrowserAction {
3048230482
[Export ("supportsMultipleItems")]
3048330483
bool SupportsMultipleItems { get; set; }
3048430484

30485+
#if !XAMCORE_5_0
3048530486
[NullAllowed]
3048630487
[NoTV, iOS (26, 0), MacCatalyst (26, 0)]
30488+
[Obsoleted (PlatformName.iOS, 26, 1, "This API has been removed.")]
30489+
[Obsoleted (PlatformName.MacCatalyst, 26, 1, "This API has been removed.")]
3048730490
[Export ("imageOnlyForContextMenu", ArgumentSemantic.Strong)]
3048830491
UIImage ImageOnlyForContextMenu { get; set; }
30492+
#endif
3048930493
}
3049030494

3049130495
interface IUIFocusItemContainer { }
@@ -37319,6 +37323,11 @@ interface UITabGroup {
3731937323

3732037324
[Export ("initWithTitle:image:identifier:children:viewControllerProvider:")]
3732137325
NativeHandle Constructor (string title, [NullAllowed] UIImage image, string identifier, UITab [] children, [NullAllowed] Func<UITab, UIViewController> viewControllerProvider);
37326+
37327+
// Header says available in iOS 26.0+, but let's use the actual version when it was released instead.
37328+
[NoTV, iOS (26, 1), MacCatalyst (26, 1)]
37329+
[Export ("isSidebarDestination")]
37330+
bool IsSidebarDestination { get; set; }
3732237331
}
3732337332

3732437333
[NoTV, iOS (18, 0), MacCatalyst (18, 0)]
@@ -38401,4 +38410,14 @@ interface UICornerRadius : NSCopying {
3840138410
[Export ("containerConcentricRadiusWithMinimum:")]
3840238411
UICornerRadius CreateContainerConcentric (nfloat minimum);
3840338412
}
38413+
38414+
// Header says available in iOS 11+, but I don't believe that
38415+
[iOS (26, 1), TV (26, 1), MacCatalyst (26, 1)]
38416+
[BaseType (typeof (UIVisualEffect))]
38417+
[DisableDefaultCtor]
38418+
interface UIColorEffect {
38419+
[Static]
38420+
[Export ("effectWithColor:")]
38421+
UIColorEffect Create ([NullAllowed] UIColor color);
38422+
}
3840438423
}

tests/cecil-tests/Documentation.KnownFailures.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17068,6 +17068,7 @@ M:UIKit.UICollisionBehavior.remove_BeganContact(System.EventHandler{UIKit.UIColl
1706817068
M:UIKit.UICollisionBehavior.remove_EndedBoundaryContact(System.EventHandler{UIKit.UICollisionEndedBoundaryContactEventArgs})
1706917069
M:UIKit.UICollisionBehavior.remove_EndedContact(System.EventHandler{UIKit.UICollisionEndedContactEventArgs})
1707017070
M:UIKit.UIColor.LoadDataAsync(System.String,Foundation.NSProgress@)
17071+
M:UIKit.UIColorEffect.Create(UIKit.UIColor)
1707117072
M:UIKit.UIColorPickerViewController.Dispose(System.Boolean)
1707217073
M:UIKit.UIColorPickerViewControllerDelegate_Extensions.DidFinish(UIKit.IUIColorPickerViewControllerDelegate,UIKit.UIColorPickerViewController)
1707317074
M:UIKit.UIColorPickerViewControllerDelegate_Extensions.DidSelectColor(UIKit.IUIColorPickerViewControllerDelegate,UIKit.UIColorPickerViewController,UIKit.UIColor,System.Boolean)
@@ -24270,6 +24271,7 @@ P:UIKit.UITabBarSelectionEventArgs.ViewController
2427024271
P:UIKit.UITabBarTabSelectionEventArgs.PreviousTab
2427124272
P:UIKit.UITabBarTabSelectionEventArgs.Tab
2427224273
P:UIKit.UITabBarTabVisibilityChangeEventArgs.Tabs
24274+
P:UIKit.UITabGroup.IsSidebarDestination
2427324275
P:UIKit.UITableView.PrefetchingEnabled
2427424276
P:UIKit.UITableViewCell.UITableViewCellAppearance.FocusStyle
2427524277
P:UIKit.UITableViewCell.UITableViewCellAppearance.SeparatorInset
@@ -28528,6 +28530,7 @@ T:UIKit.UICollectionViewDiffableDataSourceSupplementaryViewProvider
2852828530
T:UIKit.UICollectionViewFlowLayoutSectionInsetReference
2852928531
T:UIKit.UICollectionViewSelfSizingInvalidation
2853028532
T:UIKit.UICollectionViewSupplementaryRegistrationConfigurationHandler
28533+
T:UIKit.UIColorEffect
2853128534
T:UIKit.UIColorProminence
2853228535
T:UIKit.UIConfigurationColorTransformer
2853328536
T:UIKit.UIConfigurationColorTransformerHandler

tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-UIKit.todo

Lines changed: 0 additions & 4 deletions
This file was deleted.

tests/xtro-sharpie/api-annotations-dotnet/iOS-UIKit.todo

Lines changed: 0 additions & 4 deletions
This file was deleted.

tests/xtro-sharpie/api-annotations-dotnet/tvOS-UIKit.todo

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)