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
// | |
// AlignmentControl.swift | |
// MicroAnimations_Test | |
// | |
// Created by Jean-Marc Boullianne on 8/18/20. | |
// | |
import SwiftUI | |
struct AlignmentControl: View { |
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
/ | |
// ScrollingStackModifier.swift | |
// ScrollView_Tests | |
// | |
// Created by Jean-Marc Boullianne on 8/7/20. | |
// | |
import SwiftUI | |
struct ScrollingHStackModifier: ViewModifier { |
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
// | |
// ProductCard.swift | |
// FoodProductCard | |
// | |
// Created by Jean-Marc Boullianne on 11/17/19. | |
// Copyright © 2019 Jean-Marc Boullianne. All rights reserved. | |
// | |
import SwiftUI |
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
import SwiftUI | |
struct ImageToggleStyle: ToggleStyle { | |
var onImageName: String | |
var offImageName: String | |
func makeBody(configuration: Configuration) -> some View { | |
HStack { | |
configuration.label |
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
import SwiftUI | |
struct CheckmarkToggleStyle: ToggleStyle { | |
func makeBody(configuration: Configuration) -> some View { | |
HStack { | |
configuration.label | |
Spacer() | |
Rectangle() | |
.foregroundColor(configuration.isOn ? .green : .gray) |
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
// | |
// ContentView.swift | |
// ScrollView_Tests | |
// | |
// Created by Jean-Marc Boullianne on 7/30/20. | |
// | |
import SwiftUI | |
struct ContentView: View { |
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
// | |
// SheetBase.swift | |
// PopoverSheet_Tests | |
// | |
// Created by Jean-Marc Boullianne on 9/13/20. | |
// Copyright © 2020 TrailingClosure. All rights reserved. | |
// | |
import SwiftUI |
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
import SwiftUI | |
struct PowerToggleStyle: ToggleStyle { | |
func makeBody(configuration: Configuration) -> some View { | |
HStack { | |
configuration.label | |
Spacer() | |
Rectangle() | |
.foregroundColor(configuration.isOn ? .green : .gray) |
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
// | |
// STSegmentedView.swift | |
// | |
// | |
// Created by Jean-Marc Boullianne on 6/16/19. | |
// Copyright © 2019 Jean-Marc Boullianne. All rights reserved. | |
// | |
import UIKit |
NewerOlder