I have a table view , within that tableview I'm setting up a section header, which I want to contain an edit button.
I know there is a built in support for something like that if my viewcontroller is part of a navigation chain, but is there a way to do it without it, or the only option is to set a button manualy and trigger an action tha...
Beginner iPhone programmer here, so bear with me.
Here's the problem: I have a UITableView. I also have a search controller. When the text in the search bar changes, it calls the reloadData method which adds getDataInBackground to the NSOperationQueue. Once the operation is done, it calls [tableView reloadData] in the main thread. Here...
I have a tabbar application. Second tab had a drill down table list with Navigation Controller. I also want to implement a segmented control inside a tool bar that shows different table entries as per the selected switch in segmented control. I am a little confused as to how to implement this?
Screen-shot -
This is the view in second...
Hello everyone
I have a UITableView with 2 sections.
The UITableCells in the same section can be moved.
But I hope to forbid the movement between 2 UITableViewCells in different sections of a same UITableView.
Is it possible?
Welcome any commnet
Thanks
interdev
...
I'm having trouble changing the section header for my grouped uitableview. I have tried everything. I have wondered whether it is a bug with the simulator or something? I am running the latest version of xcode and am developing for the iPad.
Here's my tableview header code
- (UIView *)tableView:(UITableView *)tableView viewForHeaderIn...
Hi All
Odd question, I am creating a UITableView, setting 8 rows of data. Simply, I'm just returning the indexpath row to try and figure out what is wrong, but ultimately, any rows that are off screen seem to load in a strange order.
For example, rows 0,1,2,3,4,5 all appear ok on first load, but then 6 & 7 are off screen. When I scroll...
Hello,
I am using MGTwitterEngine, and I have everthing working fairly smoothly. I am using it for an iPad program, and currently I have a UIView with a UITableView inside. I want to reload the table, but because I am using a UIViewController, I can't figure out how to target it. I understand the widely used method is:
- (void)viewWill...
Hello,
I have a sectioned UITableView using dictionaries adapting code from a tutorial (I don't have a link on me at the moment but I can dig it up if you really need it).
Anyway I'm trying to have it delete an item from the list when I get this error (warning: its long)
Terminating app due to uncaught exception 'NSInternalInconsiste...
When I add a section index consisting of "A", "B", ..., "Z" to my UITableView, everything works fine in the iPhone simulator. In this case, I get A, B, C,..., Z displayed in a horizontal line on the right hand side of my UITableview. If I add a 27th element (e.g. "Other") to the section index titles, the section index will now show A,*...
My table view shows a list of users. I'm having issues refreshing my table view after adding a user. I've tried different combinations of code and events and now the app is crashing on the endUpdates call. The app is modeled after the recipe app, so a user clicks the add button, and then a modal window appears asking for the users nam...
Hi All
I have one table in my core data source which holds some articles with NSDate's. I basically want to separate the NSManagedObject into days, so you can scroll through and separate articles by date.
What is the best way to approach this? My context is queried out in descending date order, so just need to split that up into days f...
Hi, everyone,
I want to ask a question about the objective-C and iPhone application. I am writing a program which contains a UITableView *. In the view, it has 1 table section which is 2 rows. Both of the row display a int. In the same page, it has a button. after the user press the button, both of the int will be updated. However, I fo...
Hi All,
I am facing a strange problem. In a table view, I am having 3 sections out of which 1st section is having only labels and text fields. 2nd and 3rd section contains text fields and disclosure indicator on some cells of table.Say 2nd section is having 10 cells, then 3 contains disclosure indicator and other having text fields.
My...
I was under the impression that adding a subview to a view goes like this:
UITableViewController *sitesel = [[UITableViewController alloc] initWithStyle:UITableViewStyleGrouped];
sitesel.view.frame = CGRectMake(0,0,100,100);
[self.left addSubview:sitesel.view];
[sitesel release];
But it seems I should not release the sitesel (the cont...
I made a custom UITableViewCell in IB, but for some reason, despite the single line option for separator being selected, there are no separator lines on my table.
Has this happened to any of you before? What gives?
Thanks!
...
Hi there,
I have a TabBarController, which contains 4 tabs with a UITableView init. The content of each table view is downloaded from server. There is no problem, if I switch tabs slowly. But if I switch tab a bit faster, I always get the "message sent do deallocated instance" when I insert rows into table,
following is the insert code:...
Hi everyone,
I am building an app that uses a TabBarController to display several other views. In one of these views, I'm using a navigation controller to navigate some tabular data. When the user click's this tab, I load in the NavigationController which in turn loads the TableView that I'm using. The issue is that I get the following ...
How do you disable selecting only a single cell in a UITableView? I have several, and I only want the last to be disabled.
...
I have separate files for the UITableViewDataSource and UITableViewDelegate
I am implementing a 'Pull Down to Refresh' feature on a UITableView and wish to send a signal from the UITableViewDataSource to the UITableViewDelegate to stop the loading indicator from turning.
I was wondering what the best way to send a signal between the U...
HI All,
I currently have an NSFetchedResultsController setup to return all rows in a table in my core data database. This then fills up my UITableView. The trouble is this will quickly get out of hand as the rows grow in number.
How can I limit the initial query to say 20 results, then add a button somewhere to "Get More" from where we...