Skip to content

Commit 76d693b

Browse files
[clockkit] Add missing 'CLKComplicationFamily' enum values
From Xcode 10 GM API diff: https://github.com/xamarin/xamarin-macios/wiki/ClockKit-watchOS-xcode10-GM ``` diff --- /Applications/Xcode10-beta6.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKDefines.h 2018-08-10 17:39:53.000000000 -0400 +++ /Applications/Xcode10GM.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/ClockKit.framework/Headers/CLKDefines.h 2018-08-29 05:55:06.000000000 -0400 @@ -19,6 +19,10 @@ CLKComplicationFamilyCircularSmall = 4, CLKComplicationFamilyExtraLarge CLK_AVAILABLE_WATCHOS_IOS(3_0, 10_0) = 7, + CLKComplicationFamilyGraphicCorner CLK_AVAILABLE_WATCHOS_IOS(5_0, 12_0) = 8, + CLKComplicationFamilyGraphicBezel CLK_AVAILABLE_WATCHOS_IOS(5_0, 12_0) = 9, + CLKComplicationFamilyGraphicCircular CLK_AVAILABLE_WATCHOS_IOS(5_0, 12_0) = 10, + CLKComplicationFamilyGraphicRectangular CLK_AVAILABLE_WATCHOS_IOS(5_0, 12_0) = 11, }; ``` These are important enum values related to the new "graphic" complications types.
1 parent 422da1f commit 76d693b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/ClockKit/CLKEnums.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@ public enum CLKComplicationFamily : long {
2424
UtilitarianSmallFlat = 6,
2525
[Watch (3,0)]
2626
ExtraLarge = 7,
27+
[Watch (5,0)]
28+
GraphicCorner = 8,
29+
[Watch (5,0)]
30+
GraphicBezel = 9,
31+
[Watch (5,0)]
32+
GraphicCircular = 10,
33+
[Watch (5,0)]
34+
GraphicRectangular = 11,
2735
}
2836

2937
[Native]

0 commit comments

Comments
 (0)