-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Several questions about Mitsoko #1
Comments
@bilsou thanks for using the lib. It is good that the lib is useful. Yes there are several production projects made by me on freelance:
These projects are local and built for my homeland (Kazakhstan) except Jako. You can preview an example app in my another repo. Just clone it and open in Xcode/Android studio and run (don't forget to specify path to Android NDK and use CrystaX NDK not Google NDK) Lib isn't tested cause I don't have much time for it cause I have another open source project sqlite_orm. But right now there are two more projects are being developed by my with mitsoko on my basic job. My plan is creating a framework just like
Also I have a python script that creates modules in the core. One module represents one ViewController on iOS and one Activity/Fragment on Android. Every module has view and presenter. View has OS related code like #ifdef __ANDROID__
myTextView().setText("ototo");
#else
myLabel().setText("ototo");
#endif and presenter has OS independent code like view.didAppear = [=]{ // viewDidAppear: and onResume callback
view.promtName([=](std::string name){ // shows UIAlertView and android.app.AlertDialog
storage.saveName(name);
};
}; Please check it out in example project. If you want to create a new project with mitsoko just clone a template and start modifying modules. Or you can just clone this repo and link it with Xcode and Android Studio projects. But for the second way you also need objc and java helper classes that located in example project ( |
Thank you for your quick reply. Good to know it's been used in production, even if it has not been fully tested yet, it makes it more worthy to me. |
@bilsou there is rest api service in Mitsoko/Url/ dir. It's used in my production apps. It has |
That would be great, I look forward to looking at your example, as it would allow me to see how to write a "real" cross platform app example with your lib. |
Please check out the latest commit in example project. It has two modules (controllers/activities), http api service, data model class with json serialization and deserialization (using https://github.com/nlohmann/json), routing (switching from one viewcontroller/activity to another using You can open the project both in Xcode and Android Studio (for Android please use CrystaX NDK not Google NDK cause Google NDK misses some functions from stdlib) and run it. Feel free to ask any question here on in the template repo. Also I plan to add CLI utility for creating project and managing libs in |
bump. Is the issue still alive? |
I just discovered your library lately and doing mobile C++ development myself for some time now, I can only say that what you have done is an amazing job. I have previously been using manual bindings for both iOS and Android (via JNI) but lately I am using Djinni. But it has limitations which your lib seems to overcome.
I have few questions though:
Have you been able to use it in a production app ?
In the same way how well tested the library is ?
Do you have any documentation/example on how to use it ?
Thanks in advance for the details you could give me.
The text was updated successfully, but these errors were encountered: