iphone - adding UITableView with code -


I am very new to iPhone programming. I'm playing with sample code. My first question is if it is possible to add UITableView with code, if it happens then my code is that I am trying to add UITableView to the navigation controller .

  analyticsTable = [[UITableView alloc] init]; [Self.view.window addSubview: analyticsTable]; [Self.view removeFromSuperview];  

How do I get to know about this

thanks Varun

Take a look at the docs provided by Apple

Look down on the halfway side in the" Make the table view programmatically "section. I think that's exactly what you want.

He has taught me how to program the tables. I do not have to use IB.


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -