mirror of
https://github.com/ivanvorobei/SwiftUI.git
synced 2026-04-01 23:13:28 +02:00
Add projects
This commit is contained in:
15
Examples/UINote/SwiftUINote/Models/Note.swift
Executable file
15
Examples/UINote/SwiftUINote/Models/Note.swift
Executable file
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// Note.swift
|
||||
// SwiftUINote
|
||||
//
|
||||
// Created by chanju Jeon on 05/06/2019.
|
||||
// Copyright © 2019 we'd. All rights reserved.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
struct Note: Hashable, Codable, Identifiable {
|
||||
let id = UUID()
|
||||
var text: String
|
||||
var date = Date()
|
||||
}
|
||||
Reference in New Issue
Block a user