3 ms·
There's an issue thread where we're discussing this: https://github.com/Jasonette/JASONETTE-iOS/issues/4 https://github.com/Jasonette/JASONETTE-iOS/issues/4
by gliechtenstein 10y ago
There's an issue thread where we're discussing this: https://github.com/Jasonette/JASONETTE-iOS/issues/4 https://github.com/Jasonette/JASONETTE-iOS/issues/4
- mentos 10y agoMy fear is that for most apps Jasonette will be too abstract and require lower level languages like Swift/ObjC to be more expressive. I think a good exercise would be to find a popular mobile app and recreate all of the functionality with Jasonette, developing missing features where you need them. A demo showing you recreate Tinder or iMessage by bolting a few pieces of logic together in Jasonette would go a long way in maturing the functionality and demonstrating its viability. Have you considered weaving Parse or Firebase into this?
- gliechtenstein 10y agoYup, try this https://jasonbase.com/things/zn1/edit https://jasonbase.com/things/zn1/edit
- mentos 10y agoThe advantages of creating your own wysiwyg editor is that you can control exactly what functionality Jasonette supports and allow developers to create views across different platforms (right now Xcode is Mac only). But have you considered starting with Interface Builder and creating a tool to convert IB views to JSON? Interface Builder is home to a lot of developers who already understand how to use that tool, asking devs to work in a new half baked editor would probably be frustrating and add more complexity/moving parts which is your enemy as a new project/endeavor. If you create a tool that just converts IB views to JSON you can demonstrate progress much faster and learn and experiment with what the requirements of the final editor are. It will be much easier to stand up and way less effort than maintaining your own editor codebase while the project is young. Your time is the most valuable thing you have so don't spend it creating a new editor which could be its own project in itself. You want to put it towards expanding missing functionality between JSON and native components. One day when you find success and if you really still need to limit the user you can move all the functions you made for converting Interface Builder views into your own custom editor. I think first thing I would do is take a very complicated interface view from a native project and analyze the view hierarchy and report errors to the user like "Warning: Nested UITableViews are not supported in Jasonette", "UIButton delegate will be ignored", etc. Then once you create this sort of 'unit test' that the IB is well-formatted you can then go about exporting it to JSON. There may be a world where you actually are able to use all of the functionality of IB and don't ever have to have your own editor.
- gliechtenstein 10y agoInteresting, I haven't thought of that idea. I'll make a note so when we get to it we'll make sure to look into the option. Thank you so much for the advice!