Skip to content

RESTART App #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file modified .DS_Store
Binary file not shown.
Binary file added 0806FRUITSApp/.DS_Store
Binary file not shown.
Binary file added 0806FRUITSApp/Students/.DS_Store
Binary file not shown.
Binary file added 0806FRUITSApp/Students/Fructus/.DS_Store
Binary file not shown.
396 changes: 396 additions & 0 deletions 0806FRUITSApp/Students/Fructus/Fructus.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Binary file not shown.
26 changes: 26 additions & 0 deletions 0806FRUITSApp/Students/Fructus/Fructus/App/ContentView.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
//
// ContentView.swift
// Fructus
//
// Created by 윤경환 on 2023/08/06.
//

import SwiftUI

struct ContentView: View {
var body: some View {
VStack {
Image(systemName: "globe")
.imageScale(.large)
.foregroundColor(.accentColor)
Text("Hello, world!")
}
.padding()
}
}

struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}
17 changes: 17 additions & 0 deletions 0806FRUITSApp/Students/Fructus/Fructus/App/FructusApp.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//
// FructusApp.swift
// Fructus
//
// Created by 윤경환 on 2023/08/06.
//

import SwiftUI

@main
struct FructusApp: App {
var body: some Scene {
WindowGroup {
OnboradingView()
}
}
}
32 changes: 32 additions & 0 deletions 0806FRUITSApp/Students/Fructus/Fructus/App/OnboradingView.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
//
// OnboradingView.swift
// Fructus
//
// Created by 윤경환 on 2023/08/06.
//

import SwiftUI

struct OnboradingView: View {
// MARK: - PROPERTIES

var fruits: [Fruit] = fruitsData

// MARK: - BODY

var body: some View {
TabView {
ForEach(fruits[0...5]) { item in
FruitCardView(fruit: item)
} //: LOOP
} //: TAB
.tabViewStyle(PageTabViewStyle())
.padding(.vertical, 20)
}
}

struct OnboradingView_Previews: PreviewProvider {
static var previews: some View {
OnboradingView(fruits: fruitsData)
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.000",
"green" : "0.000",
"red" : "0.000"
}
},
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "1.000",
"green" : "1.000",
"red" : "1.000"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading