diff --git a/.DS_Store b/.DS_Store index 0f89d08..2401de3 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/Playground.swift b/Playground.swift index defd79e..289fc33 100644 --- a/Playground.swift +++ b/Playground.swift @@ -1,8 +1,17 @@ // https://carrascomolina.com import Playgrounds +struct Bike { + var name: String + var color: String + + static let trek = Bike(name: "Trek", color: "red" ) +} + #Playground { - let greeting = "Hallo Playground" + var greeting = "Hallo Playground" + let bike = Bike.trek + bike.color // write code here } diff --git a/TheSwiftWeek.xcodeproj/project.xcworkspace/xcuserdata/rohing73.xcuserdatad/UserInterfaceState.xcuserstate b/TheSwiftWeek.xcodeproj/project.xcworkspace/xcuserdata/rohing73.xcuserdatad/UserInterfaceState.xcuserstate index fc01d35..2331023 100644 Binary files a/TheSwiftWeek.xcodeproj/project.xcworkspace/xcuserdata/rohing73.xcuserdatad/UserInterfaceState.xcuserstate and b/TheSwiftWeek.xcodeproj/project.xcworkspace/xcuserdata/rohing73.xcuserdatad/UserInterfaceState.xcuserstate differ