• 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: NSString drawAtPoint in Mojave
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSString drawAtPoint in Mojave


  • Subject: Re: NSString drawAtPoint in Mojave
  • From: Ken Thomases <email@hidden>
  • Date: Wed, 07 Nov 2018 00:09:10 -0600

On Nov 6, 2018, at 11:51 PM, Tom Doan <email@hidden> wrote:
>
> I just started testing a port of my application to Mojave. I'm having a
> rather odd problem with NSString drawAtPoint withAttributes. I use
> that to add text to graph windows. All the lines and fills look fine, but
> the text, done with drawAtPoint, doesn't show on the screen.
> However, if I take the window and create a PDF from it, everything
> looks fine. It also works fine on High Sierra. Anybody have any idea
> what might be going wrong with this?

Are you just running your app on Mojave or are you also building against the
10.14 SDK?  Are you able to test a version of your app that was built against
an earlier SDK?  Does that show the same issue when run on Mojave?

Where/when are you calling -drawAtPoint:withAttributes:?  Is it within a view's
-drawRect: method?  Or are you trying to draw at some other time?

Does the "Layer-Backed Views" section of the AppKit Release Notes for 10.14
explain what you're seeing?
<https://developer.apple.com/documentation/macos_release_notes/macos_mojave_10_14_release_notes/appkit_release_notes_for_macos_10_14#3014921>

Regards,
Ken

_______________________________________________

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: NSString drawAtPoint in Mojave
      • From: Tom Doan <email@hidden>
References: 
 >NSString drawAtPoint in Mojave (From: Tom Doan <email@hidden>)

  • Prev by Date: NSString drawAtPoint in Mojave
  • Next by Date: Re: NSString drawAtPoint in Mojave
  • Previous by thread: NSString drawAtPoint in Mojave
  • Next by thread: Re: NSString drawAtPoint in Mojave
  • Index(es):
    • Date
    • Thread