objective c - Reloading a TableView's data? -


i'm trying build hello world application xcode 4.3.

so far, have tableview (dragged , dropped objects list) , tableviewcell (also dragged , dropped objects list).

i have array too, , tableview works , gets data array, how can reload tableview's data? tried [self.tableview reloaddata]; doesn't work. when type [self., tableview not in options...

to have nstableview property of class, have declare one.

in interface of class add:

@property (weak) iboutlet nstableview *tableview; 

in implementation add:

@synthesize tableview; 

then in interface builder connect table view tableview outlet of class, right clicking on "file's owner" , dragging line "tableview" table view.


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -