How can I add a UITableView into my View-Based Application where the user will tap on more than one cell, and it will become selected, exactly like the Clock app's "New Alarm" setting named "Repeat" (Clock>Alarms> + >Repeat), and how can I get all of the selected cells in an array?
...
Hello,
I'm very new to iPhone programming, and I'm currently following tutos to understand the whole thing. I've been able to do what I needed (retrive data from a JSON http server, parse them with YAJL and plot the data in core plot). I have done this in a "simple" view where I have added a UILayerHostingView as requested by core-plot....
I'm having navigation controller with few views.
I've table view in one of the views. I'm showing tick mark when user selects a cell in table view. Upto this point, its fine.
When user goes back to previous view and comes back, i want to reset the table view. How?
...
I currently have a UITableView with each cell containing four UIButtons. I am placing an image for each button with a downloaded picture from online. I'd like to have the button fade in when the image is finished downloading. I know I can animate in the viewDidLoad, but I assign the image in the cellForRowAtIndex function. How do I go ab...
Given an iPhone app with a UITableViewController pushed onto a UINavigationController, I would like to add a right bar button item to toggle between the table view and an "alternate" view of the same data. Let's also say that this other view uses the same data but is not a UITableView.
Now, I know variations on this question already exi...
I am displaying a UITableViewController inside of a UITabBarController that is being presented modally:
-(IBAction)arButtonClicked:(id)sender{
//this is a uitableviewcontroller
ARViewController* arViewController = [[[ARViewController alloc] initWithNibName:@"ARViewController" bundle:nil]autorelease];
LeaderBoardTableViewCon...
Hi,
I have some problems drawing some custom content over a UITableView.
What I did was subclass UITableView and overwrite the -(void)drawRect method something like this:
- (void)drawRect:(CGRect)rect
{
CGContextRef ctx = UIGraphicsGetCurrentContext();
[super drawRect:rect];
CGContextSetRGBFillColor(ctx, 255, 0, 0, 1.0f...
Hi all,
I have a class A which is a subclass of uitableviewcontroller and one more class B which actually displays my tableview with its content is a subclass of A.
There's an xml parser which parses my xml and stores the content in an nsmutablearray of application delegate. Now, I fetch this delegate array into a local nsmutablearray ...
Hi all,
I have a situation where i have a single UITableView and a single UISegmentedControl with 3 bar buttons.Now my requirement is if i change the segment of segment control i want different data source to be loaded to my tableview.But i failed to achieve this, Every time i change the segment cellForRowAtIndexPath: is showing same d...
I'm working on a universal app that uses a SplitViewController to present a master-detail view. In the iPad HIG on Split Views, Apple states:
In general, indicate the current selection in the left pane in a persistent way. This behavior helps people understand the relationship between the item in the left pane and the contents of the...
Hello all -
I am learning Obj-C but still occasionally have a difficult time wrapping my head around some of the mem management stuff. I am using custom cells with a UITableView, and implemented the cellForRowAtIndexPath method where I accidentally released the cell at the end. This obviously caused problems as the cell was also gettin...
hello everyone!
I'm trying to find the best way to display images inside of UILabels (in fact, I wouldn't mind switching to something other than UILabel if it supports images with no hassle)
The scenario is:
I have a table view with hundreds of cells and UILabel being the main component of each cell
The text I assign to each cell con...
Hey all,
I'm trying to set the title of the header of my entire UITableView, but am having no success.
For example, on this webpage:
http://www.iphonesdkarticles.com/2009/01/uitableview-sectioned-table-view.html
I am trying to replicate creating the "Countries" header programmatically. I have a UITableView that works and displays data....
Hi, I'm trying to place a UIImageView in a UITableViewCell.
I create a special view called ProductView. In that view, I have several components, one of them being a UIImageView. I set this ProductView as content view of the UITableViewCell. Everything is drawn properly except the UIImageView. UIImageView gets scaled meaninglessly. It's...
Hello everyone.
I have some questions about the Apple iPhone Contact App. I want to use the same methode to create and modify information.
Here's two pics :
So we have the creation and the edition. The form looks like an UITableView with a groupedStyle but I don't know how to re-creat all of this. Have you got an idea or a tutori...
I have a UItableview with cells. Some cells have uilabels and some have uibuttons. The UIbuttons are created whenever the first character in an array is "^". However, the uibuttons repeat when i scroll down (appearing over the uilabel).. and then multiply over the uilabels when I scroll up. Any clues why?
...
Hi! I have a question about parsing XML and putting it into a table. I parsed the following elements from a RSS feed : title, dc:creator and enclosure url (= an image).
The parsing is working, i can see everything showing up in the console. But when i try to load everything into the tablecell, everything shows up except for the image. ...
I can firgure out how to push a UIView from a Tableview and have the "child" details appear.
Here is the view I'm trying to load:
Here is the code that checks for children and either pushes a itemDetail.xib or an additional UITable, I want to use the above .xib but load the correct contents "tableDataSource" into the UItable:
- (voi...
Hi,
I am trying to re-load a table every time some data I get from the web is available. This is what I have:
SearchDataViewController:
- (void)parseDataXML {
parsingDelegate = [[XMLParsingDelegate alloc] init];
parsingDelegate.searchDataController = self;
// CONTAINS THE TABLE THAT NEEDS RE-LOADING;
Implement...
Hi,
I need to list a specific users uploaded videos (YouTube) in a UITableView. I've downloaded the GData source and example projects (not iphone specific) but I can't seem to get it to work. Does anybody know of any good (or any at all ;)) tutorials out there?
Best regards,
Magnus
...