Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions contents/[home]/assets/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
.promo-box {
border: 3px solid #ffaa00;
color: #000;
padding: 16px;
margin-bottom: 32px;
text-align: center;
}
.promo-box a, .promo-box a:hover {
color: #000 !important;
}

@media (prefers-color-scheme: dark) {
.promo-box {
color: #fff;
}
.promo-box a, .promo-box a:hover {
color: #fff !important;
}
}
8 changes: 8 additions & 0 deletions contents/[home]/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ views:
html: blog.home
---

<div class="promo-box">
<a href="https://theswiftdev.gumroad.com/l/learn-to-code-using-swift">
<img src="/assets/learn-to-code-using-swift/cover.jpeg" width="128px"><br><br>
<strong>Available on Gumroad — grab your copy today for just $49.</strong>
</a>
</div>

# The.Swift.Dev.

Articles about application development using the Swift programming language.

65 changes: 65 additions & 0 deletions contents/books/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
---
title: "Books"
description: "Learn To Code Using Swift & Practical Server Side Swift"
---

# Books

You can find my books listed below, each available for purchase on Gumroad.
Explore the details and download sample chapters to get started.

---

@Grid(
desktop: 2,
tablet: 2,
mobile: 1
) {
@Column {
![Learn To Code Using Swift](/assets/learn-to-code-using-swift/cover.jpeg)
}
@Column {
<br>

<h2>Learn To Code <br>Using Swift</h2>

Learn To Code Using Swift is a programming book for absolute beginners, born from a fresh approach. It promises beginner-friendly explanations even for complex topics and provides up-to-date Swift knowledge. The book builds progressively from the basics to advanced concepts without expecting any prior programming experience — it clearly explains every idea, definition, and code snippet. It also teaches algorithmic thinking and reasoning skills necessary to thrive even in the age of LLMs. Theory and practice go hand in hand, with more than 350 exercises included to build confidence and solid foundations. Most of the modern Swift language features are covered, making this book a great base for anyone regardless of specific platform or interest.

[Download sample](/assets/learn-to-code-using-swift/sample.pdf)

<a href="https://theswiftdev.gumroad.com/l/learn-to-code-using-swift" class="cta" target="_blank">Available on Gumroad</a>

Last update:
**29th of August, 2025**
}
}

<br>
<hr>
<br>

@Grid(
desktop: 2,
tablet: 2,
mobile: 1
) {
@Column {
![Practical Server Side Swift](/assets/practical-server-side-swift/cover.png)
}
@Column {
<br>

<h2>Practical <br>Server Side Swift</h2>

Swift on the server is an amazing new opportunity to build fast, safe and scalable backend apps. Write your very first web-based application by using your favorite programming language. Learn how to build a modular blog engine using the latest version of the Vapor 4 framework. This book will help you to design and create modern APIs that'll allow you to share code between the server side and iOS. Start becoming a full-stack Swift developer.

[Download sample](/assets/practical-server-side-swift/sample.pdf)

<a href="https://theswiftdev.gumroad.com/l/practical-server-side-swift" class="cta" target="_blank">Available on Gumroad</a>

Last update:
**3rd of April, 2023**
}
}


Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
28 changes: 28 additions & 0 deletions contents/learn-to-code-using-swift/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: "Learn To Code Using Swift"
description: "The absolute beginner's programming book. Learn to code using the Swift programming language."
---

@Grid(
desktop: 2,
tablet: 2,
mobile: 1
) {
@Column {
![Learn To Code Using Swift](./assets/cover.jpeg)
}
@Column {
<br>

# Learn To Code <br>Using Swift

Learn To Code Using Swift is a programming book for absolute beginners, born from a fresh approach. It promises beginner-friendly explanations even for complex topics and provides up-to-date Swift knowledge. The book builds progressively from the basics to advanced concepts without expecting any prior programming experience — it clearly explains every idea, definition, and code snippet. It also teaches algorithmic thinking and reasoning skills necessary to thrive even in the age of LLMs. Theory and practice go hand in hand, with more than 350 exercises included to build confidence and solid foundations. Most of the modern Swift language features are covered, making this book a great base for anyone regardless of specific platform or interest.

[Download sample](/assets/learn-to-code-using-swift/sample.pdf)

<a href="https://theswiftdev.gumroad.com/l/learn-to-code-using-swift" class="cta" target="_blank">Available on Gumroad</a>

}
}


5 changes: 3 additions & 2 deletions site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ name: "The.Swift.Dev."
language: "en-US"
description: "Articles about application development using the Swift programming language."
navigation:
- label: "Books"
url: "/books/"
- label: "Posts"
url: "/page/1/"
- label: "Tags"
url: "/tags/"
- label: "Authors"
url: "/authors/"
- label: "My Book"
url: "/practical-server-side-swift/"

9 changes: 5 additions & 4 deletions templates/default/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ img.large {
}
.book {
text-align: center;
border: 3px solid var(--link-color);
border: 3px solid #ffaa00;
margin: 32px 0;
padding: 32px;
}
Expand All @@ -158,11 +158,12 @@ img.large {
}
.cta {
padding: 8px 16px;
color: var(--white-color) !important;
background: var(--link-color);
color: #000 !important;
background: #ffaa00;
font-weight: bold;
}
.cta:hover {
background: var(--link-color-hover);
background: #ffaa00;
}

@media screen and (min-width: 900px) {
Expand Down
4 changes: 3 additions & 1 deletion templates/default/template.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: "theswiftdev.com website"
description: "Public website of theswiftdev.com"
url: "https://github.com/theswiftdev/blog"
version: "1.0.0-beta.5"
version: "1.0.0-beta.6"
generatorVersions:
- "1.0.0-beta.5"
- "1.0.0-beta.6"
- "1.0.0-rc.1"

demo:
url: "https://theswiftdev.com/"
Expand Down
10 changes: 5 additions & 5 deletions templates/default/views/blog/post/default.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@

<div>
<div class="book">
<a href="https://theswiftdev.gumroad.com/l/practical-server-side-swift" target="_blank">
<img src="{{baseUrl}}/book/practical-server-side-swift-cover.png" alt="Practical Server Side Swift cover image">
<a href="https://theswiftdev.gumroad.com/l/learn-to-code-using-swift" target="_blank">
<img src="{{baseUrl}}/assets/learn-to-code-using-swift/cover.jpeg" alt="Learn To Code Using Swift cover image">
</a>
<h3>
<a href="https://theswiftdev.gumroad.com/l/practical-server-side-swift" target="_blank">Get the Practical Server Side Swift book</a>
<a href="https://theswiftdev.gumroad.com/l/learn-to-code-using-swift" target="_blank">Get the Learn To Code Using Swift book</a>
</h3>
<p>Swift on the server is an amazing new opportunity to build fast, safe and scalable backend apps. Write your very first web-based application by using your favorite programming language. Learn how to build a modular blog engine using the latest version of the Vapor 4 framework. This book will help you to design and create modern APIs that'll allow you to share code between the server side and iOS. Start becoming a full-stack Swift developer.</p>
<a class="cta" href="https://theswiftdev.gumroad.com/l/practical-server-side-swift" target="_blank">Available on Gumroad</a>
<p>Learn To Code Using Swift is a programming book for absolute beginners, born from a fresh approach. It promises beginner-friendly explanations even for complex topics and provides up-to-date Swift knowledge. The book builds progressively from the basics to advanced concepts without expecting any prior programming experience — it clearly explains every idea, definition, and code snippet. It also teaches algorithmic thinking and reasoning skills necessary to thrive even in the age of LLMs. Theory and practice go hand in hand, with more than 350 exercises included to build confidence and solid foundations. Most of the modern Swift language features are covered, making this book a great base for anyone regardless of specific platform or interest.</p>
<a class="cta" href="https://theswiftdev.gumroad.com/l/learn-to-code-using-swift" target="_blank">Available on Gumroad</a>
</div>

{{> partials.outline }}
Expand Down