i want to make an app for a little blog. (Looks little bit like the facebook timeline)
There is already a website for it. I know that i can make a HTML document to an app, but i want a native version.The website looks like that:
The scructure is very simple: Title, image, title.
Now: I solve it like that:
I have in my mainview a UIScrollView. And add the control:
And add the controls in a foreach where i grab the data:
MangoListItem *myLabel = [[MangoListItem alloc]initWithFrame:CGRectMake(0, 0, 200, 40)];
[myLabel setBackgroundColor:[UIColor redColor]];
[scrollView addSubview:myLabel]
First: Is this a good solution?
Second: How can i associate the .xib File with the .h File?
Thank you for your help!