Why do argument list in some methods end with nil? I have noticed this particularly in the collection classes, for example NSSet:
nil
NSSet
Variadic functions in Objective-C don't have a way of determining when your argument list ends, other than providing a nil argument.