-
Notifications
You must be signed in to change notification settings - Fork 516
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Symbols] Add support for the new Xcode 15 Symbols framework. (#18642)
Co-authored-by: GitHub Actions Autoformatter <github-actions-autoformatter@xamarin.com> Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com> Co-authored-by: Alex Soto <alex@alexsoto.me>
- Loading branch information
1 parent
7988d05
commit d5d14f6
Showing
21 changed files
with
246 additions
and
399 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,225 @@ | ||
using CoreFoundation; | ||
using ObjCRuntime; | ||
using Foundation; | ||
|
||
using System; | ||
|
||
namespace Symbols { | ||
[Watch (10, 0), TV (17, 0), Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] | ||
[BaseType (typeof (NSObject))] | ||
[DisableDefaultCtor] | ||
interface NSSymbolEffect : NSCopying, NSSecureCoding { } | ||
|
||
[Watch (10, 0), TV (17, 0), Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] | ||
[BaseType (typeof (NSObject))] | ||
[DisableDefaultCtor] | ||
interface NSSymbolContentTransition : NSCopying, NSSecureCoding { } | ||
|
||
[Watch (10, 0), TV (17, 0), Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] | ||
[BaseType (typeof (NSObject))] | ||
[DisableDefaultCtor] | ||
interface NSSymbolEffectOptions : NSCopying, NSSecureCoding { | ||
[Static] | ||
[Export ("options")] | ||
NSSymbolEffectOptions Create (); | ||
|
||
[Static] | ||
[Export ("optionsWithRepeating")] | ||
NSSymbolEffectOptions CreateRepeating (); | ||
|
||
[Export ("optionsWithRepeating")] | ||
NSSymbolEffectOptions GetRepeating (); | ||
|
||
[Static] | ||
[Export ("optionsWithNonRepeating")] | ||
NSSymbolEffectOptions CreateNonRepeating (); | ||
|
||
[Export ("optionsWithNonRepeating")] | ||
NSSymbolEffectOptions GetNonRepeating (); | ||
|
||
[Static] | ||
[Export ("optionsWithRepeatCount:")] | ||
NSSymbolEffectOptions Create (nint repeatCount); | ||
|
||
[Export ("optionsWithRepeatCount:")] | ||
NSSymbolEffectOptions Get (nint repeatCount); | ||
|
||
[Static] | ||
[Export ("optionsWithSpeed:")] | ||
NSSymbolEffectOptions Create (double speed); | ||
|
||
[Export ("optionsWithSpeed:")] | ||
NSSymbolEffectOptions Get (double speed); | ||
} | ||
|
||
[Watch (10, 0), TV (17, 0), Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] | ||
[BaseType (typeof (NSSymbolEffect))] | ||
[DisableDefaultCtor] | ||
interface NSSymbolPulseEffect { | ||
[Static] | ||
[Export ("effect")] | ||
NSSymbolPulseEffect Create (); | ||
|
||
[Export ("effectWithByLayer")] | ||
NSSymbolPulseEffect ByLayer { get; } | ||
|
||
[Export ("effectWithWholeSymbol")] | ||
NSSymbolPulseEffect WholeSymbol { get; } | ||
} | ||
|
||
[Watch (10, 0), TV (17, 0), Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] | ||
[BaseType (typeof (NSSymbolEffect))] | ||
[DisableDefaultCtor] | ||
interface NSSymbolBounceEffect { | ||
[Static] | ||
[Export ("effect")] | ||
NSSymbolBounceEffect Create (); | ||
|
||
[Static] | ||
[Export ("bounceUpEffect")] | ||
NSSymbolBounceEffect CreateBounceUpEffect (); | ||
|
||
[Static] | ||
[Export ("bounceDownEffect")] | ||
NSSymbolBounceEffect CreateBounceDownEffect (); | ||
|
||
[Export ("effectWithByLayer")] | ||
NSSymbolBounceEffect ByLayer { get; } | ||
|
||
[Export ("effectWithWholeSymbol")] | ||
NSSymbolBounceEffect WholeSymbol { get; } | ||
} | ||
|
||
[Watch (10, 0), TV (17, 0), Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] | ||
[BaseType (typeof (NSSymbolEffect))] | ||
[DisableDefaultCtor] | ||
interface NSSymbolVariableColorEffect { | ||
[Static] | ||
[Export ("effect")] | ||
NSSymbolVariableColorEffect Create (); | ||
|
||
[Export ("effectWithIterative")] | ||
NSSymbolVariableColorEffect Iterative { get; } | ||
|
||
[Export ("effectWithCumulative")] | ||
NSSymbolVariableColorEffect Cumulative { get; } | ||
|
||
[Export ("effectWithReversing")] | ||
NSSymbolVariableColorEffect Reversing { get; } | ||
|
||
[Export ("effectWithNonReversing")] | ||
NSSymbolVariableColorEffect NonReversing { get; } | ||
|
||
[Export ("effectWithHideInactiveLayers")] | ||
NSSymbolVariableColorEffect HideInactiveLayers { get; } | ||
|
||
[Export ("effectWithDimInactiveLayers")] | ||
NSSymbolVariableColorEffect DimInactiveLayers { get; } | ||
} | ||
|
||
[Watch (10, 0), TV (17, 0), Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] | ||
[BaseType (typeof (NSSymbolEffect))] | ||
[DisableDefaultCtor] | ||
interface NSSymbolScaleEffect { | ||
[Static] | ||
[Export ("effect")] | ||
NSSymbolScaleEffect Create (); | ||
|
||
[Static] | ||
[Export ("scaleUpEffect")] | ||
NSSymbolScaleEffect CreateScaleUpEffect (); | ||
|
||
[Static] | ||
[Export ("scaleDownEffect")] | ||
NSSymbolScaleEffect CreateScaleDownEffect (); | ||
|
||
[Export ("effectWithByLayer")] | ||
NSSymbolScaleEffect ByLayer { get; } | ||
|
||
[Export ("effectWithWholeSymbol")] | ||
NSSymbolScaleEffect WholeSymbol { get; } | ||
} | ||
|
||
[Watch (10, 0), TV (17, 0), Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] | ||
[BaseType (typeof (NSSymbolEffect))] | ||
[DisableDefaultCtor] | ||
interface NSSymbolAppearEffect { | ||
[Static] | ||
[Export ("effect")] | ||
NSSymbolAppearEffect Create (); | ||
|
||
[Static] | ||
[Export ("appearUpEffect")] | ||
NSSymbolAppearEffect CreateAppearUpEffect (); | ||
|
||
[Static] | ||
[Export ("appearDownEffect")] | ||
NSSymbolAppearEffect CreateAppearDownEffect (); | ||
|
||
[Export ("effectWithByLayer")] | ||
NSSymbolAppearEffect ByLayer { get; } | ||
|
||
[Export ("effectWithWholeSymbol")] | ||
NSSymbolAppearEffect WholeSymbol { get; } | ||
} | ||
|
||
[Watch (10, 0), TV (17, 0), Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] | ||
[BaseType (typeof (NSSymbolEffect))] | ||
[DisableDefaultCtor] | ||
interface NSSymbolDisappearEffect { | ||
[Static] | ||
[Export ("effect")] | ||
NSSymbolDisappearEffect Create (); | ||
|
||
[Static] | ||
[Export ("disappearUpEffect")] | ||
NSSymbolDisappearEffect CreateDisappearUpEffect (); | ||
|
||
[Static] | ||
[Export ("disappearDownEffect")] | ||
NSSymbolDisappearEffect CreateDisappearDownEffect (); | ||
|
||
[Export ("effectWithByLayer")] | ||
NSSymbolDisappearEffect ByLayer { get; } | ||
|
||
[Export ("effectWithWholeSymbol")] | ||
NSSymbolDisappearEffect WholeSymbol { get; } | ||
} | ||
|
||
[Watch (10, 0), TV (17, 0), Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] | ||
[BaseType (typeof (NSSymbolContentTransition))] | ||
[DisableDefaultCtor] | ||
interface NSSymbolReplaceContentTransition { | ||
[Static] | ||
[Export ("transition")] | ||
NSSymbolReplaceContentTransition Create (); | ||
|
||
[Static] | ||
[Export ("replaceDownUpTransition")] | ||
NSSymbolReplaceContentTransition CreateReplaceDownUpTransition (); | ||
|
||
[Static] | ||
[Export ("replaceUpUpTransition")] | ||
NSSymbolReplaceContentTransition CreateReplaceUpUpTransition (); | ||
|
||
[Static] | ||
[Export ("replaceOffUpTransition")] | ||
NSSymbolReplaceContentTransition CreateReplaceOffUpTransition (); | ||
|
||
[Export ("transitionWithByLayer")] | ||
NSSymbolReplaceContentTransition ByLayer { get; } | ||
|
||
[Export ("transitionWithWholeSymbol")] | ||
NSSymbolReplaceContentTransition WholeSymbol { get; } | ||
} | ||
|
||
[Watch (10, 0), TV (17, 0), Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] | ||
[BaseType (typeof (NSSymbolContentTransition))] | ||
[DisableDefaultCtor] | ||
interface NSSymbolAutomaticContentTransition { | ||
[Static] | ||
[Export ("transition")] | ||
NSSymbolAutomaticContentTransition Create (); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 0 additions & 57 deletions
57
tests/xtro-sharpie/api-annotations-dotnet/iOS-Symbols.todo
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
This comment was marked as outdated.
Sorry, something went wrong.