Hi, i have tryed to display my NSMutableArray in a Table View by following a tutorial. It has completley failed for some reason, i think i have a good idea why but cannot get around it, this is my code:
- (void) scoreSystem {
scoreArray = [[NSMutableArray alloc] init];
NSNumber *onescore = [NSNumber numberWithInteger:score];
[scoreArray...
like build in apple notes app, after you swipe to delete the selected row, it will select the nearest available row automatically.
The logic should be:
if row count > 0 then
if deleted_row == last row then
select deleted_row_index-1 row
else
select deleted_row_index+1 row
end
end
i have try to implement the above log...
I am using core data trying to create a simple database app, I have an entity called "Game" which has a "creator". I have basically used the iPhone table view template and replaced the names. I have the games listed by creator. Currently the tableview looks like this...
Chris Ryder
Chris Ryder
Chris Ryder
Chris Ryder
Dan Grimaldi
Dan G...
I want to add a custom table to my iPhone app, that should look and work like the one used in the facebook app showing the notifications. It should contain rows with links in it. The text should be black, while the tap-able parts should appear blue.
As a already figured out, labels only have one font, color and so on and you can't mix s...
Hi,
I have a pretty weird problem with NSURLRequest.
I'm using them to make an asynchronous image loading in an UITableView. The first time the tableView displays, all connections from NSURLRequests open correctly but receive absolutely no data, regardless of how long I wait.
But as soon as I scroll down in the tableView, the newly crea...
Hello,
I'm testing my App and in a very simple view, each time a tap on a UITableView row, my allocation overall bytes get higher and higher and never go downs.
I don't have any special code there, so I created a new project from scratch with a very simple view, force one section and just three rows. In the didSelectRowAtIndexPath code...
Can I have different configuration of rows in different section of table view?
This method doesn't contains the section parameter:
-(UITableViewCell *)tableView:(UITableView *)tableView
cellForRowAtIndexPath:(NSIndexPath *)indexPath
So is it possible to do differently for different sections in the same table view?
...
Hi,
I have developed an application which has retrieved the information from remote location...so i put those in UITableView's Section.In response, i will be getting images also..for this i put the background process(only for images..because the app will take more time to retrieve images than text based information..).It is working fine....
Hi,
I am working with the SearchTestController demo as part of TTCatalog in three20 and have found that if another TTTableViewController is called from the search screen (via URLs with TTNavigator) on the first view, the top row of the second tableview is concealed by the navigation bar. This only occurs when calling from the first Vie...
I have an application with several UITableViewControllers.
Now, the user is allowed to change "Data source". In that case I need to invalidate (reset) data in the relevant UITableViews.
I figured out, that I can use NSNotificationCenter and add these controllers as observers to events which will be generated when the data source changes...
I am trying to add a UITableViewCell at the very bottom of my UITableView programatically. I am getting an index out of bounds error, which I am not sure how to resolve:
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
// Return the number of rows in the section.
return [items count]+1;
...
Hello, I'm having a bear of a time trying to figure out why I'm getting a EXC_BAD ACCESS error. The console is giving me this eror: " -[CFArray objectAtIndex:]: message sent to deallocated instance 0x3b14110", I Can't figure it out...Thanks in advance.
// Customize the number of rows in the table view.
- (NSInteger)tableView:(UITableVie...
I've based my app on Apple's SplitView project type. I have a TableView as the Master, and am using different types of views as the Detail view. To select types of detail view, I'm using the fancy concept of buttons on my DetailView toolbar. When the DetailView is derived from UIViewController, everything is good. When the DetailView...
I've tried a lot of different code examples including just brute force try this try that but, stumped.
The popover left arrow seems to display just fine if the first row is displayed at the very top of the table view but, when the table scrolls down the popover left arrow doesn't align correctly with the table row selected. Solutions or...
I've made a new class in my Xcode project which is derived from UITableView
I then drag a UITableView from in the interface builder onto my view and change the class of the object to my derived class. Then I drag the outlet from the table to the files owner and hook it up to an outlet variable in my main view, which is of the same type ...
I have a UITableViewCell that I create in tableView:cellForRowAtIndexPath:. In that method I call:
UITableViewCell *cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:nil] autorelease];
NSLog(@"Cell height: %f", cell.contentView.frame.size.height);
This gives me a return value of 44.000000.
Then...
Hi Guys,
I am working on navigation based application in which i can navigate to many views starting from default UITableView which is starting view in application template.
I have added another UIView and added tableView control on that UIView.
I am calling that view form one of the many views on a button click. Its showing the view ...
I have a UITableView that holds just two cells with a textfield in each. As my tableview is just for editing the text in these textfields I always want the keyboard to be shown static in the bottom of the screen. So in viewDidLoad I set the first textfield to become first responder.
Something I have noticed though is that when I push th...
Hi,
I have a UITableViewController with a table view that works perfectly when in portrait mode.
the problem is when IO rotate the phone the tableView won't scroll all the way through it keeps bouncing back. (have switched bounce scrolling off) I suspect the tableview size is not correct but I can't fibure out why this works for multip...
I have a CustomCell loaded using:
NSArray *nibObjects = [[NSBundle mainBundle] loadNibNamed:@"CustomCell" owner:nil options:nil];
I have no problems with the tableview but when I select a row I want display more information on that row(like facebook app)... using the typical "show more".
At the beginning the row show "title" and "des...