I really wish CGPathApplyWithBlock were documented, because it can save an awful lot of boilerplate, and leads to better-factored and more readable code.
Replying to @thekarladam
It’s like CGPathApply, but instead of taking a context and function pointer, it takes a block or closure, allowing you to enumerate the elements of a path (moveTo, lineTo, quadCurveTo, close) at the call site.
6:20 PM - 9 Sep 2018
0 replies
0 retweets
2 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.