I'm in a hospital in Spain and my MacBook was stolen.
Now I bought a new one and need to configure it. I have an external hard drive that backup everything using Time Machine, but I don't want all the crap I had in the old one.
struct AdConfig { | |
var prefetchCount:Int | |
var wrapperView:UIView? | |
static let `default`: AdConfig = AdConfig(prefetchCount: 10, wrapperView: UIView(frame:CGRect.zero)) | |
} | |
print(AdConfig.default.wrapperView?.backgroundColor) // prints nil | |
var customConfig = AdConfig.default | |
customConfig.wrapperView?.backgroundColor = UIColor.red |
I'm in a hospital in Spain and my MacBook was stolen.
Now I bought a new one and need to configure it. I have an external hard drive that backup everything using Time Machine, but I don't want all the crap I had in the old one.