Adding Categories to NSMutableData

2008-05-29 Thread Robert Kukuchka
Hello, I'm trying to add a simple category to NSMutableData, but when I try to call my method I'm getting *** -[NSConcreteData remainderDataWithParseByte:]: unrecognized selector sent to instance 0x816400. I've added categories to NSString and NSArray before, which have similar abstract

Re: Adding Categories to NSMutableData

2008-05-29 Thread Kenny Leung
Hi Rob. Looks like you've added the category to NSMutableData, but you're talking to an NSData. -Kenny On May 29, 2008, at 10:59 AM, Robert Kukuchka wrote: Hello, I'm trying to add a simple category to NSMutableData, but when I try to call my method I'm getting *** -[NSConcreteData

Re: Adding Categories to NSMutableData

2008-05-29 Thread Ken Thomases
On May 29, 2008, at 12:59 PM, Robert Kukuchka wrote: I'm trying to add a simple category to NSMutableData, but when I try to call my method I'm getting *** -[NSConcreteData remainderDataWithParseByte:]: unrecognized selector sent to instance 0x816400. I've added categories to NSString and

Re: Adding Categories to NSMutableData

2008-05-29 Thread Robert Kukuchka
Yep, indeed the case. PBKAC. Thanks everyone, sorry for the fodder question. ~Rob On 29-May-08, at 11:24 AM, Kenny Leung wrote: Hi Rob. Looks like you've added the category to NSMutableData, but you're talking to an NSData. -Kenny On May 29, 2008, at 10:59 AM, Robert Kukuchka wrote: