Re: TableView crash with Delegate

2016-06-13 Thread Gerriet M. Denkmann
> On 13 Jun 2016, at 21:43, Alastair Houghton > wrote: > > On 12 Jun 2016, at 10:10, Gerriet M. Denkmann wrote: >> >> OS X 10.11.5, Xcode Version 7.3.1 (7D1014). >> >> App with TableView (View based). Works fine. >> But when I give the TableView a delegate (even without implementing any >>

Re: KERN_INVALID_ADDRESS

2016-06-13 Thread Jens Alfke
___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.co

Re: Tick marks on scroll bars

2016-06-13 Thread Jens Alfke
> On Jun 13, 2016, at 9:18 AM, じょいすじょん > wrote: > > Did you do run into any issues with rubberbanding and responsive/momentum > scrolling? Why would I? I just overrode the method that draws the background. —Jens ___ Cocoa-dev mailing list (Cocoa-d

Re: KERN_INVALID_ADDRESS

2016-06-13 Thread Raglan T. Tiger
Or , how can an address held in a variable be checked for validity? -rags > On Jun 13, 2016, at 1:08 PM, Raglan T. Tiger wrote: > > > How can one find the variable containing the KERN_INVALID_ADDRESS s indicated > by > > Exception Codes: KERN_INVALID_ADDRESS at 0x01a9 >

KERN_INVALID_ADDRESS

2016-06-13 Thread Raglan T. Tiger
How can one find the variable containing the KERN_INVALID_ADDRESS s indicated by Exception Codes: KERN_INVALID_ADDRESS at 0x01a9 from a crash report? -rags ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not po

Re: Tick marks on scroll bars

2016-06-13 Thread じょいすじょん
Did you do run into any issues with rubberbanding and responsive/momentum scrolling? > On Jun 14, 2016, at 1:03 AM, Jens Alfke wrote: > > I've done it by subclassing NSScroller. (The code's not open-source, though.) > As far as I know, that's the only way to do it. It's fairly easy. > > —Jens

Re: Tick marks on scroll bars

2016-06-13 Thread Jens Alfke
I've done it by subclassing NSScroller. (The code's not open-source, though.) As far as I know, that's the only way to do it. It's fairly easy. —Jens ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: TableView crash with Delegate

2016-06-13 Thread Alastair Houghton
On 12 Jun 2016, at 10:10, Gerriet M. Denkmann wrote: > > OS X 10.11.5, Xcode Version 7.3.1 (7D1014). > > App with TableView (View based). Works fine. > But when I give the TableView a delegate (even without implementing any > NSTableViewDelegate methods) it crashes (see below). > > How to deb

CGWindowList Documentation bug?

2016-06-13 Thread Dave
Hi All, I got this from CGWindow Reference manual: Window List Option Constants Specifies which windows in the current user session to include in a generated list. enum { kCGWindowListOptionAll = 0, kCGWindowListOptionOnScreenOnly = (1 << 0), kCGWindowListOp

Tick marks on scroll bars

2016-06-13 Thread Jonathan Taylor
Hi all, Does anyone know a way of implementing "tick marks" on a scroll bar, in the way that Xcode does to mark code lines where there is an error/warning? From reading header files, I can't see any obvious built-in API to implement this feature, but perhaps somebody knows of a custom class tha