Skip to content

Commit

Permalink
Added new Xcode10 Watch Complication values (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
jstedfast committed Oct 17, 2018
1 parent e9e1bb1 commit 44b2fee
Showing 1 changed file with 27 additions and 7 deletions.
34 changes: 27 additions & 7 deletions Xamarin.MacDev/ManifestExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,18 @@ public static WatchComplicationSupportedFamilies GetCLKComplicationSupportedFami
case WatchComplicationSupportedFamiliesStrings.ExtraLarge:
supportedFamilies |= WatchComplicationSupportedFamilies.ExtraLarge;
break;
case WatchComplicationSupportedFamiliesStrings.GraphicCorner:
supportedFamilies |= WatchComplicationSupportedFamilies.GraphicCorner;
break;
case WatchComplicationSupportedFamiliesStrings.GraphicBezel:
supportedFamilies |= WatchComplicationSupportedFamilies.GraphicBezel;
break;
case WatchComplicationSupportedFamiliesStrings.GraphicCircular:
supportedFamilies |= WatchComplicationSupportedFamilies.GraphicCircular;
break;
case WatchComplicationSupportedFamiliesStrings.GraphicRectangular:
supportedFamilies |= WatchComplicationSupportedFamilies.GraphicRectangular;
break;
}
}

Expand Down Expand Up @@ -793,19 +805,27 @@ public static class WatchComplicationSupportedFamiliesStrings
public const string UtilitarianLarge = "CLKComplicationFamilyUtilitarianLarge";
public const string CircularSmall = "CLKComplicationFamilyCircularSmall";
public const string ExtraLarge = "CLKComplicationFamilyExtraLarge";
public const string GraphicCorner = "CLKComplicationFamilyGraphicCorner";
public const string GraphicBezel = "CLKComplicationFamilyGraphicBezel";
public const string GraphicCircular = "CLKComplicationFamilyGraphicCircular";
public const string GraphicRectangular = "CLKComplicationFamilyGraphicRectangular";
}

[Flags]
public enum WatchComplicationSupportedFamilies
{
None = 0,
ModularSmall = 1 << 0, // CLKComplicationFamilyModularSmall
ModularLarge = 1 << 1, // CLKComplicationFamilyModularLarge
UtilitarianSmall = 1 << 2, // CLKComplicationFamilyUtilitarianSmall
UtilitarianLarge = 1 << 3, // CLKComplicationFamilyUtilitarianLarge
CircularSmall = 1 << 4, // CLKComplicationFamilyCircularSmall
UtilitarianSmallFlat = 1 << 5, // CLKComplicationFamilyUtilitarianSmallFlat
ExtraLarge = 1 << 6, // CLKComplicationFamilyExtraLarge
ModularSmall = 1 << 0, // CLKComplicationFamilyModularSmall
ModularLarge = 1 << 1, // CLKComplicationFamilyModularLarge
UtilitarianSmall = 1 << 2, // CLKComplicationFamilyUtilitarianSmall
UtilitarianLarge = 1 << 3, // CLKComplicationFamilyUtilitarianLarge
CircularSmall = 1 << 4, // CLKComplicationFamilyCircularSmall
UtilitarianSmallFlat = 1 << 5, // CLKComplicationFamilyUtilitarianSmallFlat
ExtraLarge = 1 << 6, // CLKComplicationFamilyExtraLarge
GraphicCorner = 1 << 7, // CLKComplicationFamilyGraphicCorner
GraphicBezel = 1 << 8, // CLKComplicationFamilyGraphicBezel
GraphicCircular = 1 << 9, // CLKComplicationFamilyGraphicCircular
GraphicRectangular = 1 << 10, // CLKComplicationFamilyGraphicRectangular
}

public static class IPhoneOrientationStrings
Expand Down

0 comments on commit 44b2fee

Please sign in to comment.