uitableview

Custom TableView Cell Indentation Issue

Hi, I created a custom UITableViewCell in my app and the default indent when the Delete button is present is not happening, below is a screenshot of my settings. Anyone have any idea as to what I'm doing wrong? Also, here's a shot of the IB properties: ...

When you tap a uibutton a certain header comes up based on the button you tapped?

For example lets say you have list of sports 1.Football 2.Baseball 3.Basketball you click on one of those it brings your up to a choice of 1.Schedule 2.Stats 3.Coaches then you click on coaches and up comes a uitableview with all of the coaches for each sport football, baseball, basketball, separated by a header for each sport. How...

How do I change the color of TableView and Button controls in iOS?

I designed a web app for iPhone and am now trying my hands at a native Objective-C version, and I'd like to retain some continuity with my original design. Since my web version uses CSS, I was able to customize the color palette, even though the UI was designed to imitate a native iPhone UI. I'd like to use a similar color scheme for my...

Replace UITabBar with UIToolBar

I have an application with UITabBarController with a UINavigationController subview, which holds a table view. I want to be able to switch out the UITabBarController with a UIToolbar for a specific view controller when a cell is selected. Here's an example from some other application, which reacts the same way: And when you select a ...

how to implement swipe in table view iphone

i have a table view. i divided it into 3 sections. i want to implement swipe in this tableview. when i swipe in table view, next view will be loaded. How to implement this? Thanks in advance ...

navigating a .Docset file in iphone app

I want to use a Docset i have created using Doxygen in my iPad app in a tableview, and navigate through the directories. then display the file i click. How would i go about navigating the Docset? i can unzip it, then navigate the directories in that manner, though i'm certain there must be a way of using the file as is and then being ab...

Manually scrolling UITableViewController when a UITextField becomes first responder

Harrr pirates! I'm trying to make a data entry screen using a TableViewController. It contains a grouped table view with two sections, each with a few (2 and 4) rows with a UITextField inside them. When any of the UITextFields become first responder they scroll into view automatically. Great, you would say, but I want to scroll the whol...

Update values for a UILabel placed in a UITableViews Section Header.

Hi I would like for my section header to display the sum of the values in my rows. I therefore implement the: - (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section delegate function and place a UILabel in the custom view I build here. If this were a UITableViewCell I would build the cell if it did ...

UITableView within Tab Bar Application

Hi everyone, I'm trying to add a UITableView to my Tab Bar application, but I'm completely at a loss for where to start. I've tried to add a new XIB and load the XIB from the View Controller in MainWindow.xib, but all it does is crash. Can anyone provide a tutorial from adding the UITableView to my Tab Bar app all the way through to se...

Method for sorting custom objects alphabetically in UITableView

I have two custom objects, "Phrase Book" and "Phrase", the Phrase Book has an array of phrases, and each phrase has a Title, Description (and a whole lot of other properties / methods). In otherwords: PhraseBook.Phrases (NSArray) => Phrase (Subclass of NSObject) { Phrase.Title = "Phrase Title", Phrase.Description = ...

NSMutableArray vs. NSDictionary for a table view

I have a table view that is populated by objects in an array. I want to give the user the option to delete table entries. I was wondering if it would be easier if I used NSDictionary instead of NSMutableArray? How do you know when to use NSDictionary instead of NSMutableArray? ...

generating tableview from plist file

Hi @ll, i know the feature of generating a nice looking table view for the iPhone's system settings menu by creating a Settings.bundle with a plist file where you define all the different elements for the table view (type, key, default value etc..) My Question: is there any way to create such a table view within the application? ...to ...

How to add a navigation bar to a UITableView

I added a subview to my application. The view controller is a UITableViewController. When I open the .xib file I see the table, but I can't drag a navigation bar onto it. So once the user enters the view, they have no way of getting back to the previous screen. What can be done? ...

UISearchBar as a subview to UITableView

I have a UITableView that has a subview UISearchBar attached via the Interface Builder. When - (void)searchBarTextDidBeginEditing:(UISearchBar *)searchBar is called, I set searchBar.showsScopeBar = YES and call [searchBar sizeToFit] to actually show the scope bar of the search bar. The problem is, that the first cell of my table view g...

UITableView, reloadData reload the cell but does not resize the table

I have this strange behavior, when I update my dataSource ofr my UITableView and call the reloadData thing, the cells are updated but the size of the table dosen't change. I really do not have any clue... can some one help? ...

Scroll view and table view performance when loading images from disk

I'm trying to improve the performance of my image-intensive iPhone app by using a disk-based image cache instead of going over the network. I've modeled my image cache after SDImageCache (http://github.com/rs/SDWebImage/blob/master/SDImageCache.m), and is pretty much the same but without asynchronous cache in/out operations. I have some...

UITableView Scroll slowly

i got the problem in my apps, i have UITableView and it's scroll slowly, not as fast as the other application, even i didn't create any object or add subview in my table this is my code : - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *searchingIdentifier = @"...

Disable Scrolling of UISearchbar that is added to UITableView

I have add a UISearchBAr to the UITableView to implement search functionality. But after searching is done, the UISearchBar is also scrolling and disappearing along with the UITableView. I just want to know how to make the search bar static with only the UITableView scrolling... ...

remove the subviews from the contentView of UITableViewCell (reset the UITableView)

Any idea on how to reset a UITableView??? I want to display a new set of data at the press of a button and also remove all the subviews from the cell's contentView and refresh them with a new set of subviews? I tried [tableView reloadData] the data did get refreshed but the subviews added to the contentview of the cells previously p...

UITableView and NXXMLParser ... Calling Heirarchy

Hi Guys, I am stuck in a strange situation , i am getting data from the website using XML files and i am filling an Array (NSMutableArray Type) that i later use to display the data on Table View. The problem is that functions related to UITableView are called earlier and at that time the Array is not filled, this cause the program to cr...