├── .github ├── FUNDING.yml └── workflows │ └── build_and_test.yml ├── .gitignore ├── Assets ├── box.png ├── button.png ├── calendarpicker.png ├── checkbox.png ├── clockpicker.png ├── colorwell.png ├── datepicker.png ├── example.png ├── fontpicker.png ├── helpbutton.png ├── level.png ├── popup.png ├── preferencebuttonsection.png ├── proxygen-app-icon.png ├── radio.png ├── slider.png ├── switch.png ├── tabs.png ├── textfield.png ├── textview.png └── timepicker.png ├── Example ├── Example.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist └── Example │ ├── AppDelegate.swift │ ├── Assets.xcassets │ ├── AccentColor.colorset │ │ └── Contents.json │ ├── AppIcon.appiconset │ │ └── Contents.json │ └── Contents.json │ ├── Base.lproj │ └── Main.storyboard │ ├── Example.entitlements │ └── ViewController.swift ├── LICENSE ├── Package.swift ├── README.md ├── Sources └── CocoaCompose │ ├── Components │ ├── Box.swift │ ├── Button.swift │ ├── CalendarPicker.swift │ ├── Checkbox.swift │ ├── ClockPicker.swift │ ├── ColorWell.swift │ ├── DatePicker.swift │ ├── FontPicker.swift │ ├── HelpButton.swift │ ├── Image.swift │ ├── Label.swift │ ├── Level.swift │ ├── PopUp.swift │ ├── Radio.swift │ ├── ScrollView.swift │ ├── Separator.swift │ ├── Slider.swift │ ├── Switch.swift │ ├── Tabs.swift │ ├── TextField.swift │ ├── TextView.swift │ └── TimePicker.swift │ ├── Extensions │ ├── NSStackView+Extensions.swift │ └── NSView+Extensions.swift │ ├── Preferences │ ├── PreferenceBlock.swift │ ├── PreferenceButtonSection.swift │ ├── PreferenceGroup.swift │ ├── PreferenceList.swift │ └── PreferenceSection.swift │ └── Utils │ ├── ConstrainingStackView.swift │ └── FlippedClipView.swift └── Tests └── CocoaComposeTests └── CocoaComposeTests.swift /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: PasiSalenius 2 | -------------------------------------------------------------------------------- /.github/workflows/build_and_test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/.github/workflows/build_and_test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .swiftpm 3 | .build 4 | xcuserdata 5 | -------------------------------------------------------------------------------- /Assets/box.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Assets/box.png -------------------------------------------------------------------------------- /Assets/button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Assets/button.png -------------------------------------------------------------------------------- /Assets/calendarpicker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Assets/calendarpicker.png -------------------------------------------------------------------------------- /Assets/checkbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Assets/checkbox.png -------------------------------------------------------------------------------- /Assets/clockpicker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Assets/clockpicker.png -------------------------------------------------------------------------------- /Assets/colorwell.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Assets/colorwell.png -------------------------------------------------------------------------------- /Assets/datepicker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Assets/datepicker.png -------------------------------------------------------------------------------- /Assets/example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Assets/example.png -------------------------------------------------------------------------------- /Assets/fontpicker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Assets/fontpicker.png -------------------------------------------------------------------------------- /Assets/helpbutton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Assets/helpbutton.png -------------------------------------------------------------------------------- /Assets/level.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Assets/level.png -------------------------------------------------------------------------------- /Assets/popup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Assets/popup.png -------------------------------------------------------------------------------- /Assets/preferencebuttonsection.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Assets/preferencebuttonsection.png -------------------------------------------------------------------------------- /Assets/proxygen-app-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Assets/proxygen-app-icon.png -------------------------------------------------------------------------------- /Assets/radio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Assets/radio.png -------------------------------------------------------------------------------- /Assets/slider.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Assets/slider.png -------------------------------------------------------------------------------- /Assets/switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Assets/switch.png -------------------------------------------------------------------------------- /Assets/tabs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Assets/tabs.png -------------------------------------------------------------------------------- /Assets/textfield.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Assets/textfield.png -------------------------------------------------------------------------------- /Assets/textview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Assets/textview.png -------------------------------------------------------------------------------- /Assets/timepicker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Assets/timepicker.png -------------------------------------------------------------------------------- /Example/Example.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Example/Example.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Example/Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Example/Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /Example/Example/AppDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Example/Example/AppDelegate.swift -------------------------------------------------------------------------------- /Example/Example/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Example/Example/Assets.xcassets/AccentColor.colorset/Contents.json -------------------------------------------------------------------------------- /Example/Example/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Example/Example/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /Example/Example/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Example/Example/Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /Example/Example/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Example/Example/Base.lproj/Main.storyboard -------------------------------------------------------------------------------- /Example/Example/Example.entitlements: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Example/Example/Example.entitlements -------------------------------------------------------------------------------- /Example/Example/ViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Example/Example/ViewController.swift -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/LICENSE -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/README.md -------------------------------------------------------------------------------- /Sources/CocoaCompose/Components/Box.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Components/Box.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Components/Button.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Components/Button.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Components/CalendarPicker.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Components/CalendarPicker.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Components/Checkbox.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Components/Checkbox.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Components/ClockPicker.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Components/ClockPicker.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Components/ColorWell.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Components/ColorWell.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Components/DatePicker.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Components/DatePicker.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Components/FontPicker.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Components/FontPicker.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Components/HelpButton.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Components/HelpButton.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Components/Image.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Components/Image.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Components/Label.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Components/Label.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Components/Level.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Components/Level.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Components/PopUp.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Components/PopUp.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Components/Radio.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Components/Radio.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Components/ScrollView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Components/ScrollView.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Components/Separator.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Components/Separator.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Components/Slider.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Components/Slider.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Components/Switch.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Components/Switch.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Components/Tabs.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Components/Tabs.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Components/TextField.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Components/TextField.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Components/TextView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Components/TextView.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Components/TimePicker.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Components/TimePicker.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Extensions/NSStackView+Extensions.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Extensions/NSStackView+Extensions.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Extensions/NSView+Extensions.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Extensions/NSView+Extensions.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Preferences/PreferenceBlock.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Preferences/PreferenceBlock.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Preferences/PreferenceButtonSection.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Preferences/PreferenceButtonSection.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Preferences/PreferenceGroup.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Preferences/PreferenceGroup.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Preferences/PreferenceList.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Preferences/PreferenceList.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Preferences/PreferenceSection.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Preferences/PreferenceSection.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Utils/ConstrainingStackView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Utils/ConstrainingStackView.swift -------------------------------------------------------------------------------- /Sources/CocoaCompose/Utils/FlippedClipView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Sources/CocoaCompose/Utils/FlippedClipView.swift -------------------------------------------------------------------------------- /Tests/CocoaComposeTests/CocoaComposeTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PasiSalenius/CocoaCompose/HEAD/Tests/CocoaComposeTests/CocoaComposeTests.swift --------------------------------------------------------------------------------