mvvmcross - How do I write the code once, then link to existing XCode or Android project? -


i'm interested in mvvmcross means of developing library can compiled , linked existing ios , android project.

is possible using mvvmcross. library contain

  • models
  • persistence / data access code
  • web service calls
  • business logic

is possible?

cheers

tobin

if want that, difficulties doesn't justify effort. it's easier if rewrite ios , android xamarin.

'rewriting' has bad reverberations, in ear of boss, due how xamarin works, it's easier might think, here why:

if plan use xamarin , mvvmcross build shared core project , use in existing xcode , android projects (assuming technically possible) have strip out pretty of implementation existing projects , move xamarin mvvmcross core project.

your existing xcode , android projects remain ui. similar re-writing apps xamarin, because xamarin build ui using same native tools had.

if want use xamarin, best think recreate ios , android apps xamarin. have ui done , can port easily, there's no need rewrite ui layouts.
however, have add , change few things in ui, reason.

i suggest first read mvvm design pattern in general, if haven't. mvvmcross videos http://mvvmcross.wordpress.com/ , wiki https://github.com/slodge/mvvmcross/wiki


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

c++ - Clear the memory after returning a vector in a function -

erlang - Saving a digraph to mnesia is hindered because of its side-effects -