16 lines
230 B
Swift
16 lines
230 B
Swift
import Foundation
|
|
|
|
#if os(iOS)
|
|
import UIKit
|
|
#endif
|
|
|
|
class RenderContext {
|
|
weak var view: DrawingView?
|
|
var cgContext: CGContext?
|
|
|
|
init(view: DrawingView?) {
|
|
self.view = view
|
|
self.cgContext = nil
|
|
}
|
|
}
|