• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: New CGContext warning in Yosemite
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New CGContext warning in Yosemite


  • Subject: Re: New CGContext warning in Yosemite
  • From: Graham Cox <email@hidden>
  • Date: Tue, 18 Nov 2014 14:11:55 +1100

> On 18 Nov 2014, at 1:50 pm, Roland King <email@hidden> wrote:
>
>>
>>
>> Which suggests you're right, it's not my bug. You'd think Apple would deal with these before a major OS release.
>>
>
> Ha ha. I feel Apple have adopted the same relaxed attitude to that 'courtesy notice’ as I have. They did fix one during the iOS6 betas, which was good as it came up just about every time you used a non-English keyboard and was very annoying.
>


Yep, it's very annoying. It's either serious, in which case it should be fixed, or it's not serious, in which case they should change the wording of the message to say so. Especially as I suspect every CGxxx function starts with the preamble:

if( context == NULL )
{
	LogPanickyWarningMessage();
	return;
}

... continue ...

In other words if it does get a nil context, it does nothing, so whatever call stack led to that point just unwinds without drawing anything. That's fine, but what's the BS about "contributing to an overall degradation of system stability and reliability"?

--Graham



_______________________________________________

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


  • Follow-Ups:
    • Re: New CGContext warning in Yosemite
      • From: Daniel Blakemore <email@hidden>
References: 
 >New CGContext warning in Yosemite (From: Graham Cox <email@hidden>)
 >Re: New CGContext warning in Yosemite (From: Roland King <email@hidden>)
 >Re: New CGContext warning in Yosemite (From: Graham Cox <email@hidden>)
 >Re: New CGContext warning in Yosemite (From: Roland King <email@hidden>)

  • Prev by Date: Re: New CGContext warning in Yosemite
  • Next by Date: Re: New CGContext warning in Yosemite
  • Previous by thread: Re: New CGContext warning in Yosemite
  • Next by thread: Re: New CGContext warning in Yosemite
  • Index(es):
    • Date
    • Thread