I'm running our application on OSX 10.11. NSGraphicsContext
currentContext() returns nil in one of the drawing methods. The same code
works fine on OSX 10.9.5 and 10.10.3.
According to the documentation, currentContext returns an instance of a
concrete subclass of NSGraphicsContext. It doesn't ment
> On Oct 12, 2015, at 8:45 PM, Lakshmi P Shanmugam
> wrote:
>
> I'm running our application on OSX 10.11. NSGraphicsContext
> currentContext() returns nil in one of the drawing methods. The same code
> works fine on OSX 10.9.5 and 10.10.3.
> According to the documentation, currentContext ret
> On Oct 11, 2015, at 3:07 PM, Jacek Oleksy wrote:
>
> I am not subclassing NSToolbar, I am using NSView (and putting
> NSButton as a subview).
Why would you not use NSToolbar? I would bet that Apple “native” toolbars use
NSToolbar or a subclass there of.
> Sadly, that is not true. From the d
On Oct 12, 2015, at 6:45 AM, Lakshmi P Shanmugam
wrote:
> I'm running our application on OSX 10.11. NSGraphicsContext
> currentContext() returns nil in one of the drawing methods.
What drawing method and who called it, you or the framework?
For example, I recently worked with somebody who was
> On Oct 5, 2015, at 19:19 , Jens Alfke wrote:
>
>
>> On Oct 5, 2015, at 6:59 PM, Rick Mann wrote:
>>
>> Huh. I continue to be bothered by the ambiguity/variability of "let"*. Is
>> the reference immutable or the thing it points to?
>
> A variable (var or let) doesn’t “point to” a struct. I
> On Oct 12, 2015, at 2:00 PM, Rick Mann wrote:
>
> In all this discussion, I forgot to bring up the containers: are they
> special? A "let" container can't be reassigned, nor can its contents be
> changed. How is this implemented?
No, they’re not special, but they’re structs (not classes). T
> On Oct 12, 2015, at 14:08 , Jens Alfke wrote:
>
>
>> On Oct 12, 2015, at 2:00 PM, Rick Mann wrote:
>>
>> In all this discussion, I forgot to bring up the containers: are they
>> special? A "let" container can't be reassigned, nor can its contents be
>> changed. How is this implemented?
>
> On Oct 11, 2015, at 11:21 PM, Gerriet M. Denkmann
> wrote:
>
> iPad / iPhone Master-Detail app. iOS 9.0, Xcode 7.0
>
> Rotating the iPad to Portrait my AppDelegate will receive a
> UIDeviceOrientationDidChangeNotification:
>
> 12:23:01.182 -[AppDelegate iPadHasTurned:]
> and does:
>
> On 13 Oct 2015, at 04:49, David Duncan wrote:
>
>
>> On Oct 11, 2015, at 11:21 PM, Gerriet M. Denkmann
>> wrote:
>>
>> iPad / iPhone Master-Detail app. iOS 9.0, Xcode 7.0
>>
>> Rotating the iPad to Portrait my AppDelegate will receive a
>> UIDeviceOrientationDidChangeNotification:
>>
>>
> On 2015 Oct 11, at 09:30, Richard Charles wrote:
>
>> On Oct 11, 2015, at 2:41 AM, Devarshi Kulshreshtha
>> wrote:
>>
>> Looking for more clues :-|
Devarshi, I tried the kludge which Richard found on Stack Overflow
(self.view.window.windowController.document.managedObjectContext), and it
10 matches
Mail list logo