Questions tagged [reloaddata]

This tag covers reloadData methods on UITableView, UICollectionView and NSTableView in Apple's UIKit and AppKit frameworks. Do not use it outside the context of Apple frameworks.

Initially this was supposed to cover reloadData on UITableView on Objective-C, but by now it has also been used for all kinds of issues regarding reloading data.

Don't do this, let's leave this to UITableView.

678 questions
0
votes
2 answers

Unload UICollectionview and reload?

I have a probem when trying to reload a UICollectionview in iOS. I am using it to display levels in a game. The collectionview consists of 10 cells. The content of the cells depends if a level is unlocked. If the level is unlocked the cell displays…
CCDEV
  • 371
  • 1
  • 5
  • 16
0
votes
1 answer

Can't reload a collection view - null

I'm developing a simple app which downloads images from Dribbble, but I'm having problem reloading the data for my collection view. I have two views set up with ViewDeck, center is my main view which contains the collection view and another view…
johnkodes
  • 123
  • 1
  • 13
0
votes
2 answers

Refreshing Subclassed UITableViewCell

I've been at this one for a few days and can't get anything to work (there's some similar questions on SO but none have been quite right/done the trick). So, I have a UITableView whose cells are subclassed (which are actually UITableViews with…
Ryan
  • 195
  • 2
  • 14
0
votes
1 answer

UITableView losing record after coming back from edit mode

to study core data I have created a master detail tableview, with Clients and Projects. Master view shows clients and detail view shows the projects related to a specific client. There is also an editing mode, in which you can edit the client or…
Eloy
  • 119
  • 1
  • 9
0
votes
1 answer

UITableView doesn't reload on model change with NSFetchedResultsController

Got a problem logically deleting an object from table view. Idea is to set a flag to an item like "deleted" to 1 if item shouldn't be shown. Loading data predicate shouldn't load such rows. Code with predicate and creation of…
0
votes
1 answer

How to refresh or reload data

I would like to refresh any 60 sec only the values given back from the following code inside a widget, without reload the entire page:
0
votes
1 answer

coreplot reload data not changing color

i have a scattergraph that successfully plots. i have a NSArray of custom objects each of which contains the name for annotation, x value, y value, symbol color, symbol shape. when i load the graph it works fine. when i click on rows in a table that…
bruceyyy
  • 409
  • 3
  • 14
0
votes
1 answer

iOS 6: Reload UITableViewCell height without animation

I am parsing data, which I'd like to display in a UIWebView within the contentView of a cell. The problem: The height of the cell is loaded before I get the real height of the UIWebView. So I need to refresh the height of the cell, after the webView…
filou
  • 1,609
  • 5
  • 26
  • 53
0
votes
1 answer

reloading a uitableview starts at the 2nd row (or not at the first row)

Uitableview problem again. Whenever I reload my data, the tableview would reload but it seems like the data will not start at the first row. Please refer to the image below. I tried the following after the reload of data but still no…
gdubs
  • 2,724
  • 9
  • 55
  • 102
0
votes
2 answers

IOS [UITableView reloadData] vs new instance of that UITableView class on ViewWillAppear parent class

Im new to iOS programming and I have created my first app for iPad which handles several views. Since I dont know how memory and objects are managed (The app havent crashed but Im trying to prevent them) I have this question. In general Which is…
Symphonicmind
  • 100
  • 2
  • 2
  • 6
0
votes
1 answer

how to reload data in NSViewController?

I'm trying to figure out how to reload data in NSViewController. I have a project like this, left side bar is NSOutlineView (which controlled by my outlineViewController) and the right split view is a custom view: So I have this "profile.xib" file,…
Josh
  • 692
  • 2
  • 9
  • 38
0
votes
2 answers

UITableViewController, scroll boundries off when adding objects

Im working on an iphone project with storyboards in Xcode, and I have a tableview that lists cells loaded from an array it owns. Through push segues I load 2 other views for adding an item to the table, and then I use a unwind segue to go back to…
lxl
  • 31
  • 5
0
votes
3 answers

Unable to reloaddata(UITableView)

I'm creating a UITableView in an UIView controller - (void)viewDidLoad { [super viewDidLoad]; self.tableView = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, 470, self.view.frame.size.height) style:UITableViewStylePlain]; …
Tom H
  • 517
  • 1
  • 6
  • 10
0
votes
2 answers

ios reloadData only reloading non visible cells

ive read through alot of posts here on my issue, but none have worked yet, so thanks in advance for helping. I have a tableview, that loads a custom nib. I have data coming from a web JSON file. I have implemented a refresh call (im now overriding…
0
votes
2 answers

Image not being set in the UItableViewCell:

I am trying to set an image to the UITAbleViewCell but it does not show up untill unless scrolled. I apologize if its repetitive. But I've tried setNeedsDiplay, reloadRowsinIndexPAth, and all other reload methods. I am using SDWebImageCache to…
shyamsundar1988
  • 529
  • 4
  • 14