muizidn / fastui Goto Github PK
View Code? Open in Web Editor NEWSwift is Fast! Your SwiftUI in iOS 8.0!
Home Page: https://muizidn.github.io/FastUI
Swift is Fast! Your SwiftUI in iOS 8.0!
Home Page: https://muizidn.github.io/FastUI
Reproduce:
Potrait
Landscape
Potrait
Landscape
My first concern is to enable documentation generation using Linux machine #16
I don't want to waste their resource ๐ฌ
VStack {
HStack()
}
This wont work https://forums.swift.org/t/function-builders/25167/53
As we don't really need ViewDSL in user facing API, we can safely remove them. It's better to implement inside the framework
func configure
is just a simple helper where direct method call to the api's causes confusion to the Swift compiler.
You may want to check it with
VStack {
HStack()
.foregroundColor(.blue)
.flex_height(100)
}
.foregroundColor(.cyan)
Code above (with more view stacks being added) intermittently causes compiler to spits ambiguity error without clear direction to where the confusion occurs.
Sometimes, it can be resolved by switching the order of method call. Sure, it is very bad indeed. Because it hides the real problem and it will breaks soon. Once you change a code, it maybe won't compile again.
And also, the compiler seems to be confused and failed to interpret expression which normally will not happen. This is being investigated whether the source of problem is the lack of some
keyword (because we can't use it) which results the abuse
of protocol or the problem lies in the compiler itself.
Until the real fix shows up, we advice to use this function to configure SomeView
instance. And yeah, this is the main source of @discardableResult
attribute in all methods.
It seems user doesn't need it.
Remove!
The use of FastUIKit framework is to provide UIKit-subclasses that match the actual code description. This subclass will shows up in the Xcode view debugger hierarchy and we expect the there's no difference between the actual code and those that appear in the debugger navigator.
If it is possible to govern how Xcode display those classes, we can merge them to the main framework.
Flex Layout allows us to put margin to each sub-nodes.
Most interface are implemented for testing purpose. So most of them aren't completed yet.
Please file issues and if possible, your PR to complete those API's
User won't need it.
We can remove FlexLayout framework, but we need to implement Flex interface from inside the framework
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.