Perhaps the most visible sign of Buffalo’s changing fortunes are its new apartments, which turn up in empty warehouses, former municipal buildings and longtime parking lots converted into much-needed housing. In the last decade, 224 multifamily projects — encompassing 10,150 apartments, most of them rentals, the equivalent of about $3 billion in investment — have opened or are underway, according to the office of Mayor Byron W. Brown.