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