On Mar 8, 2017, at 15:25 , Jeremy Hughes wrote:
>
> My conclusion (for now) is that “needsDisplay” causes subviews to be redrawn
> - except when “wantsLayer” has been set to true.
>
> Does that make sense?
Sure. In some cases, such as when using layers, the result
The situation in which subviews were not being redrawn seems to have been a xib
problem. After spending some time getting nowhere I decided to recreate the xib
by taking a different xib (which used the same custom view) and cutting it
down. This worked without any problems. Then I compared the
> On Mar 8, 2017, at 1:44 PM, David Reed wrote:
>
>
>> On Mar 8, 2017, at 4:35 PM, Peter Edberg wrote:
>>
>>
>>> On Mar 8, 2017, at 12:00 PM, cocoa-dev-requ...@lists.apple.com wrote:
>>>
>>> Message: 1
>>> Date: Tue, 07 Mar 2017 15:03:41 -0500
>>> From:
> On Mar 8, 2017, at 4:35 PM, Peter Edberg wrote:
>
>
>> On Mar 8, 2017, at 12:00 PM, cocoa-dev-requ...@lists.apple.com wrote:
>>
>>
>> My app has the option to zip up the directories UIManagedDocument creates
>> and email it (so users can back up their data or share it with others).
> On Mar 8, 2017, at 12:00 PM, cocoa-dev-requ...@lists.apple.com wrote:
>
> Message: 1
> Date: Tue, 07 Mar 2017 15:03:41 -0500
> From: davel...@mac.com
> To: Alastair Houghton , David Duncan
>
> Cc: cocoa-dev list
I tried:
> // Set the paragraph formatting for the body...
> let bodyAdvancement = bodyFont.maximumAdvancement
> let bodyIndent = max(bodyAdvancement.width,
> bodyAdvancement.height) / 2.0
> let bodyParagraphStyle =
> On 08 Mar 2017, at 8:46 am, Jeremy Hughes wrote:
>
> If needsDisplay is set to true for an NSView, does that also cause subviews
> to be redrawn?
Admittedly I've been mostly doing iOS development for the last several years
and barely any Mac lately, but,
If needsDisplay is set to true for an NSView, does that also cause subviews to
be redrawn?
I’ve seen conflicting statements about this, but haven’t found anything in
Apple’s documentation.
Jeremy
___
Cocoa-dev mailing list
On Mar 8, 2017, at 12:42 AM, Gerriet M. Denkmann wrote:
>
> Both boundingRectForGlyphRange and enumerateEnclosingRectsForGlyphRange are
> right in the case of lines just containing Ascii chars.
>
> But for more general cases (e.g. lines containing Thai chars)
>