Re: Table View/Array Troubles

2008-06-13 Thread Chris Hanson
On Jun 12, 2008, at 10:21 PM, Kyle Sluder wrote: If you're implementing the singleton pattern, for example, you would override -init differently. In most cases, I would strongly suggest *not* doing anything differently if you are making a singleton. If you want something to be a singleton

Re: Table View/Array Troubles

2008-06-12 Thread Bob Warwick
On 13-Jun-08, at 2:21 AM, Kyle Sluder wrote: On Thu, Jun 12, 2008 at 2:00 AM, Bob Warwick <[EMAIL PROTECTED]> wrote: Calling the NSMutableArray convenience method array will return an autoreleased object. You should do this instead: - (id) init { [super init];

Re: Table View/Array Troubles

2008-06-12 Thread Kyle Sluder
On Thu, Jun 12, 2008 at 2:00 AM, Bob Warwick <[EMAIL PROTECTED]> wrote: > Calling the NSMutableArray convenience method array will return an > autoreleased object. You should do this instead: > >- (id) init >{ >[super init]; >myNotes = [[NSMutableArr

Re: Table View/Array Troubles

2008-06-11 Thread Bob Warwick
On 12-Jun-08, at 2:16 AM, Gabriel Shahbazian wrote: Hi, I've posted the source to an app I'm working on. If someone can take a look and tell my why my tableview is not working with my array, it would be of great help. Source: http://novisdesign.net/Labs/Alien%20Notes.zip -Gabe I found

Re: Table View/Array Troubles

2008-06-11 Thread Brent Fulgham
I've posted the source to an app I'm working on. If someone can take a look and tell my why my tableview is not working with my array, it would be of great help. Source: http://novisdesign.net/Labs/Alien%20Notes.zip -Gabe Your first problem is that launching the app and pressing "New Note"

Table View/Array Troubles

2008-06-11 Thread Gabriel Shahbazian
Hi, I've posted the source to an app I'm working on. If someone can take a look and tell my why my tableview is not working with my array, it would be of great help. Source: http://novisdesign.net/Labs/Alien%20Notes.zip -Gabe ___ Cocoa-dev maili