3 ms·
> - data structures for your domain objects not sure there are a problem since you have data classes in kotlin. I bet swift provides something similar. > - ne
by jorgemf 10y ago
> - data structures for your domain objects
not sure there are a problem since you have data classes in kotlin. I bet swift provides something similar.
> - network code
In Android you must use okhttp, and I guess there are similar powerful libraries in swift for this.
> - if you're using something like https://realm.io/ https://realm.io/
Last time I checked it I decided to keep using SQLite as it allows me to do everything I want. Realm doesn't support "complex" SQL queries.
Again, just business logic. But there is no too much apart from field validation or simplex operations to show the data (or it should be much more). Complex things must be in the server, that is the best way to share business logic among all your apps in all the platforms.
- relics443 10y agoFor anyone not that familiar with Android, "must use okhttp" refers to the fact that it is the best solution, not that it's the only solution.