Replacement for CGContextSelectFont ?

2016-09-14 Thread Gabriel Zachmann
I am trying to "resurrect" some old code. There are several deprecated functions in it. One of them is CGContextSelectFont() . I looked at the documentation , where it just says I should use Core Text. I also googled, but it is not clear to me , how I can replace it. The snippet of code is this

Re: QuickLook CGSReenableUpdate Message

2016-09-14 Thread Richard Charles
> On Sep 14, 2016, at 10:31 PM, Patrick Cusack > wrote: > > Did you ever solve this issue? I filed a DTS with apple which they returned > to me as a bug. > > Patrick No. I am still getting CGSReenableUpdate: unbalanced enable/disable update messages in the system log. I filed a bug repo

Re: Strange toolbar item error

2016-09-14 Thread Shane Stanley
On 15 Sep 2016, at 3:24 PM, Shane Stanley wrote: > > On 15 Sep 2016, at 2:54 PM, Kyle Sluder wrote: >> >> What’s your app’s deployment target? What’s the deployment target of >> your nib (listed in the file inspector while the nib is open for >> editing)? > > The app's deployment target is 10.

Re: Strange toolbar item error

2016-09-14 Thread Shane Stanley
On 15 Sep 2016, at 2:54 PM, Kyle Sluder wrote: > > What’s your app’s deployment target? What’s the deployment target of > your nib (listed in the file inspector while the nib is open for > editing)? The app's deployment target is 10.9, and the nib's is set to "Deployment Target(10.9)". -- Sha

Re: Strange toolbar item error

2016-09-14 Thread Kyle Sluder
On Wed, Sep 14, 2016, at 07:50 PM, Shane Stanley wrote: > Under 10.12 GM, I'm seeing entries like this in Console: > > NSToolbarItem () had to adjust the size of > from {38, 25} to the expected size of {40, > 27}. Make sure that this toolbar item view has a valid frame/min/max > size. This is an

Re: QuickLook CGSReenableUpdate Message

2016-09-14 Thread Patrick Cusack
Did you ever solve this issue? I filed a DTS with apple which they returned to me as a bug. Patrick Sent from my iPhone > On Jan 9, 2015, at 10:25 AM, cocoa-dev-requ...@lists.apple.com wrote: > > Message: 11 > Date: Fri, 09 Jan 2015 11:25:51 -0700 > From: Richard Charles > To: cocoa-dev > S

Strange toolbar item error

2016-09-14 Thread Shane Stanley
Under 10.12 GM, I'm seeing entries like this in Console: NSToolbarItem () had to adjust the size of from {38, 25} to the expected size of {40, 27}. Make sure that this toolbar item view has a valid frame/min/max size. This is an app bug, please do not file a bug against AppKit or NSToolbar! Br