Skip to content

Commit

Permalink
removed commented code no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
storiwr committed Sep 4, 2020
1 parent 5fd86d5 commit 8f8a81f
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions CardStack/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -65,40 +65,6 @@ struct ContentView: View {
cards.items.remove(atOffsets: offsets)
}
}

//struct DetailView: View {
// @ObservedObject private var card = CardInfo()
// var body: some View {
// NavigationView {
// List {
// Text(card.cardBody)
// Text(card.name)
// }.navigationBarTitle(Text("Card Title"))
// .navigationBarItems(trailing: EditButton())
//
// }
// }
//}

// struct NewView: View {
// @ObservedObject private var card = CardInfo()
// @Environment(\.presentationMode) var presentationMode
//
// var body: some View {
// NavigationView {
// List {
// TextField("Title", text: $card.name)
// TextField("Body", text: $card.cardBody)
// }.navigationBarTitle(Text("NewCard"))
// .navigationBarItems(trailing:
// Button("Done") {
// self.presentationMode.wrappedValue.dismiss()
// }
//
// )}
// }
// }


struct ContentView_Previews: PreviewProvider {
static var previews: some View {
Expand Down

0 comments on commit 8f8a81f

Please sign in to comment.