Ios swift – Is it possible to create a null CGPath on iOS?
CGRect has a very convenient built-in constant: CGRect.null let aRect = ... //get rect from somewhere CGRect.null.union(aRect) //is aRect CGRect.null.intersection(aRect) //is CGRect.null CGPath doesn't have anything like this, meaning you can't do something like: let bunchOfPaths = [...] //array of…