-1

my scrollview is not scrolling.enter image description here

Manchu
  • 43
  • 10

1 Answers1

1

There are many ways to do this. Here are two:

  1. Use the existing markup language. Storyboards and Xibs are just XML. You can generate that XML on the server, download it at run time, and then use NSBundle loadNibNamed:owner:options:.

  2. You can invent some new markup. That XML format isn't documented, to my knowledge. It's also really hard to read. You might decide some simple json describing the view you want is all you need. So just download json responses and instantiate the views and map the properties. You can get fancy and use things like NSSelectorFromString to invoke the property setters, etc.

Community
  • 1
  • 1
i_am_jorf
  • 53,608
  • 15
  • 131
  • 222