- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { } - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { } - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { }
Wednesday, 26 September 2012
UITableView with static cells not showing
I'm still a noob at Xcode iOS development, and today I was trying to build a nice-looking input/edit form using a UITableView with grouped static cells. It looked good on my storyboard but when debugging the cells just wouldn't show up.
The reason? I was implementing three methods that shouldn't be there at all when using static cells. I deleted them and bingo, it worked. Here they are:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Comments are moderated, so you'll have to wait a little bit before they appear!