- To print Simulator's document folder route in macOS, add a breakpoint anywhere in an App and write the following in the XCode console:
po NSHomeDirectory()
// SwiftUI Text Initializer replacing occurences of a given word with a colored version. | |
// Made by Manuel Gomez (@codingManu) on 2019/06/19 | |
extension Text { | |
public init<S>(_ content: S, making: S, _ color: Color) where S : StringProtocol { | |
let comps = content.components(separatedBy: making) | |
var baseText = Text("") | |
if comps[0] != making { |
po NSHomeDirectory()
http://www.arcgis.com/sharing/content/items/YourWebMapID?f=pjson