I'm in the process of learning and designing an app for our company. At its heart, it has a list of "alarms" which when clicked on, goes to a more detailed view with a toolbar to perform tasks upon that "alarm".
I'm having a devil of a time working out how to structure this application. I have something that works currently (i'll explai...
I am running through the "Navigating with tables" section of Wrox' Professional iPhone Programming with MonoTouch by McClure et al, picking up the basics of putting together a hierarchical UI for iOS, and running into the following problem.
I have created a new "iPhone View with Controller" file (called ParametersViewController), delete...
Is there a way to use multiple uitableviewcell classes with nib files in the tableViewController?
There's this great tutorial video for how to create custom cell classes to be used in a tableViewController at the cellForRowAtIndexPath function that I'm pasting here in case anyone wants to see.
In this example though, they are only usin...
I need a small help. In my project there is a tab bar. On one of the tab bar items there is a navigation controller, on the view there is a table view.
For TableViewController there are the usual codes:
(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
return 1;
}
(NSInteger)tableView:(UITableView *)tableView numbe...
I have an issue with my table view not updating when I programmatically change some existing managed object property. I would expect my NSFetchedResultsControllerDelegate to be called in such case, but it isn't.
Apple doc says:
An instance of NSFetchedResultsController uses methods in this protocol to notify its delegate that the co...
I would like to present a UITableView with a basic layout like this:
header view
table row
table row
table row
header view
table row
table row
Grouped style with section header views is the natural way to do this, but I don't want the "shunken (padding on the left and the right), rounded corner" look that...
Hi all,
I'm looking for a clean way to implement a login screen in my iPhone application. I'd like it to appear as a grouped UITableView section with rounded corners and a separator line below between rows (like e.g. the sections in the Settings app). However, I'd like to give it a slightly smaller cornerRadius than the default setting ...
What is the easiest way to implement "Scroll down to update" functionality like in facebook "News feed" when you scroll down the news from top you see an update indicator and it update the news accordingly.
Thanks in advance
...
My designer wants me to implement an editable grouped tableview with functionality similar to what you see with 'ABNewPersonViewController' in the Contacts application where there are segmented table areas with add/delete buttons, etc.
Is this a standard way to edit information that is viewed in grouped tables? If so, are there any goo...
I have a Nav controller that starts at a table view. Each row pushes to a detail UIView. I would like to have a "next" button on the Detail UIView that would pop the current view and open the one corresponding to the next row on the parent UITableView using the the same view controller without returning to the TableView. Ideally, it w...
How can I implement a header row like in Apple's Contacts application on iOS 4?
Features:
Transparent background
Cell expands to show all information provided
Press and hold labels to invoke copy menu
Image on the left side
When going into edit mode, 3-11 table view cells are revealed with a smooth transition for editing, to the right...
I have something weird with the repaint of my view controller. The view controller contains an UITableView and a spinner.
I have an updateFeed function (fired by an IBOutlet) who brings the spinner in front of my view controller and puts a doUpdate function into an NSOperationQueue.
- (void)updateFeed {
[self showMuar];
Resourc...
I would like to add a UIBarButtonItem which is titled "edit", when I click the "edit", I can select the row to delete. Is there any simple solution on Apple API already? or I need to customize made the UITableView and the action myself? thank you.
...
I've subclassed UITableView to create my own data retrieval system, as described in Apple's own Core Data tutorial, but I've hit a problem. The substitute cellForRowAtIndexPath method in my custom table never gets called, not even when I call reloadData or setNeedsDisplay. I've been hunting around for solutions to this one, and it seems ...
How can I access (to change the imageView.image) the next cell of my UITableView given that I already have:
UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
...
I create tow or more custom cell
each cell has a switch inside
How can I know which switch in the row I click
ex.I click the switch in row 3,than It will return indexPath.row = 3
and also the switch status is on or off ?
which void I should put in ?
I know there is a way can get indexpath return by:
- (void)tableView:(UITableView ...
I am trying to update my UITableView and the following implementation is not working. I'm wondering if I am doing something wrong?
NSDictionary *newContact = [[NSDictionary alloc] initWithObjects:[NSArray arrayWithObjects:@"Name", @"Phone", nil] forKeys: [NSArray arrayWithObjects:strName, strPhone, nil]];
[arrQuickDialContacts addObje...
Hello everyone...
I've got a UITextField that represents a numeric password. I need to set the keyboard type to UIKeyboardTypeNumbersAndPunctuation and secureTextEntry at the same time.
If I set to Yes the secureTextEntry, the textField displays a Default Keyboard even if I had set UIKeyboardTypeNumbersAndPunctuation to the textField...
guys i want to set different subview in every section, i put my different view into NSMutableArray, so i hope i can access it depend on indexPath.section, this is my code :
for (int i =0; i<promoCount; i++) {
self.textView.text= [NSString stringWithFormat:@"text view :%d",i];
[self.arrayPromotions addObject:self.textView];
}
-...
I am getting the following error when trying to save an object into my core data model:
2010-09-01 22:07:50.569 Score Card[26566:207] *** Assertion failure in -[UITableView _endCellAnimationsWithContext:], /SourceCache/UIKit_Sim/UIKit-1262.60.3/UITableView.m:904
2010-09-01 22:07:50.570 Score Card[26566:207] Serious application error. E...