Skip to content

Commit

Permalink
Merge branch 'fileprovider-xcode13-beta4' of github.com:mandel-macaqu…
Browse files Browse the repository at this point in the history
…e/xamarin-macios into fileprovider-xcode13-beta4
  • Loading branch information
mandel-macaque committed Jul 30, 2021
2 parents de060b7 + 44602ff commit 2f66da4
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/fileprovider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,8 @@ enum NSFileProviderError : long {
NonEvictable = -2008,
}

[Unavailable (PlatformName.MacCatalyst)]
[NoiOS, Mac (12,0), NoMacCatalyst]
[Native, Advice ("This API is not available when using UIKit on macOS.")]
[Native]
public enum NSFileProviderDomainRemovalMode : long {
RemoveAll = 0,
PreserveDirtyUserData = 1,
Expand Down Expand Up @@ -339,7 +338,6 @@ interface NSFileProviderDomain {
NSString DidChange { get; }

[NoWatch, NoTV, NoiOS, Mac (12, 0), NoMacCatalyst]
[Advice ("This API is not available when using UIKit on macOS.")]
[NullAllowed, Export ("backingStoreIdentity")]
NSData BackingStoreIdentity { get; }
}
Expand Down Expand Up @@ -557,7 +555,6 @@ interface NSFileProviderItem {

#if MONOMAC
[NoiOS, Mac (12, 0), NoMacCatalyst]
[Advice ("This API is not available when using UIKit on macOS.")]
[Export ("typeAndCreator")]
NSFileProviderTypeAndCreator TypeAndCreator { get; }
#endif
Expand Down Expand Up @@ -840,7 +837,7 @@ enum NSFileProviderItemFields : ulong {
ContentModificationDate = 1uL << 7,
FileSystemFlags = 1uL << 8,
ExtendedAttributes = 1uL << 9,
[Mac (12,0)
[Mac (12,0)]
TypeAndCreator = 1uL << 10,
}

Expand Down Expand Up @@ -1028,7 +1025,6 @@ interface NSFileProviderDomainState {
NSDictionary UserInfo { get; }
}

[Advice ("This API is not available when using UIKit on macOS.")]
[NoWatch, NoTV, iOS (15,0), Mac (12,0), NoMacCatalyst]
[Flags]
[Native]
Expand Down Expand Up @@ -1290,8 +1286,7 @@ interface NSFileProviderTestingCollisionResolution : NSFileProviderTestingOperat
}

[NoWatch, NoTV, NoiOS, Mac (12,0), NoMacCatalyst]
[Protocol, Advice ("This API is not available when using UIKit on macOS.")]
[BaseType (typeof (NSObject))]
[Protocol]
interface NSFileProviderUserInteractionSuppressing
{
[Abstract]
Expand Down

0 comments on commit 2f66da4

Please sign in to comment.