What is better on iPhone: ArrayList or List<T>?

hey there!

I wonder what is better to use on iPhone: ArrayList or List?

Thnx!

If you're using List you won't have to cast objects since it's generic and use a T[] backing storage (at least .net does this). ArrayList have to cast everything to object and cause boxing with value types.

So, use List.