├── .gitignore ├── LICENSE ├── README.md ├── ToggleUI.xcworkspace ├── contents.xcworkspacedata └── xcshareddata │ └── IDEWorkspaceChecks.plist ├── ToggleUI ├── .gitignore ├── Package.swift ├── Sources │ └── ToggleUI │ │ ├── AnyPublisher.swift │ │ ├── Codable │ │ ├── CodableToggleDecoder.swift │ │ └── CodableToggleProvider.swift │ │ ├── Debug │ │ ├── DebugToggle.swift │ │ └── DebugView.swift │ │ ├── FeatureGroup │ │ ├── AnyFeatureGroup.swift │ │ ├── FeatureGroup.swift │ │ ├── FeatureGroupDecoder.swift │ │ ├── FeatureGroupProperty.swift │ │ └── ObservableFeatureGroup.swift │ │ ├── FeatureToggle │ │ ├── AnyFeatureToggle.swift │ │ ├── FeatureToggle.swift │ │ └── ObservableFeatureToggle.swift │ │ ├── ToggleDecoder │ │ ├── DictionaryToggleDecoder.swift │ │ └── ToggleDecoder.swift │ │ ├── ToggleProvider │ │ ├── ToggleProvider.swift │ │ ├── ToggleProviderResolving.swift │ │ └── UserDefaultsToggleProvider.swift │ │ └── WithDefaults.swift └── Tests │ └── ToggleUITests │ ├── ToggleUITests.swift │ └── Toggles.swift ├── ToggleUIApp ├── ToggleUIApp.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ └── ToggleUIApp.xcscheme └── ToggleUIApp │ ├── AppDelegate.swift │ ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ └── Contents.json │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── ContentView.swift │ ├── Info.plist │ ├── Preview Content │ └── Preview Assets.xcassets │ │ └── Contents.json │ └── SceneDelegate.swift └── debug-view.png /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | xcuserdata/ 3 | .swiftpm 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/README.md -------------------------------------------------------------------------------- /ToggleUI.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUI.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /ToggleUI.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUI.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /ToggleUI/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /.build 3 | /Packages 4 | /*.xcodeproj 5 | xcuserdata/ 6 | -------------------------------------------------------------------------------- /ToggleUI/Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUI/Package.swift -------------------------------------------------------------------------------- /ToggleUI/Sources/ToggleUI/AnyPublisher.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUI/Sources/ToggleUI/AnyPublisher.swift -------------------------------------------------------------------------------- /ToggleUI/Sources/ToggleUI/Codable/CodableToggleDecoder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUI/Sources/ToggleUI/Codable/CodableToggleDecoder.swift -------------------------------------------------------------------------------- /ToggleUI/Sources/ToggleUI/Codable/CodableToggleProvider.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUI/Sources/ToggleUI/Codable/CodableToggleProvider.swift -------------------------------------------------------------------------------- /ToggleUI/Sources/ToggleUI/Debug/DebugToggle.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUI/Sources/ToggleUI/Debug/DebugToggle.swift -------------------------------------------------------------------------------- /ToggleUI/Sources/ToggleUI/Debug/DebugView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUI/Sources/ToggleUI/Debug/DebugView.swift -------------------------------------------------------------------------------- /ToggleUI/Sources/ToggleUI/FeatureGroup/AnyFeatureGroup.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUI/Sources/ToggleUI/FeatureGroup/AnyFeatureGroup.swift -------------------------------------------------------------------------------- /ToggleUI/Sources/ToggleUI/FeatureGroup/FeatureGroup.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUI/Sources/ToggleUI/FeatureGroup/FeatureGroup.swift -------------------------------------------------------------------------------- /ToggleUI/Sources/ToggleUI/FeatureGroup/FeatureGroupDecoder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUI/Sources/ToggleUI/FeatureGroup/FeatureGroupDecoder.swift -------------------------------------------------------------------------------- /ToggleUI/Sources/ToggleUI/FeatureGroup/FeatureGroupProperty.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUI/Sources/ToggleUI/FeatureGroup/FeatureGroupProperty.swift -------------------------------------------------------------------------------- /ToggleUI/Sources/ToggleUI/FeatureGroup/ObservableFeatureGroup.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUI/Sources/ToggleUI/FeatureGroup/ObservableFeatureGroup.swift -------------------------------------------------------------------------------- /ToggleUI/Sources/ToggleUI/FeatureToggle/AnyFeatureToggle.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUI/Sources/ToggleUI/FeatureToggle/AnyFeatureToggle.swift -------------------------------------------------------------------------------- /ToggleUI/Sources/ToggleUI/FeatureToggle/FeatureToggle.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUI/Sources/ToggleUI/FeatureToggle/FeatureToggle.swift -------------------------------------------------------------------------------- /ToggleUI/Sources/ToggleUI/FeatureToggle/ObservableFeatureToggle.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUI/Sources/ToggleUI/FeatureToggle/ObservableFeatureToggle.swift -------------------------------------------------------------------------------- /ToggleUI/Sources/ToggleUI/ToggleDecoder/DictionaryToggleDecoder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUI/Sources/ToggleUI/ToggleDecoder/DictionaryToggleDecoder.swift -------------------------------------------------------------------------------- /ToggleUI/Sources/ToggleUI/ToggleDecoder/ToggleDecoder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUI/Sources/ToggleUI/ToggleDecoder/ToggleDecoder.swift -------------------------------------------------------------------------------- /ToggleUI/Sources/ToggleUI/ToggleProvider/ToggleProvider.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUI/Sources/ToggleUI/ToggleProvider/ToggleProvider.swift -------------------------------------------------------------------------------- /ToggleUI/Sources/ToggleUI/ToggleProvider/ToggleProviderResolving.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUI/Sources/ToggleUI/ToggleProvider/ToggleProviderResolving.swift -------------------------------------------------------------------------------- /ToggleUI/Sources/ToggleUI/ToggleProvider/UserDefaultsToggleProvider.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUI/Sources/ToggleUI/ToggleProvider/UserDefaultsToggleProvider.swift -------------------------------------------------------------------------------- /ToggleUI/Sources/ToggleUI/WithDefaults.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUI/Sources/ToggleUI/WithDefaults.swift -------------------------------------------------------------------------------- /ToggleUI/Tests/ToggleUITests/ToggleUITests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUI/Tests/ToggleUITests/ToggleUITests.swift -------------------------------------------------------------------------------- /ToggleUI/Tests/ToggleUITests/Toggles.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUI/Tests/ToggleUITests/Toggles.swift -------------------------------------------------------------------------------- /ToggleUIApp/ToggleUIApp.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUIApp/ToggleUIApp.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /ToggleUIApp/ToggleUIApp.xcodeproj/xcshareddata/xcschemes/ToggleUIApp.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUIApp/ToggleUIApp.xcodeproj/xcshareddata/xcschemes/ToggleUIApp.xcscheme -------------------------------------------------------------------------------- /ToggleUIApp/ToggleUIApp/AppDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUIApp/ToggleUIApp/AppDelegate.swift -------------------------------------------------------------------------------- /ToggleUIApp/ToggleUIApp/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUIApp/ToggleUIApp/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /ToggleUIApp/ToggleUIApp/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUIApp/ToggleUIApp/Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /ToggleUIApp/ToggleUIApp/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUIApp/ToggleUIApp/Base.lproj/LaunchScreen.storyboard -------------------------------------------------------------------------------- /ToggleUIApp/ToggleUIApp/ContentView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUIApp/ToggleUIApp/ContentView.swift -------------------------------------------------------------------------------- /ToggleUIApp/ToggleUIApp/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUIApp/ToggleUIApp/Info.plist -------------------------------------------------------------------------------- /ToggleUIApp/ToggleUIApp/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUIApp/ToggleUIApp/Preview Content/Preview Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /ToggleUIApp/ToggleUIApp/SceneDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/ToggleUIApp/ToggleUIApp/SceneDelegate.swift -------------------------------------------------------------------------------- /debug-view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilyapuchka/ToggleUI/HEAD/debug-view.png --------------------------------------------------------------------------------