KVC and removeObjectFrom<Key>AtIndex not called if index is out of range
KVC and removeObjectFrom<Key>AtIndex not called if index is out of range
- Subject: KVC and removeObjectFrom<Key>AtIndex not called if index is out of range
- From: Kubernan from 10191 Technologies <email@hidden>
- Date: Wed, 1 Jun 2005 23:58:44 +0200
Hello,
This is the first time i use KVC and I'm little bit surprised about
the method :
-(void)removeObjectFomr<Key>AtIndex:(unsigned int)index
It appears the method is called *only* when index is in the range of
the array.
When the index is out of range, the method seems to be never called and
the runtime raises automatically an exception.
I thought i could test - implementing this method - the validity of
index argument and raise my own exception.
Is there a way to do that ?
Thx for your help.
K.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden