Commits

Doug Gregor committed 29216147136
Omit needless words: use hanging "With" as a reason to name the first argument. When omitting words from the end of the base name because it is redundant with the type of the first parameter leaves a hanging "With" in the base name, drop that "with" and instead use the tail of the base name as the label for the first parameter. The poster child for this is -copyWithZone, which now turns into "copy(zone:)": - func copyWith(_: NSZone) -> AnyObject + func copy(zone: NSZone) -> AnyObject The intuition behind this change is that the "With" is stating that the method isn't directly acting on its argument; rather, the argument is something additional, and argument labels are a fine way to model this. Swift SVN r31836