Skip to content

Commit 0021d38

Browse files
authored
Merge branch 'swiftlang:main' into main
2 parents d3906b6 + b57ec7b commit 0021d38

File tree

18 files changed

+57
-258
lines changed

18 files changed

+57
-258
lines changed

404.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ title: Internal Server Error
44
permalink: /404.html
55
---
66

7-
<section class="section">
8-
<h1>Not Found</h1>
9-
The page you're looking for can’t be found.
7+
<section id="exception">
8+
<div class="content">
9+
<h1>Not Found</h1>
10+
<p>The page you're looking for can’t be found.</p>
11+
</div>
1012
</section>

_data/documentation.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@
3939
url: /documentation/server/
4040
description: |
4141
Swift is a general-purpose programming language with unique characteristics that make it specifically suitable for Server applications.
42-
- title: Embedded development
43-
url: /getting-started/embedded-swift/
44-
description: |
45-
Introduction to embedded development using Swift. Learn how to get started.
4642
- title: Mixing Swift and C++
4743
url: /documentation/cxx-interop/
4844
description: |

_data/new-data/get-started/embedded/link-columns.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ columns:
99
- text: Embedded Swift vision document
1010
url: 'https://github.com/swiftlang/swift-evolution/blob/main/visions/embedded-swift.md'
1111
- text: Embedded Swift example projects
12-
url: 'https://github.com/apple/swift-embedded-examples'
12+
url: 'https://github.com/swiftlang/swift-embedded-examples'
1313
- headline: Talks
1414
links:
1515
- text: Go Small With Embedded Swift

_data/new-data/get-started/embedded/primary-content.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ primary_cards:
55
logo_alt: Harmony
66
text: Build a Bluetooth speaker with a ferrofluid visualizer using the Raspberry Pi Pico W.
77
link_text: Learn more
8-
link: https://github.com/apple/swift-embedded-examples/tree/main/harmony
8+
link: https://github.com/swiftlang/swift-embedded-examples/tree/main/harmony
99

1010
- name: Matter and HomeKit Smart Light
1111
logo: /assets/images/get-started/[email protected]
1212
logo_alt: Matter and HomeKit Smart Light
1313
text: Implement a Matter smart light accessory that can be used from HomeKit, using an ESP32 microcontroller.
14-
link: https://github.com/apple/swift-matter-examples
14+
link: https://github.com/swiftlang/swift-matter-examples
1515
link_text: Learn more
1616

1717
secondary_cards:
@@ -20,7 +20,7 @@ secondary_cards:
2020
logo: /assets/images/get-started/[email protected]
2121
text: Build projects using the popular embedded graphics library LVGL on an STM32 board for rich UI and touch input.
2222
link_text: Learn more
23-
link: https://github.com/apple/swift-embedded-examples/tree/main/stm32-lvgl
23+
link: https://github.com/swiftlang/swift-embedded-examples/tree/main/stm32-lvgl
2424

2525
- name: PlaydateKit
2626
logo: /assets/images/get-started/[email protected]
@@ -30,5 +30,5 @@ secondary_cards:
3030
link_text: Learn more
3131

3232
link:
33-
url: https://github.com/apple/swift-embedded-examples
33+
url: https://github.com/swiftlang/swift-embedded-examples
3434
text: Explore more Embedded Swift examples and templates on Github

_posts/2024-03-12-byte-sized-swift-tiny-games-playdate.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: "Byte-sized Swift: Building Tiny Games for the Playdate"
66
author: [rauhul]
77
---
88

9-
I'm excited to share [swift-playdate-examples](https://github.com/apple/swift-playdate-examples), a technical demonstration of using Swift to build games for [Playdate](https://play.date/), a handheld game system by [Panic](https://panic.com).
9+
I'm excited to share [swift-playdate-examples](https://github.com/swiftlang/swift-playdate-examples), a technical demonstration of using Swift to build games for [Playdate](https://play.date/), a handheld game system by [Panic](https://panic.com).
1010

1111
<video title="A screencapture of Swift Break running on Playdate hardware mirrored to a Mac." autoplay loop muted style="width: 100%; border-radius: 15px;">
1212
<source src="{{site.url}}/assets/images/2024-03-12-byte-sized-swift-tiny-games-playdate/playdate-mirror-video-swiftbreak.mp4" type="video/mp4">
@@ -96,7 +96,7 @@ Swift Break features a splash screen, a pause menu, paddle-location-based bounce
9696

9797
## Try it Out
9898

99-
If you're eager to use Swift on your Playdate, the [swift-playdate-examples](https://github.com/apple/swift-playdate-examples) repository has you covered. It contains the above ready-to-use examples that demonstrate how to build Swift games for the Playdate, both for the simulator and the hardware.
99+
If you're eager to use Swift on your Playdate, the [swift-playdate-examples](https://github.com/swiftlang/swift-playdate-examples) repository has you covered. It contains the above ready-to-use examples that demonstrate how to build Swift games for the Playdate, both for the simulator and the hardware.
100100

101101
Additionally, the repository includes detailed documentation to guide you through the setup process. Whether you're a seasoned developer or just starting, you'll find the necessary resources to bring your ideas to life.
102102

@@ -440,7 +440,7 @@ Thanks for diving into the bring-up journey with me. From refining the Swift Pla
440440

441441
However, with the issues now resolved, creating Playdate games in Swift is a streamlined process. Just run `make` and enjoy a development experience with Swift that is both expressive _and_ performant.
442442

443-
You can find all the code examples mentioned in this post in the [swift-playdate-examples](https://github.com/apple/swift-playdate-examples) repository with accompanying "Getting Started" documentation.
443+
You can find all the code examples mentioned in this post in the [swift-playdate-examples](https://github.com/swiftlang/swift-playdate-examples) repository with accompanying "Getting Started" documentation.
444444

445445
I hope this post encourages you to explore the possibilities of using Swift in unconventional environments. Feel free to reach out with your experiences, questions, or game ideas on the [Swift Forums](https://forums.swift.org/t/byte-sized-swift-building-tiny-games-for-the-playdate/70615)!
446446

_posts/2024-04-03-embedded-swift-examples.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ title: "Get Started with Embedded Swift on ARM and RISC-V Microcontrollers"
66
author: [kubamracek]
77
---
88

9-
We're pleased to introduce a [repository of example projects](https://github.com/apple/swift-embedded-examples) that demonstrate how Embedded Swift can be used to develop software on a range of microcontrollers.
9+
We're pleased to introduce a [repository of example projects](https://github.com/swiftlang/swift-embedded-examples) that demonstrate how Embedded Swift can be used to develop software on a range of microcontrollers.
1010

1111
Swift is a scalable language, great for writing desktop and mobile apps, server backends, and system software. And as you [may have seen](https://www.swift.org/blog/byte-sized-swift-tiny-games-playdate/), thanks to a new, experimental compilation mode, you can use Swift to target embedded environments like ARM and RISC-V microcontrollers as well, popular for building professional and hobbyist electronics projects such as IoT devices.
1212

1313
Microcontrollers are constrained environments where not all of Swift’s features are appropriate. The new Embedded Swift compilation mode turns off certain language features like runtime reflection, ABI stability, and existentials, to produce standalone binaries suitable for firmware. Despite turning off some language features, the Embedded Swift subset still feels very close to the “full” Swift that developers love, and makes it easy to continue writing idiomatic, easy-to-read Swift code. You can dive into the details in the formally accepted [Embedded Swift Vision Document](https://github.com/swiftlang/swift-evolution/blob/main/visions/embedded-swift.md), and try it out in the [nightly downloadable toolchains](https://www.swift.org/download/#snapshots).
1414

15-
The Swift community has already started publishing [several](https://forums.swift.org/t/embedded-swift-on-the-raspberry-pi-pico-rp2040-without-the-pico-sdk/69338) [fascinating](https://forums.swift.org/t/rp2040mmio-a-hardware-access-layer-for-the-rp2040/69513/1) [projects](https://forums.swift.org/t/byte-sized-swift-building-tiny-games-for-the-playdate/70615) built with this language mode, and we thought it would be useful to publish a collection of sample projects at [**swift-embedded-examples**](https://github.com/apple/swift-embedded-examples).
15+
The Swift community has already started publishing [several](https://forums.swift.org/t/embedded-swift-on-the-raspberry-pi-pico-rp2040-without-the-pico-sdk/69338) [fascinating](https://forums.swift.org/t/rp2040mmio-a-hardware-access-layer-for-the-rp2040/69513/1) [projects](https://forums.swift.org/t/byte-sized-swift-building-tiny-games-for-the-playdate/70615) built with this language mode, and we thought it would be useful to publish a collection of sample projects at [**swift-embedded-examples**](https://github.com/swiftlang/swift-embedded-examples).
1616

1717
<div align="center" style="padding: 0 0 20px 0;"><i>
1818
<img src="/assets/images/embedded-examples/boards.jpg" alt="Swift on STM32F746, Raspberry Pi Pico, nRF52840, and ESP32C6">
@@ -26,7 +26,7 @@ We encourage anyone interested to try out the examples and help us grow the repo
2626

2727
## Try It Out
2828

29-
If you'd like to try out the existing example projects, visit the repository at [**swift-embedded-examples**](https://github.com/apple/swift-embedded-examples). It contains a catalog of examples along with instructions on how to build and run each of them.
29+
If you'd like to try out the existing example projects, visit the repository at [**swift-embedded-examples**](https://github.com/swiftlang/swift-embedded-examples). It contains a catalog of examples along with instructions on how to build and run each of them.
3030

3131
To use these examples, be sure to install the latest [development snapshot toolchain](https://www.swift.org/download/#snapshots). As an experimental mode, Embedded Swift is not yet available in release versions of Swift.
3232

_posts/2025-06-02-swift-at-apple-migrating-the-password-monitoring-service-from-java.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: post
33
published: true
44
date: 2025-06-02 10:00:00
5-
title: "Swift at Apple: migrating the Password Monitoring service from Java"
5+
title: "Swift at Apple: Migrating the Password Monitoring service from Java"
66
author: [rmondello, indravardhan, spencervd6, umeshbatra13]
77
---
88

assets/stylesheets/_screen.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,8 @@ cite {
178178
}
179179

180180
.header-with-anchor {
181+
scroll-margin-top: 80px;
182+
181183
a {
182184
display: none;
183185
color: var(--color-text);

assets/stylesheets/new-stylesheets/_helpers.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,3 +194,9 @@
194194
white-space: normal;
195195
}
196196
}
197+
198+
@mixin underline {
199+
text-decoration: underline;
200+
text-decoration-color: color-mix(in srgb, currentColor 50%, transparent);
201+
text-underline-offset: 2px;
202+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
@use 'pages/index';
2+
@use 'pages/exception';
23
@use 'pages/install';
34
@use 'pages/get-started';

0 commit comments

Comments
 (0)