I have a UIView that I import to display bezier paths with setNeedsDisplay from the super class.
I need to call another method in the super class once the UIView has finished updating. I call the method after setNeedsDisplay however the method is called before UIView has completed redrawing.
As a quick-fix I created an NSTimer with 0.3 seconds before calling the method. That works but could be unreliable. I could also post a notification from the UIView back to the super class but that just seems not right.
I've checked the documentation but can't find anything about a completion notification. Is there any built-in function for this?