On 6/8/2014 2:15 AM, Jacob Carlborg wrote:
In Swift you don't have to specify the full enum name if the compiler can infer
that it's an value of specific enum that is needed:

void foo (UITableViewRowAnimation);

foo(Fade);

Actually in Swift you would append a dot to the enum value:

foo(.Fade);

Does that apply to all symbols in Swift, or just enums?

Reply via email to