Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Way of removing by value from CFMutableArray



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

This email sent to email@hidden
References: 
 >Way of removing by value from CFMutableArray (From: "Ayyapu Reddy Pallam" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.