Basically follows Apple documentation of recommended replacement/favoured API calls
P.S. There are numerous memory leaking problem in SquirrelPanel.m all related to CGPath and CGMutablePath never get released. Better use NSBezierPath and convert to CGPath in the final step when necessary. But the code mix CGPath with CGMutablePath making it impossible for others to even begin to correct. I have no choice but to leave it here
Basically follows Apple documentation of recommended replacement/favoured API calls
P.S. There are numerous memory leaking problem in SquirrelPanel.m all related to CGPath and CGMutablePath never get released. Better use NSBezierPath and convert to CGPath in the final step when necessary. But the code mix CGPath with CGMutablePath making it impossible for others to even begin to correct. I have no choice but to leave it here