Add projects

This commit is contained in:
Ivan Vorobei
2019-06-07 09:02:12 +03:00
parent f385cd4929
commit fce7627f56
42 changed files with 2011 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
//
// NoteRow.swift
// SwiftUINote
//
// Created by chanju Jeon on 05/06/2019.
// Copyright © 2019 we'd. All rights reserved.
//
import SwiftUI
struct NoteRow : View {
var note: Note
var body: some View {
HStack {
Text(note.text)
}
}
}
#if DEBUG
struct NoteRow_Previews : PreviewProvider {
static var previews: some View {
Group {
NoteRow(note: Note(text: "New Note"))
NoteRow(note: Note(text: "Another Note"))
}
.previewLayout(.fixed(width: 300, height: 50))
}
}
#endif