mirror of
https://github.com/ivanvorobei/SwiftUI.git
synced 2026-03-30 06:02:11 +02:00
Remove deprecation warnings for Xcode beta4
This commit is contained in:
@@ -16,7 +16,7 @@ struct ContentView : View {
|
||||
var body: some View {
|
||||
NavigationView {
|
||||
List {
|
||||
ForEach(instaPhotos.identified(by: \.id)) {
|
||||
ForEach(instaPhotos, id: \.id) {
|
||||
ImageCell(photo: $0)
|
||||
}
|
||||
}.navigationBarTitle("WWDC").navigationBarItems(trailing: PresentationLink("Camera", destination: CameraView()))
|
||||
|
||||
Reference in New Issue
Block a user