adding UIButtons to an UITableViewCell (Leaking Memory)
Hey, need some help with this stuff =) Everytime I select another cell i got more an more "Net Memory" (I hate the "enter code here") CODE can be found here: http://pastebin.org/374904 ...
Hey, need some help with this stuff =) Everytime I select another cell i got more an more "Net Memory" (I hate the "enter code here") CODE can be found here: http://pastebin.org/374904 ...
I'm trying to implement a UISearchBar within a UITableView, which behaves like the one in the "Artists" tab of the iPod application. I have it hiding the navigation bar, and resizing the search box to show the "Cancel" button, etc. but am unable to get it to hide the section index titles. - (void)searchBarTextDidBeginEditing:(UISearchB...
I am trying to get the scroll position of my UITableView, however when I implement any of the UIScrollViewDelegate methods, contentOffset always returns nil for me. For example: - (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView { NSLog(@"offset: %@", [scrollView contentOffset]); } The log returns as offset: (null) w...
I'm using an NSFetchedResultsController to display items in my table view: - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { // Return the number of sections. return 1; } - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { // Return the number of rows in the section....
I've not found a answer to this question anywhere, but this seems like a typical problem: I am dynamically (from a xml file) creating a view to display "Questions" I take from the XML file. I am having problems to display multiple choice questions. I am trying following approach: Question 1 MultipleChoiceQuestion 2 --First Option --Seco...
I have a UITableView. On my navbar I have an edit button. I want to be able to enable and disable it depending on certain conditions. For instance, when the user deletes the last of a certain type of row I want to gray out the Edit button as there are no more of these rows to delete. What I do at the moment is check in - (void)tableVi...
I have a custom view with additional layers and a simple endless animation (using core animation). The view is a subclass of UITableViewCell and therefore doesn't have it's own view controller. The animation gets stopped whenever the view disappears, which is fine. But how do I restart the animation when the view reappears? ...
Hello, What I am trying to do is to present an image at the top of the view and beneath it to show the details of it. By now I am using a UITableView and a UIImageView. The UIImageView is at the top of the View and the UITableView beneath the UIImageView. In the UIImageView I load an image and I want to let the user to pan/zoom it. In ...
This has been driving me nuts all day. I have a weird bug that I think I have narrowed down to an NSPredicate. I have two entities: List and Person. List has a to-many relationship to Person called persons and Person has a to-many relationship to List called lists. I pass to my a tableview controller a List object. I then want that tab...
hi all in my application images are loaded from rss feed in table cell. they are of variant size how can i fix them to certain size. my code is int blogEntryIndex1 = [indexPath indexAtPosition: [indexPath length] -1]; imgstring=[[blogEntries objectAtIndex: blogEntryIndex1] objectForKey: @"image"]; NSURL *url = [NSURL URLWithStrin...
im having an issue with my tableviews and threaded data. in my app im downloading data in xml, including an image url which im then parsing to get the image for my tableviews. im using the asyncimageview class (markj.net). if i thread the download of my xml, then realoadData the cells appear fine , appart form the images never load, unt...
Hi, I have a problem when trying to delete rows from my UITableView: The UITableView gets the number of rows from NSMutableArray: - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { return [alertsArray count]; } I add objects to the NSMutableArray in this way: - (void)saveButton:(id)sender { [...
Hiya, While implementing TableView I've stuck with the problem that I somehow has broken "lazy" loading behaviour of UITableView. Now upon entering the screen it loads all the cells (both visible and invisible). Could someone point out where I should look at? In IB I have such an organization: -> UIView --> UIScrollView ---> UITable...
I'm developing an iPhone app and have a cell object. UITableViewCell *cell = [myTableView cellForRowAtIndexPath:indexPath]; But how do I GET the text from that cell? ...
Hello, does anyone know of a UI Library for iOS, that acts like a horizontal UITabelView? I want to scroll cells from right to left and not from up to down. Thank you twickl ...
I'm having problems figuring out how to display different cell styles as well as custom cells together within a UITableView. I understand how to set up and put cells together and the construction of a basic UITableView, but just not how to "mix and match" cell within one. The best example I can show you on what I am trying to achieve i...
Hi people, I've got another problem my my UITableView: I dynamically load "Questions" from a XML File and show them inside cells of my UITableView, where the user can also answer them. The Problem is: if you scroll down, and then scroll up again, the answers that you typed before, just disappear. I've also noticed that UITableView calls...
So I'm totally stumped by this one and tempted to call "OS bug". I have a TableView controller with a single section, and in the header for that section there is an UITextField. Several operations result in rows being added/removed without a problem. However, as soon as text is edited in the header, and the keyboard dismissed, any inser...
Hi, Using the following code I have been able to display a text message when there is no data to display in a uitableView: - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { // Return the number of rows in the section. myAppDelegate *appDelegate = (myAppDelegate *)[[UIApplication sharedApplicat...
Good day everyone, currently I'm doing a simple project which uses the navigation controller default template. Now I'm done with my current XIB (navigation template), I have created second XIB and I have added a navigation controller on it. Let say: It is a hierarchy table view, first the user choose one of the option available on the ...