0

I have a Navigation controller in my project. now I want to load views from different dll files, and add them into the Navigation Controller. I am not sure it is possible or not. If possible how could I do this? how could I create the separate dll for each View?

Please note that I am using Monotouch and C#.

2 Answers2

0

You should use Dependency Injection, facilitated by an Inversion of Control framework which supports Monotouch.

Community
  • 1
  • 1
Stuart Grassie
  • 3,043
  • 1
  • 27
  • 36
0

Create a MonoTouch Library project and create your UIViews there using code (not with interface builder, it will not work)

Then, from an other project, add a reference to the library you created and add the views to the navigation controller.

Yiannis Mpourkelis
  • 1,366
  • 1
  • 15
  • 34