Ternary cobalt-iron phosphide nanocrystals with controlled compositions, properties, and morphologies from nanorods and nanorice to split nanostructures.