You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 2, 2021. It is now read-only.
Hi, this js lib looks very interesting. Just a question, I'm wondering if iOS code can be generated, either swift for obj-c version. So that we can write a web application and generate views can be used in iOS app. Any thoughts about it?
The text was updated successfully, but these errors were encountered:
Hi, yes you could do this. When you create an Autolayout.js View, you can add constraints to it. Either by creating them explicitly or by creating them from a VFL string. Unfortunately there is no method to get the constraints from a view (yet), but you could easily keep track of the added constraints yourself.
These constraints have exactly the same properties as NSLayoutConstraint, so you could easily write some code to format them as Objective-C/Swift constraints.
Cool, this is exciting. Can you point me to the code where I can do the conversion maybe? I took a look at the source code, but not sure where is the best start point...
Hi, this js lib looks very interesting. Just a question, I'm wondering if iOS code can be generated, either swift for obj-c version. So that we can write a web application and generate views can be used in iOS app. Any thoughts about it?
The text was updated successfully, but these errors were encountered: