← All slides

Swift for Beginners — Slides

50 lessons, 832 slides. Each lesson's text and code as one deck (the slides are in Japanese).

Version 1 (made 2026-11-06)

Payment is handled on Stripe's page. After buying, you can download from this page at any time.

Please log in to use a coupon code. You can also enter a promotion code on the payment page (Stripe).

Samples

Sample slide 1 Sample slide 2 Sample slide 3

What's included

  • slides.pdf — One slide per page. For checking or printing
  • png/ — 1920×1080 images, ready to drop into a video editor
  • index.html — Open in a browser to present. Press P for the presenter view (notes, next slide, elapsed time)

Each lesson has its own folder. The lesson text is kept as is, so what to say appears in the presenter notes.

How you may use them

  • Your own study
  • Classes, lectures and study groups you teach yourself
  • In-house training at your own company or organization
  • On screen in videos you record yourself for those classes or trainings
  • Editing the wording or reordering slides for those uses
  • Handing out the slide files themselves (PDF, PNG, HTML) to learners or anyone else
  • Selling the slides, or edited versions of them, or including them in paid materials
  • Posting them anywhere public (websites, social media, public videos on video sites, etc.)
  • Removing the 4peiron.dev credit and presenting them as your own work

4peiron.dev keeps the copyright. What you buy is the right to use the slides as described above. The same terms are in README.txt inside the ZIP.

Contents

1

Swift とは何か(環境構築と Hello World)

13 slides

2

print とコメント

11 slides

3

変数 let と var

14 slides

4

数値と演算子

16 slides

5

文字列 String の基本

14 slides

6

文字列補間とメソッド

16 slides

7

標準入力と型変換

12 slides

8

コンパイルエラーの読み方

13 slides

9

条件分岐 if

14 slides

10

比較演算子と論理演算子

13 slides

11

switch とパターンマッチ

15 slides

12

for-in と range

13 slides

13

while と repeat-while

13 slides

14

break・continue とラベル

15 slides

15

【実践】数当てゲームを作る

19 slides

16

配列 Array の基本

15 slides

17

配列のメソッドと並べ替え

16 slides

18

辞書 Dictionary の基本

15 slides

19

集合 Set

14 slides

20

タプルと分解

14 slides

21

map・filter・reduce

15 slides

22

オプショナルの基本

16 slides

23

オプショナルバインディングと guard

16 slides

24

【実践】売上データを集計する

22 slides

25

関数の基本

16 slides

26

デフォルト引数と可変長引数

13 slides

27

inout と関数型

17 slides

28

クロージャの基本

16 slides

29

トレイリングクロージャと高階関数

19 slides

30

ジェネリクス入門

16 slides

31

再帰関数

18 slides

32

【実践】関数に分けてリファクタリング

23 slides

33

構造体 struct の基本

18 slides

34

メソッドと mutating

20 slides

35

イニシャライザ

18 slides

36

クラスと参照型

17 slides

37

継承とオーバーライド

17 slides

38

計算プロパティとプロパティオブザーバ

17 slides

39

列挙型 enum と関連値

20 slides

40

プロトコルの基本

19 slides

41

extension とプロトコル拡張

18 slides

42

【実践】構造体で在庫管理を作る

25 slides

43

エラー処理(throws と do-catch)

20 slides

44

Result 型で成功と失敗を扱う

19 slides

45

ファイルの読み書き

16 slides

46

JSON を扱う(Codable)

18 slides

47

Swift Package Manager とモジュール

16 slides

48

標準ライブラリ活用(Date・書式・乱数)

17 slides

49

非同期処理 async / await

17 slides

50

【実践】総まとめと次に学ぶべきこと

28 slides

The lesson text is on the course page. Slides are sold separately from the membership; members also need to buy them. Refunds follow the Terms of Service.