Re: Unable to access an instance properties and methods

2008-03-19 Thread Randall Meadows
On Mar 19, 2008, at 12:23 PM, Jens Alfke wrote: Here's some advice on how to debug stuff like this in the future... The exception message is a good clue: 2008-03-19 17:19:30.957 cocoabc[10832:10b] *** -[NSCFString accident]: unrecognized selector sent to instance 0x33b040 This shows that th

Re: Unable to access an instance properties and methods

2008-03-19 Thread Jens Alfke
On 19 Mar '08, at 10:00 AM, Davide Benini wrote: For some reason I had a placed a NSString instead of a DBNNote into the array; probably for debugging purposes... Thanks a million, I had zero chaces of tracing this bug by myself, for I thought the description was the appropriate one... He

Re: Unable to access an instance properties and methods

2008-03-19 Thread Davide Benini
You'd have won the bet. For some reason I had a placed a NSString instead of a DBNNote into the array; probably for debugging purposes... Thanks a million, I had zero chaces of tracing this bug by myself, for I thought the description was the appropriate one... I owe you a pint, Davide Il gi

Re: Unable to access an instance properties and methods

2008-03-19 Thread Julien Jalon
I'd bet the firstNote object is not a "DBNNote" instance but an NSString instance. On Wed, Mar 19, 2008 at 5:33 PM, Davide Benini <[EMAIL PROTECTED]> wrote: > Hello folks. > I receive an exception message and my application exits whenever I try > to access properties or methods of an instance of