Create UIViews based on character on JSON string

Does anyone know of a way to implement some code which would automatically create UIViews based on the content of a JSON response?

 

At the minute, I can retrieve a string and it would show in the UIView as:

 

This is some text:

• Bullet one

• Bullet two

• Bullet three

 

I would like, if possible to generate a UIView for every time the sentence starts with “•” and nest it within it’s own UIView.

 

Is that possible?

Powered by WPeMatico

You may also like...

Comments are closed.