mirror of
https://github.com/ivanvorobei/SwiftUI.git
synced 2026-03-24 10:21:28 +01:00
Add examples project
This commit is contained in:
8
Examples/Combine using GitHub API/SwiftUI-Combine-Example/User.swift
Executable file
8
Examples/Combine using GitHub API/SwiftUI-Combine-Example/User.swift
Executable file
@@ -0,0 +1,8 @@
|
||||
import Foundation
|
||||
import SwiftUI
|
||||
|
||||
struct User: Hashable, Identifiable, Decodable {
|
||||
var id: Int64
|
||||
var login: String
|
||||
var avatar_url: URL
|
||||
}
|
||||
Reference in New Issue
Block a user