This is the Obj-C code:
CGContextSetStrokeColorWithColor(context, [[UIColor lightGrayColor] CGColor]);
How do I write it in swift.
Swift 4+ version
UIColor.lightGray.cgColor