NSGraphicsContext currentContext() returns nil on OSX 10.11
NSGraphicsContext currentContext() returns nil on OSX 10.11
- Subject: NSGraphicsContext currentContext() returns nil on OSX 10.11
- From: Lakshmi P Shanmugam <email@hidden>
- Date: Mon, 12 Oct 2015 17:15:16 +0530
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 (email@hidden)
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:
This email sent to email@hidden