Call CFArrayGetFirstIndexOfValue or CFArrayGetLastIndexOfValue and
then call CFArrayRemoveValueAtIndex with the result.
Ack, at 9/30/05, Ayyapu Reddy Pallam said:
I have list of indices of values of CFMutableArray. If i try
to remove the values from the array looping throgh the indices array
using CFArrayRemoveValueAtIndex() indices may not be valid after the
first removal(it decrements indices). So do we have some function
like CFArrayRemoveObject() or CFArrayRemoveValue() where i can pass
the value to be removed from the CFArray. Or any other way of
removing by value from CFMutableArray.
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
It's either this, or imagining Phil Schiller in a thong.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden