Re: NSTimer & NSInternalInconsistencyException
Re: NSTimer & NSInternalInconsistencyException
- Subject: Re: NSTimer & NSInternalInconsistencyException
- From: Andreas Mayer <email@hidden>
- Date: Mon, 11 Nov 2002 04:24:35 +0100
Am Montag, 11.11.02 um 02:37 Uhr schrieb Terence _:
Has anyone else ever seen this, and if so, can you offer any pointers
on what might be causing it?
Sure.
(reason '*** -[NSCFDictionary setObject:forKey:]: mutating method sent
to immutable object')
Your code is trying to set an object of a NSDictionary. You can't do
that. You'll have to use a NSMutableDictionary if you want to alter
it's values later on.
Oh. And it was happening in here:
selector 'traversePorts'
bye. Andreas.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.