2020-07-02 15:30:50 -05:00
|
|
|
//
|
|
|
|
// ArticleView.swift
|
2020-07-06 01:44:35 -05:00
|
|
|
// Multiplatform iOS
|
2020-07-02 15:30:50 -05:00
|
|
|
//
|
2020-07-06 01:44:35 -05:00
|
|
|
// Created by Maurice Parker on 7/6/20.
|
2020-07-02 15:30:50 -05:00
|
|
|
// Copyright © 2020 Ranchero Software. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
import SwiftUI
|
2020-07-06 21:14:05 -05:00
|
|
|
import Articles
|
2020-07-02 15:30:50 -05:00
|
|
|
|
2020-07-11 18:22:47 -05:00
|
|
|
struct ArticleView: UIViewControllerRepresentable {
|
2020-07-06 21:14:05 -05:00
|
|
|
|
2020-07-16 11:53:26 -05:00
|
|
|
@EnvironmentObject private var sceneModel: SceneModel
|
2020-07-06 21:14:05 -05:00
|
|
|
|
|
|
|
func makeUIViewController(context: Context) -> ArticleViewController {
|
|
|
|
let controller = ArticleViewController()
|
2020-07-09 18:44:51 -05:00
|
|
|
controller.sceneModel = sceneModel
|
2020-07-06 21:14:05 -05:00
|
|
|
return controller
|
|
|
|
}
|
|
|
|
|
|
|
|
func updateUIViewController(_ uiViewController: ArticleViewController, context: Context) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2020-07-02 15:30:50 -05:00
|
|
|
}
|