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
| extension FileManager { | |
| /* | |
| Prints out the locations of the simulator and the shared group folder. | |
| This is useful for debugging file issues. | |
| Example usage: FileManager.default.printFileLocations() | |
| */ | |
| func printFileLocations() { | |
| let paths = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true) | |
| let simulatorFolder = paths.last! |
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
| // | |
| // BottomSheetView.swift | |
| // | |
| // Created by Majid Jabrayilov | |
| // Copyright © 2019 Majid Jabrayilov. All rights reserved. | |
| // | |
| import SwiftUI | |
| fileprivate enum Constants { | |
| static let radius: CGFloat = 16 |
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 | |
| import SVGKit | |
| struct SVGKFastImageViewSUI:UIViewRepresentable | |
| { | |
| @Binding var url:URL | |
| @Binding var size:CGSize | |
| func makeUIView(context: Context) -> SVGKFastImageView { |
OlderNewer