Skip to content

Commit

Permalink
[EventKit] Add support for Xcode 14 beta 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Israel Soto committed Jul 25, 2022
1 parent 811dde6 commit 3c4ad00
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 9 deletions.
7 changes: 6 additions & 1 deletion src/eventkit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

namespace EventKit {

[Mac (10,8), iOS (13,0), MacCatalyst (13,1), Watch (6,0), NoTV]
[BaseType (typeof (NSObject))]
[Abstract]
interface EKObject {
Expand Down Expand Up @@ -162,6 +163,10 @@ interface EKSource {

[Export ("calendarsForEntityType:")]
NSSet GetCalendars (EKEntityType entityType);

[Mac (13,0), iOS (16,0), MacCatalyst (16,0), Watch (9,0), NoTV]
[Export ("isDelegate", ArgumentSemantic.Assign)]
bool IsDelegate { get; }
}

[BaseType (typeof (EKObject))]
Expand Down Expand Up @@ -498,7 +503,7 @@ NativeHandle Constructor (EKRecurrenceFrequency type, nint interval, [NullAllowe

[BaseType (typeof (NSObject))]
interface EKEventStore {
[NoiOS, Mac (10,11), NoWatch, NoMacCatalyst]
[Mac (10,11), iOS (16,0), MacCatalyst (16,0), Watch (9,0), NoTV]
[Export ("initWithSources:")]
NativeHandle Constructor (EKSource[] sources);

Expand Down
2 changes: 0 additions & 2 deletions tests/xtro-sharpie/api-annotations-dotnet/iOS-EventKit.todo

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions tests/xtro-sharpie/iOS-EventKit.todo

This file was deleted.

1 change: 0 additions & 1 deletion tests/xtro-sharpie/macOS-EventKit.todo

This file was deleted.

2 changes: 0 additions & 2 deletions tests/xtro-sharpie/watchOS-EventKit.todo

This file was deleted.

0 comments on commit 3c4ad00

Please sign in to comment.