Skip to content

Commit

Permalink
update swift 6 prod, remove beta
Browse files Browse the repository at this point in the history
  • Loading branch information
OneeMe committed Nov 27, 2024
1 parent 42b8293 commit 805fed6
Show file tree
Hide file tree
Showing 77 changed files with 8 additions and 463 deletions.
File renamed without changes
6 changes: 0 additions & 6 deletions TSPL.docc/GuidedTour/AboutSwift.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,6 @@ Swift continues to evolve with thoughtful new features and powerful capabilities
The goals for Swift are ambitious.
We can’t wait to see what you create with it.

> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
<!--
This source file is part of the Swift.org open source project
Expand Down
6 changes: 0 additions & 6 deletions TSPL.docc/GuidedTour/Compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,6 @@ that's divided into multiple frameworks,
you can migrate your code to a newer language version
one framework at a time.

> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
<!--
This source file is part of the Swift.org open source project
Expand Down
6 changes: 0 additions & 6 deletions TSPL.docc/GuidedTour/GuidedTour.md
Original file line number Diff line number Diff line change
Expand Up @@ -2449,12 +2449,6 @@ anyCommonElements([1, 2, 3], [3])
Writing `<T: Equatable>`
is the same as writing `<T> ... where T: Equatable`.

> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
<!--
This source file is part of the Swift.org open source project
Expand Down
6 changes: 0 additions & 6 deletions TSPL.docc/LanguageGuide/AccessControl.md
Original file line number Diff line number Diff line change
Expand Up @@ -1508,12 +1508,6 @@ but a public type alias can't alias an internal, file-private, or private type.
```
-->

> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
<!--
This source file is part of the Swift.org open source project
Expand Down
6 changes: 0 additions & 6 deletions TSPL.docc/LanguageGuide/AdvancedOperators.md
Original file line number Diff line number Diff line change
Expand Up @@ -1561,12 +1561,6 @@ see <doc:Attributes#resultBuilder>.
TODO: generic operators
-->

> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
<!--
This source file is part of the Swift.org open source project
Expand Down
6 changes: 0 additions & 6 deletions TSPL.docc/LanguageGuide/AutomaticReferenceCounting.md
Original file line number Diff line number Diff line change
Expand Up @@ -1512,12 +1512,6 @@ paragraph = nil
For more information about capture lists,
see <doc:Expressions#Capture-Lists>.

> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
<!--
This source file is part of the Swift.org open source project
Expand Down
6 changes: 0 additions & 6 deletions TSPL.docc/LanguageGuide/BasicOperators.md
Original file line number Diff line number Diff line change
Expand Up @@ -1231,12 +1231,6 @@ but the overall intention is clearer to the reader.
Readability is always preferred over brevity;
use parentheses where they help to make your intentions clear.

> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
<!--
This source file is part of the Swift.org open source project
Expand Down
6 changes: 0 additions & 6 deletions TSPL.docc/LanguageGuide/ClassesAndStructures.md
Original file line number Diff line number Diff line change
Expand Up @@ -710,12 +710,6 @@ see [Manual Memory Management](https://developer.apple.com/documentation/swift/s
QUESTION: what's the deal with tuples and reference types / value types?
-->

> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
<!--
This source file is part of the Swift.org open source project
Expand Down
6 changes: 0 additions & 6 deletions TSPL.docc/LanguageGuide/Closures.md
Original file line number Diff line number Diff line change
Expand Up @@ -1333,12 +1333,6 @@ As a result,
the value of the `customerProvider` argument
must be allowed to escape the function's scope.

> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
<!--
This source file is part of the Swift.org open source project
Expand Down
6 changes: 0 additions & 6 deletions TSPL.docc/LanguageGuide/CollectionTypes.md
Original file line number Diff line number Diff line change
Expand Up @@ -1469,12 +1469,6 @@ Swift's `Dictionary` type doesn't have a defined ordering.
To iterate over the keys or values of a dictionary in a specific order,
use the `sorted()` method on its `keys` or `values` property.

> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
<!--
This source file is part of the Swift.org open source project
Expand Down
6 changes: 0 additions & 6 deletions TSPL.docc/LanguageGuide/ControlFlow.md
Original file line number Diff line number Diff line change
Expand Up @@ -2259,12 +2259,6 @@ when the check contains only fallback code.
You can use it with if-let, and other Boolean conditions, using a comma
-->

> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).

<!--
This source file is part of the Swift.org open source project

Expand Down
6 changes: 0 additions & 6 deletions TSPL.docc/LanguageGuide/Deinitialization.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,12 +242,6 @@ and so it's deallocated in order to free up its memory.
Just before this happens, its deinitializer is called automatically,
and its coins are returned to the bank.

> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
<!--
This source file is part of the Swift.org open source project
Expand Down
6 changes: 0 additions & 6 deletions TSPL.docc/LanguageGuide/Enumerations.md
Original file line number Diff line number Diff line change
Expand Up @@ -830,12 +830,6 @@ by evaluating the expression on the left-hand side,
evaluating the expression on the right-hand side,
and then adding them or multiplying them.

> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
<!--
This source file is part of the Swift.org open source project
Expand Down
6 changes: 0 additions & 6 deletions TSPL.docc/LanguageGuide/ErrorHandling.md
Original file line number Diff line number Diff line change
Expand Up @@ -982,12 +982,6 @@ even when no error handling code is involved.
For more information,
see <doc:ControlFlow#Deferred-Actions>.

> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
<!--
This source file is part of the Swift.org open source project
Expand Down
6 changes: 0 additions & 6 deletions TSPL.docc/LanguageGuide/Extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -682,12 +682,6 @@ and prints an appropriate description.
> can be written in shorthand form inside the `switch` statement,
> such as `.negative` rather than `Int.Kind.negative`.
> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
<!--
This source file is part of the Swift.org open source project
Expand Down
6 changes: 0 additions & 6 deletions TSPL.docc/LanguageGuide/Functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -1304,12 +1304,6 @@ print("zero!")
```
-->

> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
<!--
This source file is part of the Swift.org open source project
Expand Down
6 changes: 0 additions & 6 deletions TSPL.docc/LanguageGuide/Generics.md
Original file line number Diff line number Diff line change
Expand Up @@ -1964,12 +1964,6 @@ is a sequence of integers.
TODO: Describe how Optional<Wrapped> works
-->

> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
<!--
This source file is part of the Swift.org open source project
Expand Down
6 changes: 0 additions & 6 deletions TSPL.docc/LanguageGuide/Inheritance.md
Original file line number Diff line number Diff line change
Expand Up @@ -607,12 +607,6 @@ Any attempt to subclass a final class is reported as a compile-time error.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-->

> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
<!--
This source file is part of the Swift.org open source project
Expand Down
6 changes: 0 additions & 6 deletions TSPL.docc/LanguageGuide/Initialization.md
Original file line number Diff line number Diff line change
Expand Up @@ -2954,12 +2954,6 @@ print(board.squareIsBlackAt(row: 7, column: 7))
```
-->

> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
<!--
This source file is part of the Swift.org open source project
Expand Down
6 changes: 0 additions & 6 deletions TSPL.docc/LanguageGuide/Macros.md
Original file line number Diff line number Diff line change
Expand Up @@ -765,12 +765,6 @@ in no particular order:
- `TokenSyntax`
-->

> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
<!--
This source file is part of the Swift.org open source project
Expand Down
6 changes: 0 additions & 6 deletions TSPL.docc/LanguageGuide/Methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -650,12 +650,6 @@ if player.tracker.advance(to: 6) {
(see Doug's comments from the 2014-03-12 release notes)
-->

> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
<!--
This source file is part of the Swift.org open source project
Expand Down
6 changes: 0 additions & 6 deletions TSPL.docc/LanguageGuide/NestedTypes.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,6 @@ For the example above,
this enables the names of `Suit`, `Rank`, and `Values` to be kept deliberately short,
because their names are naturally qualified by the context in which they're defined.

> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
<!--
This source file is part of the Swift.org open source project
Expand Down
6 changes: 0 additions & 6 deletions TSPL.docc/LanguageGuide/OpaqueTypes.md
Original file line number Diff line number Diff line change
Expand Up @@ -921,12 +921,6 @@ which means that the type of `twelve` is also inferred to be `Int`.
}
-->

> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
<!--
This source file is part of the Swift.org open source project
Expand Down
6 changes: 0 additions & 6 deletions TSPL.docc/LanguageGuide/OptionalChaining.md
Original file line number Diff line number Diff line change
Expand Up @@ -883,12 +883,6 @@ if let beginsWithThe =
the sugar for optional protocol requirements works.
-->

> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
<!--
This source file is part of the Swift.org open source project
Expand Down
6 changes: 0 additions & 6 deletions TSPL.docc/LanguageGuide/Properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -2060,12 +2060,6 @@ print(AudioChannel.maxInputLevelForAllChannels)
```
-->

> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
<!--
This source file is part of the Swift.org open source project
Expand Down
6 changes: 0 additions & 6 deletions TSPL.docc/LanguageGuide/Protocols.md
Original file line number Diff line number Diff line change
Expand Up @@ -2485,12 +2485,6 @@ print(differentNumbers.allEqual())
Checking for (and calling) optional implementations via optional binding and closures
-->

> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
<!--
This source file is part of the Swift.org open source project
Expand Down
6 changes: 0 additions & 6 deletions TSPL.docc/LanguageGuide/StringsAndCharacters.md
Original file line number Diff line number Diff line change
Expand Up @@ -1785,12 +1785,6 @@ for scalar in dogString.unicodeScalars {
```
-->

> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
<!--
This source file is part of the Swift.org open source project
Expand Down
6 changes: 0 additions & 6 deletions TSPL.docc/LanguageGuide/Subscripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -422,12 +422,6 @@ print(mars)
```
-->

> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
<!--
This source file is part of the Swift.org open source project
Expand Down
6 changes: 0 additions & 6 deletions TSPL.docc/LanguageGuide/TheBasics.md
Original file line number Diff line number Diff line change
Expand Up @@ -2147,12 +2147,6 @@ by one of the switch's other cases.
but doesn't stop at assertions.
-->

> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
<!--
This source file is part of the Swift.org open source project
Expand Down
6 changes: 0 additions & 6 deletions TSPL.docc/LanguageGuide/TypeCasting.md
Original file line number Diff line number Diff line change
Expand Up @@ -522,12 +522,6 @@ for thing in things {
```
-->
> Beta Software:
>
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
>
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
<!--
This source file is part of the Swift.org open source project
Expand Down
Loading

0 comments on commit 805fed6

Please sign in to comment.