Re: Adding Rows to a Table View

2010-04-01 Thread Dave
On 1 Apr 2010, at 16:17, Matt Neuburg wrote: On or about 4/1/10 4:38 AM, thus spake "Dave" : The way I have my project setup is that I have a View Controller that contains a button and a TableView field. No, you do not. I've spoken to you about this before (in your thread "How to instan

Re: Adding Rows to a Table View

2010-04-01 Thread Matt Neuburg
On or about 4/1/10 4:38 AM, thus spake "Dave" : > The way I have my project setup is that I have a View Controller that > contains a button and a TableView field. No, you do not. I've spoken to you about this before (in your thread "How to instantiate a table view in existing view", about two wee

Re: Adding Rows to a Table View

2010-04-01 Thread Dave
Hi All, I found the first problem, self.mFactTableView was set to nil! I should have checked this for this obvious error - I could kick myself! However when I went to setup self.mFactTableView another problem presented itself. The way I have my project setup is that I have a View Control

Re: Adding Rows to a Table View

2010-04-01 Thread Dave
Hi Fritz and Matt, Thanks for taking the time to reply. On 1 Apr 2010, at 00:30, Matt Neuburg wrote: And one other thought - you say you're gathering this data in a "secondary thread", so be sure to jump out to the main thread before calling something like insertRowsAtIndexPaths:withRowAn

Re: Adding Rows to a Table View

2010-03-31 Thread Matt Neuburg
On Wed, 31 Mar 2010 15:17:38 -0500, Fritz Anderson said: >Fix this first; I'm surprised it doesn't crash your app almost immediately: > >On 31 Mar 2010, at 1:52 PM, Dave wrote: > >> myObjectNameString = [myDictionary objectForKey:[ParserXML parserObjectFieldName]]; >> myFactYearString = [myDicti

Re: Adding Rows to a Table View

2010-03-31 Thread Fritz Anderson
Fix this first; I'm surprised it doesn't crash your app almost immediately: On 31 Mar 2010, at 1:52 PM, Dave wrote: > myObjectNameString = [myDictionary objectForKey:[ParserXML > parserObjectFieldName]]; > myFactYearString = [myDictionary objectForKey:kField_FactYear]; > myFact

Adding Rows to a Table View

2010-03-31 Thread Dave
Hi All, I have a UITableView object that starts out empty and then is gradually added to via data coming from a URL. Everything seems to be setup ok, the "numberOfSectionsInTableView" , gets called ok (which just returns 1). The "tableView:numberOfRowsInSection" which returns the number of