Skip to content

Add consistent download section to start and end of each guide #351

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Aug 2, 2023
4 changes: 3 additions & 1 deletion getting-started/cli-swiftpm/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ layout: page
title: Build a Command-line Tool
---

> The source code for this guide can be found [on GitHub](https://github.com/apple/swift-getting-started-cli)

{% include getting-started/_installing.md %}

## Bootstrapping
Expand Down Expand Up @@ -227,4 +229,4 @@ _ _ _ _ _ _ _

---

Find the source code for this guide at [https://github.com/apple/swift-getting-started-cli](https://github.com/apple/swift-getting-started-cli)
> The source code for this guide can be found [on GitHub](https://github.com/apple/swift-getting-started-cli)
4 changes: 3 additions & 1 deletion getting-started/library-swiftpm/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ layout: page
title: Build a library
---

> The source code for this guide can be found [on GitHub](https://github.com/apple/swift-getting-started-package-library)

{% include getting-started/_installing.md %}

## Bootstrapping
Expand Down Expand Up @@ -121,4 +123,4 @@ Test Suite 'All tests' passed at 2023-01-03 16:22:45.076.

---

Find the source code for this guide at [https://github.com/apple/swift-getting-started-package-library](https://github.com/apple/swift-getting-started-package-library)
> The source code for this guide can be found [on GitHub](https://github.com/apple/swift-getting-started-package-library)
4 changes: 3 additions & 1 deletion getting-started/swiftui/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ layout: page
title: Build an iOS app with SwiftUI
---

> The source code for this guide can be found [on GitHub](https://github.com/0xTim/swift-org-swiftui-tutorial)

In this tutorial you’re going to use Swift and SwiftUI to build a small app to recommend fun new activities to users. Along the way you’ll meet several of the basic components of a SwiftUI app, including text, images, buttons, shapes, stacks, and program state.

To get started, you’ll need to [download Xcode from the Mac App Store](https://apps.apple.com/app/xcode/id497799835?mt=12). It’s free, and comes with Swift and all the other tools you need to follow this tutorial.
Expand Down Expand Up @@ -408,4 +410,4 @@ We’ve covered a lot of SwiftUI basics in this tutorial, including text, images

If you’d like to continue learning SwiftUI, there are lots of free resources available. For example, [Apple publishes a wide variety of tutorials](https://developer.apple.com/tutorials/swiftui) covering essential topics, drawing and animation, app design, and more. We’ll also post links here on Swift.org to some other popular tutorials – we’re a big and welcoming community, and we’re glad to have you join!

The code for this tutorial can be found [here](https://github.com/0xTim/swift-org-swiftui-tutorial).
> The source code for this guide can be found [on GitHub](https://github.com/0xTim/swift-org-swiftui-tutorial)
4 changes: 3 additions & 1 deletion getting-started/vapor-web-server/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ layout: page
title: Build a Web Service with Vapor
---

> The source code for this guide can be found [on GitHub](https://github.com/vapor/swift-getting-started-web-server)

{% include getting-started/_installing.md %}

## Choosing a web framework
Expand Down Expand Up @@ -157,4 +159,4 @@ $ curl http://localhost:8080/user-info -X POST -d '{"name": "Tim", "age": 99}' -

Congratulations! You've built your first web server in Swift!

Find the source code for this guide at [https://github.com/vapor/swift-getting-started-web-server](https://github.com/vapor/swift-getting-started-web-server)
> The source code for this guide can be found [on GitHub](https://github.com/vapor/swift-getting-started-web-server)