From 1d2062be0467bcf363ac4e78dcdfdeb5fadbe48f Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 14 Sep 2020 16:02:02 -0700 Subject: [PATCH] cleanup (#14) --- .../xcode/package.xcworkspace/contents.xcworkspacedata | 7 ------- Playgrounds/Charts.playground/Contents.swift | 4 ++-- Playgrounds/Charts.playground/contents.xcplayground | 2 +- Playgrounds/Charts.playground/timeline.xctimeline | 6 ++++++ 4 files changed, 9 insertions(+), 10 deletions(-) delete mode 100644 .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata create mode 100644 Playgrounds/Charts.playground/timeline.xctimeline diff --git a/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 919434a..0000000 --- a/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/Playgrounds/Charts.playground/Contents.swift b/Playgrounds/Charts.playground/Contents.swift index a9d61ab..e9ef1d7 100644 --- a/Playgrounds/Charts.playground/Contents.swift +++ b/Playgrounds/Charts.playground/Contents.swift @@ -2,7 +2,6 @@ import SwiftUI import Charts import Shapes - import PlaygroundSupport struct ContentView: View { @@ -137,6 +136,7 @@ struct ContentView: View { } @State var selectedChart = 1 + var body: some View { VStack { Picker("Charts", selection: $selectedChart) { @@ -154,7 +154,7 @@ struct ContentView: View { if selectedChart == 4 { chart4 } if selectedChart == 5 { chart5 } } - }.frame(width: 700) + } } } diff --git a/Playgrounds/Charts.playground/contents.xcplayground b/Playgrounds/Charts.playground/contents.xcplayground index a8211e5..9d59a80 100644 --- a/Playgrounds/Charts.playground/contents.xcplayground +++ b/Playgrounds/Charts.playground/contents.xcplayground @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/Playgrounds/Charts.playground/timeline.xctimeline b/Playgrounds/Charts.playground/timeline.xctimeline new file mode 100644 index 0000000..bf468af --- /dev/null +++ b/Playgrounds/Charts.playground/timeline.xctimeline @@ -0,0 +1,6 @@ + + + + +