The auto-translation process for initialisers is described immediately before the part you quote.
The `colorWith` factory method is useless in this context because a matching `initWith` initialiser exists. If the factory method were pattern matched in the same way, it would break things because it would produce a constructor with the same method signature as the translated initialiser.
1. Return type is `instancetype` or `MyClassName *`
2. Method takes at least one argument
3. Method name starts with a "class suffix"; that is, a suffix of the class name, with the restriction that you can't have partial words. The first letter may optionally be lower case.
The class suffix (optionally followed by "With" like in the `initWith` conversion) is stripped off and the rest of the method name is used for the first parameter, with the first letter lower-cased.
For example, the following conversions apply:
+[MyClassName myClassNameWithObject:obj] -> MyClassName(object: obj)
+[MyClassName classNameWithObject:obj] -> MyClassName(object: obj)
+[MyClassName nameObject:obj] -> MyClassName(object: obj);
However, since those all map to the same swift initializer, only one will be available (generally the first one declared)