diff --git a/Example/SampleComponent/Apple - Working with UI Controls/CategoryRow.swift b/Example/SampleComponent/Apple - Working with UI Controls/CategoryRow.swift index 98f1573..c4cb089 100644 --- a/Example/SampleComponent/Apple - Working with UI Controls/CategoryRow.swift +++ b/Example/SampleComponent/Apple - Working with UI Controls/CategoryRow.swift @@ -47,12 +47,12 @@ public struct CategoryRow: View { public struct CategoryItem: View { public var landmark: Landmark public var body: some View { - VStack(alignment: .leading) { + VStack { landmark.image .renderingMode(.original) .resizable() .frame(width: 155, height: 155) - .cornerRadius(5) + .cornerRadius(155 / 2) Text(landmark.name) .foregroundColor(.primary) .font(.caption) diff --git a/Example/SampleComponent/Apple - Working with UI Controls/Home.swift b/Example/SampleComponent/Apple - Working with UI Controls/Home.swift index 3482ad8..ee4b45e 100644 --- a/Example/SampleComponent/Apple - Working with UI Controls/Home.swift +++ b/Example/SampleComponent/Apple - Working with UI Controls/Home.swift @@ -49,7 +49,7 @@ public struct CategoryHome: View { Text("See All") } } - .navigationBarTitle(Text("Featured")) + .navigationBarTitle(Text("Home")) .navigationBarItems(trailing: profileButton) .sheet(isPresented: $showingProfile) { ProfileHost() diff --git a/Example/SampleComponent/Apple - Working with UI Controls/LandmarkDetail.swift b/Example/SampleComponent/Apple - Working with UI Controls/LandmarkDetail.swift index a0c7b72..20208fd 100644 --- a/Example/SampleComponent/Apple - Working with UI Controls/LandmarkDetail.swift +++ b/Example/SampleComponent/Apple - Working with UI Controls/LandmarkDetail.swift @@ -20,7 +20,7 @@ public struct LandmarkDetail: View { VStack { MapView(coordinate: landmark.locationCoordinate, didFinishRendering: didFinishRendering) .edgesIgnoringSafeArea(.top) - .frame(height: 300) + .frame(height: 320) CircleImage(image: landmark.image) .offset(x: 0, y: -130) diff --git a/Example/SampleComponent/Apple - Working with UI Controls/Models/Profile.swift b/Example/SampleComponent/Apple - Working with UI Controls/Models/Profile.swift index 92c0a51..2eb65eb 100644 --- a/Example/SampleComponent/Apple - Working with UI Controls/Models/Profile.swift +++ b/Example/SampleComponent/Apple - Working with UI Controls/Models/Profile.swift @@ -16,7 +16,7 @@ public struct Profile { Profile( username: "g_kumar", prefersNotifications: true, - seasonalPhoto: .winter, + seasonalPhoto: .summer, goalDate: goalDate ) } diff --git a/Example/SampleComponent/Apple - Working with UI Controls/Profiles/HikeBadge.swift b/Example/SampleComponent/Apple - Working with UI Controls/Profiles/HikeBadge.swift index d7fe465..1879105 100644 --- a/Example/SampleComponent/Apple - Working with UI Controls/Profiles/HikeBadge.swift +++ b/Example/SampleComponent/Apple - Working with UI Controls/Profiles/HikeBadge.swift @@ -14,7 +14,7 @@ public struct HikeBadge: View { Badge() .frame(width: 300, height: 300) .scaleEffect(1.0 / 3.0) - .frame(width: 120, height: 120) + .frame(width: 130, height: 130) Text(name) .font(.caption) .accessibility(label: Text("Badge for \(name).")) diff --git a/Example/SampleComponent/Apple - Working with UI Controls/Supporting Views/LandmarkRow.swift b/Example/SampleComponent/Apple - Working with UI Controls/Supporting Views/LandmarkRow.swift index 2dd8c24..eab2567 100644 --- a/Example/SampleComponent/Apple - Working with UI Controls/Supporting Views/LandmarkRow.swift +++ b/Example/SampleComponent/Apple - Working with UI Controls/Supporting Views/LandmarkRow.swift @@ -21,7 +21,7 @@ public struct LandmarkRow: View { if landmark.isFavorite { Image(systemName: "star.fill") .imageScale(.medium) - .foregroundColor(.yellow) + .foregroundColor(.red) } } }