View ColoredToggleStyle.swift
// | |
// ColoredToggleStyle.swift | |
// | |
// Created by Felix Mau on 29.03.2021. | |
// Copyright © 2021 Felix Mau. All rights reserved. | |
// | |
/// A fully configurable toggle style. | |
struct ColoredToggleStyle: ToggleStyle { |
View CombinePublishedVsCurrentValueSubject.playground
// | |
// CombinePublishedVsCurrentValueSubject.playground | |
// | |
// Created by Felix Mau on 09.02.21. | |
// Copyright © 2021 Felix Mau. All rights reserved. | |
// | |
import Foundation | |
import Combine |
View swiftui.stencil
// | |
// Do not edit! File generated using SwiftGen — https://github.com/SwiftGen/SwiftGen | |
// | |
// SwiftUI Template by Felix Mau – https://felix.hamburg | |
// | |
// Latest version available at https://gist.github.com/fxm90/d1eb5439ad0f45d727bdb98132e933a6 | |
// | |
import SwiftUI |
View Font+Formatting.swift
// | |
// Font+Formatting.swift | |
// | |
// Created by Felix Mau on 12.11.20. | |
// Copyright © 2020 Felix Mau. All rights reserved. | |
// | |
import Foundation | |
import SwiftUI |
View Redux.swift
// | |
// Redux.playground | |
// | |
// Created by Felix Mau on 25.06.20. | |
// Copyright © 2020 Felix Mau. All rights reserved. | |
// | |
import PlaygroundSupport | |
import Combine | |
import SwiftUI |
View Combine-CLLocationManagerDelegate.swift
// | |
// Combine-CLLocationManagerDelegate.playground | |
// | |
// Created by Felix Mau on 30.07.20. | |
// Copyright © 2020 Felix Mau. All rights reserved. | |
// | |
import PlaygroundSupport | |
import Foundation | |
import CoreLocation |
View Combine-PassthroughSubject-CurrentValueSubject.swift
// | |
// Combine-PassthroughSubject-CurrentValueSubject.playground | |
// | |
// Created by Felix Mau on 30.07.20. | |
// Copyright © 2020 Felix Mau. All rights reserved. | |
// | |
import PlaygroundSupport | |
import Combine |
View ScreenOverlayViewModel.swift
// | |
// ScreenOverlayViewModel.swift | |
// | |
// Created by Felix Mau on 12.10.19. | |
// Copyright © 2019 Felix Mau. All rights reserved. | |
// | |
protocol ScreenOverlayViewModelDelegate: AnyObject { | |
func screenOverlayViewModelDidUpdate(alpha: CGFloat) | |
} |
View UIColor+MakeDynamicColor.swift
// | |
// UIColor+MakeDynamicColor.swift | |
// | |
// Created by Felix Mau on 22/09/19. | |
// Copyright © 2019 Felix Mau. All rights reserved. | |
// | |
import Foundation | |
extension UIColor { |
View swiftformat.sh
SWIFTFORMAT="${PODS_ROOT}/SwiftFormat/CommandLineTool/swiftformat" | |
if [ ! -f "$SWIFTFORMAT" ]; then | |
echo "warning: SwiftFormat not installed!" | |
exit 1 | |
fi | |
$SWIFTFORMAT ./ |
NewerOlder