I have a tableview that is successfully incorporating an NSFetchedResultsController. However, I need the topmost cell in my tableview to read, "Add new object" and have UITableViewCellEditingStyleInsert instead of the default UITableViewCellEditingStyleDelete.
The FetchResultsController wants to check the managedObjectContext for object...
Hi All, I have a UITableView which has custom cells as its rows. In these custom cells they have 2 buttons.
I catch the click of the button in the custom cell class. Just wondering how i pass that event from the custom cell class through to the parent view controller that is holding the UITableView control. Advice?
Thanks
...
Hi everybody
i use Core Data to store datas, and i have got 2 entities called "train" and "airplane". i fetched all of items into the two different NSMutableArray (one of the trains and one of the aircrafts). each class has NSDate attribute and i want to show all items from arrays in only one (single) UITableViewController sorted by da...
i use Core Data to store datas, and i have got 2 entities called "train" and "airplane". i fetched all of items into the two different NSMutableArray (one of the trains and one of the aircrafts). each class has NSDate attribute and i want to show all items from arrays in only one (single) UITableViewController sorted by date. fu...
When you scroll a tableView down (Notes.app), the search bar stays fixed to top, but when you scroll a tableView up, the search bar is hidden. That's what I want.
Looking at scroll indicator it appears that UISearchBar is a subview of a table's scroll view. But if I add a search bar to a tableView in Interface Builder, then it always sc...
In another question of mine concerning the addition of an insert row in a UITableView backed by Core Data, I mentioned that my NSFetchedResultsController is assigning each object it fetches to a separate section in my UITableView. I assumed this was merely the default behavior, but Marcus S. Zarra said there might be something wrong with...
This is kinda confusing so please bear with me.
I have an array (listOfStates) of dictionaries. Where listOfStates has this structure:
{stateName} - {stateCapital}
{Alabama} - {Montgomery}
{Alaska} - {Juneau}
{Arizona} - {Phoenix}
...
{West Virginia} - {Charleston}
{Wisconsin} - {Madison}
{Wyoming} - {Cheyenne}
This is the code used ...
Hopefully I'll get some help here.
Basic setup is this: My application swaps out the current Main View of the Main Window each time I want to switch to a new view. Why? Because I wanted to use a SplitView further on in the program (what's displayed in the SplitView depends on what's been selected before it).
What happens is the appl...
Has anyone run into this before?
When I choose to delete a row from my tableView (populated by an FRC), the app doesn't crash or hang. It doesn't do anything. The delete button stays selected and if I click elsewhere on the simulator, the delete button deselects and disappears, but the cell is never removed form the UI. I'm sure there i...
I have a UITableView style set to grouped. This works correctly except when in edit mode the 'minus' icon for Deleting a cell isn't within the cell. It's to the left. In the Weather App that icon is in the cell. Anyone know how to fix this?
Image here: http://i32.tinypic.com/xclv02.png
...
I am not highlighting my uitableview cells when they are selected, but they contain clickable links which shows a new view. is this ok?
...
Hi all!
I wish create my personal UITableViewController and use it into my UIViewController using interface builder...
what's the best and fast way to do this?
thanks in advance
...
Hey guys,
The following code is called with lastRemoved and lastAdded being:
data lastRemoved:
(
)
data lastAdded:
(
<NSIndexPath 0x4b2cf60> 2 indexes [0, 9]
)
Then I get a NSRangeException:
"* Terminating app due to uncaught
exception 'NSRangeException', reason:
'* -[NSMutableIndexSet
addIndexesInRange:]: Range
{21...
In my iPhone app I have a UIViewController that has a UITableView and another UIView, in its xib file, the view of the xib contains both the UITableView and the other UIView. Both view are linked as IBOutlets to the appropriate views in the xib file.
When I want to set the data source programmatically for the UITableView I create a metho...
In my app, there is a portion that holds a static contacts directory. I would like the directory to appear indexed (alphabetically) and the detail view will need to be grouped also. (I am somewhat trying to replicate the look and feel of the Contacts app.) I have it working, just no index and a detail page that is just a view with a col...
Is there any way to determine if a tableview header, not a section header, is visible?
...
Hi guys,
I am creating a dictionary application for iPhone that gives result while the users are typing. I use threads (NSThread) to update the UITableView so that the main thread is not blocked.
However, a crash happens when the UITableView asks the data source for the number of rows ( tableView:numberOfRowsInSection:) and I return, s...
i'd like to have the user tap a cell in the tableview and hear audio. the information for the cell is loaded from core data, so i'm assuming i put the path to the audio file in core data as an attribute with type 'string'.
i am completely lost as to where to go from here. how do i call the path? after a lengthy search, i haven't found ...
Hi there,
is there a way to autogroup/autosection my UITableView alphabetically? I have a huge array which is being displayed nicely, but it would be even better if I had the sections like in addressbook.app.
Best
–f
...
I have a UITableView that represents a list of objects, I'd like the user to touch an object, drag it onto another one (as to combine them) and seeing the two disappearing and a new one appearing. I guess that I can't do this with the standard table view editing methods (a row cannot be dragged onto another one, am I right?). Shall I wri...