I hereby claim:
- I am ulian-onua on github.
- I am ulian_onua (https://keybase.io/ulian_onua) on keybase.
- I have a public key ASByDC_jl53AFwmz5bn2hP_UyLxwW_A9NfGgY15ShOupggo
To claim this, I am signing this object:
struct DocumentPicker: UIViewControllerRepresentable { | |
// MARK: - Environment | |
@Environment(\.dismiss) var dismiss | |
let completion: (_ result: PickerResult) -> Void | |
func makeUIViewController(context: UIViewControllerRepresentableContext<DocumentPicker>) -> UIDocumentPickerViewController { | |
let picker = UIDocumentPickerViewController(forOpeningContentTypes: [.image]) |
I hereby claim:
To claim this, I am signing this object:
// MIT License - © 2017 Jonathan Cole. | |
import Cocoa | |
/** | |
A view with the ability to hide itself if the user clicks outside of it. | |
*/ | |
class ModalView: NSView { | |
private var monitor: Any? | |
import XCTest | |
class UIColorNativeTests: XCTestCase { | |
var computedNativeColor: UIColor { | |
return UIColor(red: 224.0 / 255.0, | |
green: 17.0 / 255.0, | |
blue: 95.0 / 255.0, | |
alpha: 1.0) | |
} | |