I've got a long string an sql statement, which I want to wrap onto the next line in the xcode editor, how do I wrap it round e.g.
[db executeUpdate:@"insert into test (rid, one, two, amount, startdate, recurrance) values (nil, ?, ?, ?, ?, ?)",
...
I have 15 rows in my table. When I select the first row and scroll to last row of the table, and come to back to the first row, my selection is reset. How can I fix this row selection reset issue when scrolling the table?
...
Hi,
I am writing a google reader application and have been trying to create the settings table view with UISwitch. Below is the complete code sequence:
@implementation Settings
@synthesize rowImage;
@synthesize ViewPushed;
@synthesize alreadySignedIn;
@synthesize syncStartupSwitch;
@synthesize confirmMarkSwitch;
@synthesize landscapeMo...
-iPad Application-
I have a tableview with custom tableview cells with some dynamic data in it.
Example
Name
Tasks 1 of 4 complete
on the same screen I have a check box that completes the task. I am unable to get the tasks to change from 'Tasks 2 of 4 complete' unless I manually SCROLL the cell off the screen and then back on - I've t...
i want to show both root view and master view in portrait mode ....
...
I want to create a custom table view.
In the table view the user should enter the username and password and other fields.In other words the table view should behave like a uitextview. I couldnt find a good tutorial for achieving the functionality i require.
...
I search some Similar question like this question Need approach to show tables using segmented control?
the solution is using single tableview
But I think my problem is a little different
because the view will have a segmented control,has two selection: "DHCP" and "Manually"
When I pressed "DHCP",there will be a grouped table unde...
Hi
I have this code:
- (NSString*) tableView:(UITableView *)tableView titleForHeaderInSection:(int)section{
curDate = [NSDate date]; // Get current date
calendar = [NSCalendar currentCalendar];// Init calendar
comps = [calendar components:NSYearCalendarUnit|NSMonthCalendarUnit|NSWeekCalendarUnit|NSWeekdayCalendarUnit fromD...
I'm developing an iPhone app. I'm using a UITable subclassing UITableViewController. I added a NavigationBar to the view: UINavigationBar *navBar = [[UINavigationBar alloc] initWithFrame: CGRectMake(0.0f, 0.0f, 320.0f, 48.0f)];[self.tableView addSubview:navBar];, now the problem is that the navigation bar scroll down with the table and ...
If I was adding data from an array to the UITableView datasource array I'd use this, in viewDidLoad.
NSMutableArray *array = [[NSArray alloc] initWithObjects:@"Head First Design Patterns", @"Head First HTML & CSS", @"Head First iPhone", nil];
self.transactionsArray = array;
[array release];
And this in cellForRowAtIndexPath
NSInteger...
I have a grouped UITableView in my UIViewController class and I'm finding that at times, the dequeued cell is not nil as expected.
The table has 3 sections to start with and and as soon as the 'viewDidLoad' is invoked, a server call is initiated to find out if there are more sections. Before the view is even rendered, the server's respo...
I have table view which is in a view controller that inherits from UITableViewController.
I use a NSFetchedResultsController that I use to fetch the table data from my core data store. I've tried it with both caching on and off.
I set the delegate of the NSFetchedResultsController to be self and I've implemented controllerDidChangeCont...
I'm trying out this nice way of customizing grouped UITableViewCell backgrounds:
http://code.coneybeare.net/how-to-make-custom-drawn-gradient-backgrounds
I've implemented it in a test app and it works great, except for one thing... when rotating the device, the cell background is stretched, making the corners look distorted.
Is there ...
Is it possible to have a uitableview that when in editing mode it shows both the red button ('-') and the green button (+)
I wanted to do so so i can either delete a row or duplicate it.
...
Hey guys,
I have a searchDisplayController that searches a UITableView that I have.
After entering the search terms, I can see another UITableView that contains the search results. However, I want this UITableView to be GROUPED, not PLAIN (like it is by default).
Would anyone know how to do this?
Thanks alot!!
...
I've found the code below, which I'm trying to make work in the UITableView shouldChangeCharactersInRange event. Without the currency symbol it works fine.
When I try to add the currency symbol, it just allows me to enter one number. What it should do is this, say I enter 7536, it should appear in the following steps £0.07, £0.75, £7.53...
Hi all,
In my iphone app, im using a UITableView with each row containing 3 photos, and they are separated by a space = 50.0 pixels.
When I change t landscape mode, I want this space to increase to 100.0 , but I cant achieve this.
In the orientationChanged method, I specified that I want the space to be 50 in portrait and 100 in Landsc...
I've got a UITableView and I want to have a 'next 25' feature like in the app store app.
However, I've no idea what control they use and how to develop it.
Can someone shed light on it and give me as much info a possible ?
...
I need to have a disclosure and delete icon on my UITableView how do I add them ?
I think the delete doesn't show all the time ? although I'm not sure about this, can someone advise?
...
Hey!
I have stumbled upon a problem when adding a button to my table view cell.
Let me explain after i have added the code:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
static NSString *CellIdentifier = @"Cell";
RadioCustomCell * cell = (RadioCustomCell*)[tableView dequeueRe...