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

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -