Classes
The following classes are available globally.
-
TweakList
is the container ofTweakSection
.A list is a vertically scroll list in the UI. Each list is constructed by several sections.
You don’t use TweakList directly most of the time, it is usually used to constructed the
See moreTweakContext
object.Declaration
Swift
public final class TweakList
extension TweakList: TweakBuildable
extension TweakList: CustomDebugStringConvertible
-
TweakSection
is the container of tweaks.A section is a “card” in the list UI. Each section is constructed by several
AnyTweak
objects.You don’t use TweakSection directly most of the time, it is usually used to constructed the
See moreTweakList
object.Declaration
Swift
public final class TweakSection
extension TweakSection: TweakBuildable
extension TweakSection: CustomDebugStringConvertible
-
The context in which tweaks live.
A
TweakContext
object provides a facade to interact with tweaks, like showing tweaks and import tweaks.You can create as many
See moreTweakContext
objects as you like. But one context is sufficient in most cases.Declaration
Swift
@dynamicMemberLookup public final class TweakContext
extension TweakContext: CustomDebugStringConvertible
-
A type acts as the observer of the change of a tweak value.
See moreTweaKit
strongly holds a token object until you cancel the observation.Declaration
Swift
public final class NotifyToken
extension NotifyToken: Hashable
extension NotifyToken: CustomDebugStringConvertible
-
Undocumented
See moreDeclaration
Swift
public final class TweakTradeActivityDestination : TweakTradeDestination
-
Undocumented
See moreDeclaration
Swift
public final class TweakTradePasteboardDestination : TweakTradeDestination
-
Undocumented
See moreDeclaration
Swift
public final class TweakTradeFileSource : TweakTradeSource
-
The base class of tweak.
Use
Tweak
as a property wrapper.A
See moreTweak
object represents a tweak in the UI.Declaration
Swift
@propertyWrapper public class Tweak<Value> : AnyTweak, TweakType where Value : Storable
extension Tweak: AnyTradableTweak where Value: TradedTweakable
-
Undocumented
Declaration
Swift
public final class TweakInfo
-
A primary view that simply displays the tweak value and a disclosure arrow.
See moreDeclaration
Swift
public final class TweakPrimaryViewDisclosurer : UIView
extension TweakPrimaryViewDisclosurer: TweakPrimaryView