Re: Mysterious crash with NSTableView

2016-08-29 Thread Kyle Sluder
> On Aug 29, 2016, at 6:39 AM, Andreas Falkenhahn > wrote: > >> On 29.08.2016 at 02:10 Kyle Sluder wrote: >> >> Delegates are different because they are often messaged in response to >> various exogenous events. Some of these events might happen transiently >> during

Re: Toolbar hiding on rotation?

2016-08-29 Thread Alex Kac
I figured it out :) Maybe its just monday morning fresh brain, I don’t know. It turns out that the issue was that I am using a UISplitViewController AND the delegate methods: -(UIViewController *)primaryViewControllerForCollapsingSplitViewController:(UISplitViewController

Re: Toolbar hiding on rotation?

2016-08-29 Thread Alex Kac
I thought so as well. This is a pretty major project - 1600 classes, Mac/iOS targets, and several third party libraries - so its quite possible somewhere somehow there is something I’m unaware of, but that’s why I’m asking for help in leads. I would think if its my code or even third party

Re: Toolbar hiding on rotation?

2016-08-29 Thread Doug Hill
> On Aug 29, 2016, at 9:57 AM, Alex Kac wrote: > > I have a UINavigationController and UIViewController root that I set the > toolbarItems on. I obviously also tell it not to hide the toolbar. Great! > Works perfectly. But when I rotate, the toolbar is hidden - even if I

Re: Toolbar hiding on rotation?

2016-08-29 Thread David Duncan
> On Aug 29, 2016, at 9:57 AM, Alex Kac wrote: > > I have a UINavigationController and UIViewController root that I set the > toolbarItems on. I obviously also tell it not to hide the toolbar. Great! > Works perfectly. But when I rotate, the toolbar is hidden - even if I

Toolbar hiding on rotation?

2016-08-29 Thread Alex Kac
I have a UINavigationController and UIViewController root that I set the toolbarItems on. I obviously also tell it not to hide the toolbar. Great! Works perfectly. But when I rotate, the toolbar is hidden - even if I rotate back to portrait. I've set all the "hides*" properties such as

Re: Pixel-perfect migration from ATSUI to Core Text

2016-08-29 Thread Jens Alfke
> On Aug 29, 2016, at 8:46 AM, Ken Thomases wrote: > > First, this has nothing to do with Cocoa and so isn't appropriate for > Cocoa-Dev. There is a CoreText mailing list at lists.apple.com , I believe. —Jens

Re: Pixel-perfect migration from ATSUI to Core Text

2016-08-29 Thread Ken Thomases
On Aug 29, 2016, at 9:55 AM, Andreas Falkenhahn wrote: > > I'm migrating some code from ATSUI to Core Text. It's pretty raw stuff, i.e. > it does > all the layouting itself and only uses ATSUI/Core Text to draw single lines > of text to > raw pixel buffers and obtain

Pixel-perfect migration from ATSUI to Core Text

2016-08-29 Thread Andreas Falkenhahn
I'm migrating some code from ATSUI to Core Text. It's pretty raw stuff, i.e. it does all the layouting itself and only uses ATSUI/Core Text to draw single lines of text to raw pixel buffers and obtain measurements. The raw pixel data emitted by ATSUDrawText() and CTLineDraw() seems to match

Re: Mysterious crash with NSTableView

2016-08-29 Thread Andreas Falkenhahn
On 29.08.2016 at 02:10 Kyle Sluder wrote: > Delegates are different because they are often messaged in response to > various exogenous events. Some of these events might happen transiently > during window teardown, which is usually a time of massive fluctuation > in an app’s object graph. This is

Re: Mysterious crash with NSTableView

2016-08-29 Thread Andreas Falkenhahn
On 27.08.2016 at 23:54 Quincey Morris wrote: > On Aug 27, 2016, at 13:55 , Andreas Falkenhahn wrote: > > I still don't know whether setting the delegate to nil > before release is a general rule or does it only apply to NSTableView? > > It’s not clear what delegate you