This file contains hidden or 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
// | |
// UserProfileTest.swift | |
// MuckAbout | |
// | |
// Created by end3r117 on 8/28/20. | |
// | |
class PostViewModel: ObservableObject { | |
@Published private(set) var post: Post | |
@Published var loading: Bool = false |
This file contains hidden or 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
// | |
// 20200728_ColorFinderGameExample.swift | |
// | |
// Created by Anthony Rosario on 7/28/20. | |
// | |
import Combine | |
import SwiftUI | |
struct CardView: View { |
This file contains hidden or 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
// | |
// 20200715_ShutterSpeedDemo.swift | |
// MuckAbout | |
// | |
// Created by Anthony Rosario on 7/15/20. | |
// | |
import Combine | |
import SwiftUI |
This file contains hidden or 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
// | |
// GoogleSearchSuggestionsAPI-DEMO.swift | |
// | |
// Created by Anthony Rosario on 6/30/20. | |
// Copyright © 2020 Anthony Rosario. All rights reserved. | |
// | |
import Combine | |
import SwiftUI |
This file contains hidden or 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
//SegmentedPickerExample.playground | |
//Created by (End3r117) on 5/28/20. | |
// | |
//Note: tiny indentation was intentional to paste into this gist. You might want to do a re-indent in XCode. | |
import SwiftUI | |
import PlaygroundSupport | |
fileprivate | |
struct SPPreferenceKey<Collection:RandomAccessCollection>: PreferenceKey { |