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 Alamofire | |
| import SwiftyJSON | |
| class APIManager { | |
| private init(){} | |
| class func request( | |
| _ url: URLConvertible, | |
| method: HTTPMethod, |
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
| let arrayOfTuples = [(0, 1), (0, 1), (0, 1), (0, 1), (0, 1), (0, 1), (0, 1), (0, 1), (0, 1), (0, 1)] | |
| let flattenedArray = arrayOfTuples.flatMap{ [$0.0, $0.1] } | |
| security find-generic-password -ga WIFI NAME | |
| https://developer.usebutton.com/guides/merchants/universal-links | |
| https://johncodeos.com/how-to-add-uicollectionview-inside-uitableviewcell-using-swift/ | |
| https://github.com/johncodeos-blog |
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
| struct PhotoPicker: UIViewControllerRepresentable { | |
| let configuration: PHPickerConfiguration | |
| @Binding var pickerResult: [UIImage] | |
| @Binding var isPresented: Bool | |
| func makeUIViewController(context: Context) -> PHPickerViewController { | |
| let controller = PHPickerViewController(configuration: configuration) | |
| controller.delegate = context.coordinator | |
| return controller | |
| } | |
| func updateUIViewController(_ uiViewController: PHPickerViewController, context: Context) { } |
NewerOlder