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 mention that it can
return nil.

Is this is a known issue with OSX 10.11? Are there valid/un-documented
cases when currentContext can return nil?

Any help will be appreciated?
Thanks,Lakshmi
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to