Documentation ¶
Overview ¶
Package settings provides a skeleton implemention the iOS settings UI.
Index ¶
- func AddSeparators(vs []view.View) []view.View
- type App
- type BasicCell
- type Bluetooth
- type BluetoothDevice
- type BluetoothView
- type CellularView
- type InfoButton
- type RootView
- type SegmentCell
- type Separator
- type Spacer
- type SpacerDescription
- type SpacerHeader
- type Stack
- type Wifi
- type WifiNetwork
- type WifiNetworkProperties
- type WifiNetworkView
- type WifiView
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶
type App struct { Stack Stack Wifi *Wifi Bluetooth *Bluetooth comm.Relay // contains filtered or unexported fields }
func (*App) AirplaneMode ¶
func (*App) SetAirplaneMode ¶
type BasicCell ¶
type BasicCell struct { view.Embed HasIcon bool Icon *application.ImageResource Title string Subtitle string AccessoryView view.View Chevron bool OnTap func() // contains filtered or unexported fields }
func NewBasicCell ¶
func NewBasicCell() *BasicCell
type Bluetooth ¶
func NewBluetooth ¶
func NewBluetooth() *Bluetooth
func (*Bluetooth) Devices ¶
func (s *Bluetooth) Devices() []*BluetoothDevice
func (*Bluetooth) SetDevices ¶
func (s *Bluetooth) SetDevices(v []*BluetoothDevice)
func (*Bluetooth) SetEnabled ¶
type BluetoothDevice ¶
func NewBluetoothDevice ¶
func NewBluetoothDevice(ssid string) *BluetoothDevice
func (*BluetoothDevice) Connected ¶
func (s *BluetoothDevice) Connected() bool
func (*BluetoothDevice) SSID ¶
func (s *BluetoothDevice) SSID() string
func (*BluetoothDevice) SetConnected ¶
func (s *BluetoothDevice) SetConnected(v bool)
type BluetoothView ¶
func NewBluetoothView ¶
func NewBluetoothView(app *App) *BluetoothView
func (*BluetoothView) Lifecycle ¶
func (v *BluetoothView) Lifecycle(from, to view.Stage)
type CellularView ¶
func NewCellularView ¶
func NewCellularView(app *App) *CellularView
type InfoButton ¶
func NewInfoButton ¶
func NewInfoButton() *InfoButton
type RootView ¶
func NewRootView ¶
type SegmentCell ¶
func NewSegmentCell ¶
func NewSegmentCell() *SegmentCell
type Separator ¶
func NewSeparator ¶
func NewSeparator() *Separator
type SpacerDescription ¶
func NewSpacerDescription ¶
func NewSpacerDescription() *SpacerDescription
type SpacerHeader ¶
func NewSpacerHeader ¶
func NewSpacerHeader() *SpacerHeader
type Wifi ¶
func (*Wifi) CurrentSSID ¶
func (*Wifi) Networks ¶
func (s *Wifi) Networks() []*WifiNetwork
func (*Wifi) SetAskToJoin ¶
func (*Wifi) SetCurrentSSID ¶
func (*Wifi) SetEnabled ¶
func (*Wifi) SetNetworks ¶
func (s *Wifi) SetNetworks(n []*WifiNetwork)
type WifiNetwork ¶
func NewWifiNetwork ¶
func NewWifiNetwork(ssid string) *WifiNetwork
func (*WifiNetwork) Properties ¶
func (n *WifiNetwork) Properties() WifiNetworkProperties
func (*WifiNetwork) SSID ¶
func (n *WifiNetwork) SSID() string
func (*WifiNetwork) SetProperties ¶
func (n *WifiNetwork) SetProperties(v WifiNetworkProperties)
type WifiNetworkProperties ¶
type WifiNetworkView ¶
func NewWifiNetworkView ¶
func NewWifiNetworkView(app *App, network *WifiNetwork) *WifiNetworkView
func (*WifiNetworkView) Lifecycle ¶
func (v *WifiNetworkView) Lifecycle(from, to view.Stage)
type WifiView ¶
func NewWifiView ¶
Click to show internal directories.
Click to hide internal directories.