Skip to content
This repository was archived by the owner on Jul 9, 2024. It is now read-only.

Commit 6e3314f

Browse files
committed
update before recording
1 parent 6d305ad commit 6e3314f

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

SwiftBasics/ArrayView.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ struct ArrayView: View {
1313
var body: some View {
1414
NavigationStack {
1515
List {
16+
Text("An ordered, random-access collection.").font(.footnote)
17+
1618
Section {
1719
Text("let oddNumbers = [1, 3, 5, 7]").font(.system(.body, design: .monospaced))
1820
.foregroundStyle(.accent)
@@ -28,7 +30,6 @@ struct ArrayView: View {
2830
}
2931
}
3032
.navigationTitle("Array")
31-
Text("An ordered, random-access collection.").font(.footnote)
3233
}
3334
}
3435
}

SwiftBasics/BoolView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ struct BoolView: View {
1313
var body: some View {
1414
NavigationStack {
1515
List {
16+
Text("A value type whose instances are either true or false.").font(.footnote)
1617
Section {
1718
Text("var subscribed: Bool = true").font(.system(.body, design: .monospaced))
1819
.foregroundStyle(.accent)
@@ -23,7 +24,6 @@ struct BoolView: View {
2324
}
2425
}
2526
.navigationTitle("Bool")
26-
Text("A value type whose instances are either true or false.").font(.footnote)
2727
}
2828
}
2929
}

SwiftBasics/DoubleView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ struct DoubleView: View {
1414
var body: some View {
1515
NavigationStack {
1616
List {
17+
Text("A double-precision, floating-point value type.").font(.footnote)
1718
Section {
1819
Text("var GPA: Double = 4.0").font(.system(.body, design: .monospaced))
1920
.foregroundStyle(.accent)
@@ -33,7 +34,6 @@ struct DoubleView: View {
3334
}
3435
}
3536
.navigationTitle("Double")
36-
Text("A double-precision, floating-point value type.").font(.footnote)
3737
}
3838
}
3939
}

SwiftBasics/IntView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ struct IntView: View {
1313
var body: some View {
1414
NavigationStack {
1515
List {
16+
Text("A signed integer value type.").font(.footnote)
1617
Section {
1718
Text("var age: Int = 32").font(.system(.body, design: .monospaced))
1819
.foregroundStyle(.accent)
@@ -32,7 +33,6 @@ struct IntView: View {
3233
}
3334
}
3435
.navigationTitle("Int")
35-
Text("A signed integer value type.").font(.footnote)
3636
}
3737
}
3838
}

SwiftBasics/SetView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ struct SetView: View {
1313
var body: some View {
1414
NavigationStack {
1515
List {
16+
Text("An unordered collection of unique elements.").font(.footnote)
1617
Section {
1718
Text("let numbers: Set = [1, 2, 3]").font(.system(.body, design: .monospaced))
1819
.foregroundStyle(.accent)
@@ -28,7 +29,6 @@ struct SetView: View {
2829
}
2930
}
3031
.navigationTitle("Set")
31-
Text("An unordered collection of unique elements.").font(.footnote)
3232
}
3333
}
3434
}

SwiftBasics/StringView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ struct StringView: View {
1313
var body: some View {
1414
NavigationStack {
1515
List {
16+
Text("A Unicode string value that is a collection of characters.").font(.footnote)
1617
Section {
1718
Text("var favoriteMovie = 'Arrival'").font(.system(.body, design: .monospaced))
1819
.foregroundStyle(.accent)
@@ -23,7 +24,6 @@ struct StringView: View {
2324
}
2425
}
2526
.navigationTitle("String")
26-
Text("A Unicode string value that is a collection of characters.").font(.footnote)
2727
}
2828
}
2929
}

0 commit comments

Comments
 (0)