uitableview

how to create a UIView with a UINavController and a UITableView

Hi all, I have an App and, when I press the 'i' button, to show the About App view, I need to have a view, with a background image, with a UINavigationController and a UITableView. How can I achieve that, with InterfaceBuilder, or progamatically? It's not done in AppDelegate. I need it to be done on a view. I have the following code, bu...

what is the simplest way to have text show if a tableview section is empty?

Preferably without looking like a cell. I would like to display "tap edit in the upper right to add syllables" ...

Using a custom UITableView without linking in IB

I have a custom UITableView class for creating shadow effects on all of my UITableViews. Is it possible to incorporate this class with my UITableViewController(s) without creating a nib file for each table view controller? Is there another way to link this custom UITableView other then in IB? ...

Top row fixed in UITableView

Is it possible ? I used 3 label in cell of UITableView. I want to make to first row is a header and fixed position always when scroll. Section header can't show right position of label. Lost Angeles, U.S.A should be show on second column but first columns text is too long. ...

Horizonal Scroller in UITableView

How to make Horizontal Scroll allow in UITableView ? I add label in cell content view with frame. However, can't show in Portrait view. I want to allow horizontal scroll bar on Portrait view. I already check on Scrollers Horizontal in UITableView but it's not working. ...

[iPhone app] Dynamic expandable UITableView with sections

Hello, I am currently creating a UITableView with expandable/collapsable sections. I get data from the Internet in JSON format, storing it in arrays just like this : {Section 1 {s1 data 1, s1 data 2, ... }, Section 2 {s2 data 1, s2 data 2, and so on}} Sections can be alphabetical letters, year number or whatever. I create my table v...

Editing one object in an NSMutableArray also changes another object in the NSMutableArray

I had a navigation application that was working normally. In the table view, the last item is called "add item", and if the user pressed it, it would create a new object and pass it to another view where the user could enter the details for that object. When the user returned to the previous screen, the new object would show in the array...

Gotta Catch'm All! - UIView over UITableView not receiving taps

Hey guys, The problem with this app is that the TapCatchingController does not receive the taps that are on section headers or between sections. I'd like to learn how I should do that. I have tried to keep my sample program as small as possible, but it's still rather long, sorry for that. The code is however self contained. If you copy ...

filling uitableview with nsdictionary

hi, I have made a plist myself which picture is blow, image. keys are names of person and values are phone numbers. then I imported to source folder with ut8 encoding. Now I want to import these data to a uitableview but I'm unsuccessful. here is my codes: - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath...

UIScrollView inside a UITableView won't show/hide correctly (Xcode iPhone)

I've used Interface Builder to drop a UIScrollView into the top of a UITableView. (To do some horizontal scrolling.) In code, I now wish to selectively show/hide that UIScrollView. I've connected it in IB, and then execute various combinations of code... but the area never disappears. self.scrView.hidden = TRUE; or: CGRect aFrame ...

Updating DetailViewController from RootController

I'm trying to create an iPad application with a similar user interface to Apple's Mail application, i.e: RootView controller (table view) on the left hand side of the split view for navigation with a multiple view hierarchy. When a table cell is selected a new table view is pushed on the left hand side The new view on the left side can...

Horizontal Scrolling UITableView - Caveats?

Would it be as simple as applying a rotation transform? I'm willing to manage the content of my cells with a rotation transform. ...

How to prevent counting an empty NSMutableArray

Hi, I would like to simulate the SMS Bubbles of the iPhone for my own app. I found some nice code overhere (FYI): http://vimeo.com/8718829 . It is a restyled UITableView. Exactly what a wanted. Here is the problem: - The Tableview is filled with an array of messages - It needs to be a NSMutable array because you want to add messages on...

iphone sdk: How do i add a button to a uitableviewCell?

hi, I'm trying to add a button to the uitableviewcell and i just can't get it to work any suggestions what i'm doing wrong?? checkButton = [UIButton buttonWithType:UIButtonTypeCustom]; [checkButton setFrame:CGRectMake(0, 0, 30, 30)]; [checkButton setBackgroundImage:[[UIImage imageNamed:@"checked.png"] stretchableImageWithLeftCapWidth:10...

UITableView - hide all groups/cells while data is loading

I don't want to display my table view cells until the data has been loaded from an external source. I want to show an activity indicator over the table background while the data is loading. I can get the indicator to show by adding it as a subview to tableView, but I can't figure out how to hide the rows until they are ready to be displa...

iphone: how to add checkboxes to a uitableviewcell?

Hi, I just can't seem figure out how to do this hopefully someone here can help me. In my tableview i want to add checkboxes to each cell and if you touch the checkbox a checkmark appears and a specific action is supposed to happen. but if you just touch the cell a different action is supposed to happen. Does anyone have an idea how to d...

Pattern for Updating UITableView on Sync?

I'm working on a feed reader iOS project. Feed entries are listed in a UITableView in reverse chronological order. On launch, they're loaded from a database into an array. When the app syncs to feeds, it creates a new array for the new order of things, and then to update the table, compares the new array to the old array to determine wh...

Reload UITableView viewWillAppear

Hey guys, I'm in a Tab Bar Application and I have a tableView that's loaded from an array, and it works fine. (I don't have a TableViewController though). The problem I'm having is that I want to reload the table view every time the user clicks on the tab icon. So I put [tableView reloadData] in viewWillAppear, but I get an error messag...

Objective C - UITableView after calling reloadData my object properties are null/nil

I have a ViewController defined as follows: @interface SectionController : UITableViewController { NSMutableArray *sections; } - (void) LoadSections; When LoadSection is call it makes a call to NSURLConnection to load a url which in turn calls - (void)connectionDidFinishLoading:(NSURLConnection *)connection { NSString *res...

Use two different cell identifier on same table view

I'm trying to get rid of a cached UITableView cell. I have two sections. The first cell of the second section has the same "appearance" as the first cell of the first section. With appearance I mean the cell height (multiline cells). I tried to use different identifiers, but that didn't worked. Here is the code: NSString *identifier; i...