Merge pull request #12 from PushedCrayon/constraint-update Constraint update
Merge pull request #12 from PushedCrayon/constraint-update
Constraint update
_____ _ _ _____ _ _ _ | __ \ | | | || __ \ | | | | | | | | | || |__| || | | | ___ ___ | | __ _ _ __ __ _ | |__ | | ___ | | | || __ || | | | / _ \ / __|| | / _` || '__|/ _` || '_ \ | | / _ \ | |__| || | | || |__| || __/| (__ | || (_| || | | (_| || |_) || || __/ |_____/ |_| |_||_____/ \___| \___||_| \__,_||_| \__,_||_.__/ |_| \___|
UIKit
SwiftUI
import DHDeclarable class ViewController: DHDViewController { override var titled: String? { "DHDeclarable" } override var renderingMode: DHDViewControllerContentRenderingMode { .center } override var body: UIView { get { DHDLabel("Hello, World!") .tagged(viewTag) } set { super.body = newValue } } }
DHDeclarable
https://github.com/dan-hart/DHDeclarable
DHDeclarable
🌉 A bridge from
UIKit
toSwiftUI
Tired of Storyboards? Not ready for SwiftUI?
DHDeclarable
adds declarative syntax toUIKit
Getting Started
Available as a Swift Package:
https://github.com/dan-hart/DHDeclarable