View WebViewExampleViewController.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// WebViewExampleViewController.swift | |
// | |
// Created by Felix Mau on 06.01.18. | |
// Copyright © 2018 Felix Mau. All rights reserved. | |
// | |
import UIKit | |
import WebKit |
View Combine+Pairwise.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Combine+Pairwise.swift | |
// | |
// Created by Felix Mau on 17.05.21. | |
// Copyright © 2021 Felix Mau. All rights reserved. | |
// | |
import Combine | |
extension Publisher { |
View ScreenOverlayViewModel.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// 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 Combine-CLLocationManagerDelegate.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Combine-CLLocationManagerDelegate.playground | |
// | |
// Created by Felix Mau on 30.07.20. | |
// Copyright © 2020 Felix Mau. All rights reserved. | |
// | |
import PlaygroundSupport | |
import Combine | |
import CoreLocation |
View swiftui.stencil
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// 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 SwiftUI+HTML.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// SwiftUI+HTML.swift | |
// | |
// Created by Felix Mau on 28.05.21. | |
// Copyright © 2021 Felix Mau. All rights reserved. | |
// | |
import SwiftUI | |
@available(iOS 15.0, *) |
View UIView+AnimateAlpha.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// UIView+AnimateAlpha.swift | |
// | |
// Created by Felix Mau on 17/12/18. | |
// Copyright © 2018 Felix Mau. All rights reserved. | |
// | |
import UIKit | |
extension UIView { |
View Combine-PassthroughSubject-CurrentValueSubject.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Combine-PassthroughSubject-CurrentValueSubject.playground | |
// | |
// Created by Felix Mau on 30.07.20. | |
// Copyright © 2020 Felix Mau. All rights reserved. | |
// | |
import PlaygroundSupport | |
import Combine |
View Font+Formatting.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Font+Formatting.swift | |
// | |
// Created by Felix Mau on 12.11.20. | |
// Copyright © 2020 Felix Mau. All rights reserved. | |
// | |
import Foundation | |
import SwiftUI |
View Dictionary+PlusAssignment.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension Dictionary { | |
/// Combine two dictionaries of same type with `+` operator. | |
/// | |
/// - Important: When `left` and `right` are having a same key, the value from `right` will override | |
/// the value from `left`. E.g. | |
/// ``` | |
/// var left = ["a": 1, "b": 2] | |
/// let right = ["a": 3, "c": 4] | |
/// left += right | |
/// print(left) |
NewerOlder