SkillAgentSearch skills...

Marina

Understanding SwiftUI by reimplementing it to render to HTML ⛵ - you shouldn't use this, use https://github.com/swiftwebui/SwiftWebUI instead

Install / Use

/learn @zhuowei/Marina
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Understanding SwiftUI by reimplementing it to render to HTML.


Want to keep up with Swift news on your Amazon Echo or Google Home smart speaker? Follow me on Voco.


What it does

Almost nothing!

It can barely render the homepage of Apple's Landmarks sample from the SwiftUI tutorial to HTML.

<img src="https://pbs.twimg.com/media/D8hDbB_VsAA00Vf.jpg:large" width="320">

I just wanted to learn the new function builder feature that powers SwiftUI's DSL.

See also:

Building

Install Xcode 11 beta 1, then

./build.sh

Running

git clone https://github.com/zhuowei/marina-sample-landmarks.git LandmarkTutorial3Complete
./landmarkDemo.sh
./run.sh >output.html
cat html_template/head.html output.html >output_full.html

License

Apache 2.0 with the Runtime Library Exception.

Files in systemicon are from Ionicons and are under the Ionic project's MIT license.

Related Skills

View on GitHub
GitHub Stars252
CategoryDevelopment
Updated1y ago
Forks7

Languages

Swift

Security Score

65/100

Audited on Jan 17, 2025

No findings