SwiftUI Search Bar and Scope Filters

Dear All,

Recent updates in SwiftUI allow to add scope bars just beneath the search bar. Those are limited in space, though.

How does one implement a scrollable filter as is seen in the Apple’s own Developer app?

on MacOS the search bar is trailing but the scope buttons are leading when they appear below the bar. Any way to get them aligned with the start of the search bar or at least trailing?

SwiftUI Search Bar and Scope Filters
 
 
Q