Something went wrong. Try again.
A slopfork of Sam Henri Gold's Twitter client, reskinned like Tweetie 2 / Twitter for iPhone circa 2012. Personal use.
Something went wrong. Try again.
12345678910111213141516171819202122232425// Columns that offer their bar buttons to the Duo's vertical bar. The navigation controller hosts the focused// column's buttons there (through its toolbar, whose items the vertical bar takes when it's present), and the// column drops them from its own bar meanwhile.//
import UIKit
@MainActorpackage protocol ColumnBarItemProviding: UIViewController { /// A fresh set of the column's bar buttons (a bar button item can only be in one bar at a time). Give them /// identifiers: the vertical bar matches buttons by identifier and routes taps through `performColumnBarAction`. func makeColumnBarItems() -> [UIBarButtonItem] /// The button with `identifier` was tapped in the vertical bar while this column was focused. func performColumnBarAction(_ identifier: String) /// Whether the column's own bar shows its buttons (false while they're in the vertical bar). func setColumnBarItemsShown(_ shown: Bool) /// Whether the column puts its buttons in the vertical bar itself (with ``ColumnSettings/columnsPlaceVerticalBarItems``): /// only the focused column does. func setColumnBarItemsInVerticalBar(_ inVerticalBar: Bool)}
extension ColumnBarItemProviding { package func setColumnBarItemsInVerticalBar(_ inVerticalBar: Bool) {}}