NSGraphicsContext currentContext() returns nil on OSX 10.11

2015-10-12 Thread Lakshmi P Shanmugam
I'm running our application on OSX 10.11. NSGraphicsContext currentContext() returns nil in one of the drawing methods. The same code works fine on OSX 10.9.5 and 10.10.3. According to the documentation, currentContext returns an instance of a concrete subclass of NSGraphicsContext. It doesn't ment

Re: NSGraphicsContext currentContext() returns nil on OSX 10.11

2015-10-14 Thread Lakshmi P Shanmugam
worked fine in all previous versions upto OSX 10.11 and started failing now. Any idea on what could be wrong? Thanks & Regards, Lakshmi On Mon, Oct 12, 2015 at 8:36 PM, Ken Thomases wrote: > On Oct 12, 2015, at 6:45 AM, Lakshmi P Shanmugam < > lakshmipriya@gmail.com> wrote: >