adding multiple items to OrderedCollection remove:

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

adding multiple items to OrderedCollection remove:

sergio_101
suppose i have:

and ordered collection with: objectA, objectB, objectC

i want to remove objects and be..

what would be the best shorthand way to do this with one expression,
rather than...

orderedCollection remove: objectA
orderedCollection remove: objectB

thanks!


--
----
peace,
sergio
photographer, journalist, visionary

http://www.ThoseOptimizeGuys.com
http://www.CodingForHire.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101

Reply | Threaded
Open this post in threaded view
|

Re: adding multiple items to OrderedCollection remove:

Paul DeBruicker
col1 removeAll: col2


On 10/16/2012 10:41 AM, sergio_101 wrote:

> suppose i have:
>
> and ordered collection with: objectA, objectB, objectC
>
> i want to remove objects and be..
>
> what would be the best shorthand way to do this with one expression,
> rather than...
>
> orderedCollection remove: objectA
> orderedCollection remove: objectB
>
> thanks!
>
>