Hi,
i am working on outlineview, where i need to perform editing operations. For cut operation i am writing contents of selected item to pasteboard using nsarchiver . in paste i am using nsunarchiver to read data from pasteboard. The applicaiton is crashing at the line
id item=[[NSUnarchiver unarchiveObjectWithData:[thePasteboard dataForType:NSRTFPboardType]];
Also my datasource class contains initWithCoder and encodeWithCoder methods.
Please help me.
regards,
shills.
i am working on outlineview, where i need to perform editing operations. For cut operation i am writing contents of selected item to pasteboard using nsarchiver . in paste i am using nsunarchiver to read data from pasteboard. The applicaiton is crashing at the line
id item=[[NSUnarchiver unarchiveObjectWithData:[thePasteboard dataForType:NSRTFPboardType]];
Also my datasource class contains initWithCoder and encodeWithCoder methods.
Please help me.
regards,
shills.