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
import Foundation | |
import Combine | |
protocol Initializable: RawRepresentable { | |
init?(rawValue: RawValue) | |
} | |
enum Person: Int, Initializable { | |
case andrew | |
} |
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
import SwiftUI | |
struct ContentView: View { | |
@State private var spinRadians: CGFloat = .zero | |
@State private var tiltRadians: CGFloat = .zero | |
private var spin: Angle { .radians(spinRadians) } | |
private var tilt: Angle { .radians(tiltRadians) } | |
OlderNewer