I am having trouble setting up my cellForRowAtIndexPath with Sections. If I were to just show all "tracks" without separations of sections by "topics" then it works fine.
Track *aTrack = [appDelegate.tracks objectAtIndex:row];
cell.textLabel.text = aTrack.track_title;
I have already set up my numberOfSectionsInTableView, numberOfRowsI...
Have a nib file with a UISearchBar on top and a UITableView.
wann add an button and some text on top of the UISearchBar's input. so i made (in viewWillAppear):
[searchBar setFrame:CGRectMake(0, 0, 320, 90)];
works fine so far (except the position of the input needs to be vertically aligned to the bottom and not to center, any hints o...
Hi,
I am a newbie and I am developing an iPad application. I am developing an application that gives a list of cars in the Root View and when the user selects a car make, the thumbnail images of the models are displayed in the detailed view controller. I was able to have a table but I am stuck as to how to display the thumbnails. I am a...
Hi, I'm not seeing the text for my UITableView show up.. in fact the TableView doesn't appear to be on the screen at all because I cannot select the empty rows.
Strangely, my log in cellForRowAtIndexPath shows up ok with the expected data - I just don't see any on the screen.
-(void)bindFriendsToTable:(NSArray *)friends{
NSLog(@"frien...
I've enclosed a screen dump to make things easier to follow.
I've attached my outlets for datasource and delegate and I've created an outlet for my table view, but reloadData doesn't work?
Ideally I'd like to only call reloadData after the view has been loaded once?
...
I'm managed to make my UITableView rows / cells black when data is loaded, to a fashion, I get a white line in between rows, which makes it look awful. How can i make them fully black with and without data ?
Heres the code I'm using at the moment
- (void)tableView:(UITableView *)tableView willDisplayCell:
(UITableViewCell *)cel...
I'm having a store locator (tableview) and a map view. Basically I want to easily go back and forth these two without having to worry about memory. The tableview downloads a chunk of data and parses them into the tableview.
Is there a way I can not load the table view's data again? Something like a modal view controller, but pushing it ...
Hello,
I am creating a uiscrollview programmatically populated with multiple uitableviews.
The uitableviews need a manual datasource that will change for every instance. I
wondered if any of you have some sample code of an array of uitableviews where
cells are configured.
Thanks in advance for your help!
...
I'm putting together a basic UITableView before getting some feedback of how the data should look, if there a tab character or some way that I can split up the data in a string to make it look for tabular ?
...
I'm having a tableview with a couple of cells with 4 uiswitches and one textfield inside. Simple question. I need a way to read all the positions of the switches and the string inside the textview by clicking a button. Tableview, textfield, switches and button is working fine. Just need to access the values of the switches and textfield ...
Hey,
I'm basically trying to retrieve data from SQlite db and populate a tableView from it.
The sql-data-retrieval method creates two arrays. "dataArray" and "SectionArray".
DataArray is filled with data NSObjects.
Uptil this point, i can create the appropriate Section headers.
Here is the problem,
-1 What do i do to make sure th...
My application is somehowe a library, represented by a UITableView, each row displays three book icons, pressing on any icon would cause the app to navigate to a scrollview that scrolls between the book pages.
Each book is represented in the resources directory by two things :
1- a .plist file, eg : Book1.plist
2- a folder containing i...
Hello fellows,
I have the following problem: my app has a table view with subtitle style and a search bar in one tab and if I search something the subtitile is in the wrong spot (ex. I have Object1, Object2, Object3 with ObjectSubtitle 1, ObjectSubtitle and ObjectSubtitle3. If I search for Object2 it's subtitle will show ObjectSubtitle1)...
hi,
I have been struggling with a cell disclosue button... First it was saying it is depreciated as I was using:
Code:
-(UITableViewCellAccessoryType)tableView:(UITableView *)tableView accessoryTypeForRowWithIndexPath:(NSIndexPath *)indexPath {
return UITableViewCellAccessoryDetailDisclosureButton;
}
So I commented that out and adde...
I am quite familiar with regular usage patterns of Core Data, but recently stumbled upon a problem: Imagine a simple case where I have an Entity of person, with 2 string attributes name and company. I want to make a UITableView sorted by names and divided into sections by company name. Sound simple enough:
...
personFetchController_ = [...
Hey guys,
Is there anyway of renaming a specific cell's text? I know what the row number is, but I don't know how to change the cell title. Any help would be appreciated.
Thanks,
Kevin
...
How can i populate table view with local files.
What do i need to use. Will it be possible if i use NSFileManager and UITableView in combination ?
...
Hi there!!
I created a simple TableViewController using the template offered by xCode.
Then I open the xib file of the TableViewController with Interface Builder and I drag/add a uisearchdisplaycontroller on the top part of the tableView.
xCode automatically creates and link all the outlets.
I save the xib file and I run the app but the...
Hi!
I was wondering, is there any methods to retrieve a specific cell from an UITableView?
For example, from where I am I can access my UITableView, so I would like to call something like cellForRowAtInteger:3 and that would return a cell so I could manipulate it.
Any ideas?
Thanks!
...
I've got an iPad app with a UITableView that has roughly 100 rows. The cells are custom, I've implemented heightForRowAtIndexPath to tell the UITableView how big my cells are.
I'm using this:
[tableView scrollToRowAtIndexPath:indexPath
atScrollPosition:UITableViewScrollPositionMiddle animated:NO];
to scroll the tabl...