Fast and efficient direct formation of size-controlled nanostructures of coordination polymers based on copper(i)-iodine bearing functional pyridine terminal ligands.