File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
TSPL.docc/ReferenceManual Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -920,6 +920,12 @@ for a method marked with the `objc` attribute.
920
920
921
921
### NSApplicationMain
922
922
923
+ > Note:
924
+ > This attribute is deprecated;
925
+ > use the < doc:Attributes:main > attribute instead.
926
+ > In Swift 6,
927
+ > using this attribute will be an error.
928
+
923
929
Apply this attribute to a class
924
930
to indicate that it's the application delegate.
925
931
Using this attribute is equivalent to calling the
@@ -2032,6 +2038,12 @@ The imported module must be compiled with testing enabled.
2032
2038
2033
2039
### UIApplicationMain
2034
2040
2041
+ > Note:
2042
+ > This attribute is deprecated;
2043
+ > use the < doc:Attributes:main > attribute instead.
2044
+ > In Swift 6,
2045
+ > using this attribute will be an error.
2046
+
2035
2047
Apply this attribute to a class
2036
2048
to indicate that it's the application delegate.
2037
2049
Using this attribute is equivalent to calling the
You can’t perform that action at this time.
0 commit comments