Transient workers lived either in single sex barracks or in townships. These were special settlements on the edge of urban areas, with basic homes for urban African workers. These were often overcrowded, insanitary and squalid and were to continue until the end of the apartheid period.