Re: How to ResolvingSymlinksInPath ?

2016-11-02 Thread Gerriet M. Denkmann
> On 2 Nov 2016, at 20:40, Stephane Sudre wrote: > > https://www.cocoawithlove.com/2010/02/resolving-path-containing-mixture-of.html I finally came up with this (all error checking removed): - (NSString *)resolvedPathFor: (NSString *)rawPath { NSURL *url = [ NSURL fileURLWithPath: rawP

Re: Why does default NSDateFormatter in IB ignore thousands separator?

2016-11-02 Thread Quincey Morris
On Nov 2, 2016, at 09:58 , Sean McBride wrote: > > The "localize format" checkbox is checked by default; the tooltip for that > checkbox says thousands separators should be applied. > In 'System Preferences > Language&Region > Advanced > General' there is a > setting to choose the thousands se

Re: Crash in addSubview: when compiled with SDK > 10.9

2016-11-02 Thread Konidaris Christos
> On 2 Nov 2016, at 19:30, Quincey Morris > wrote: > > On Nov 2, 2016, at 10:00 , Konidaris Christos wrote: > >> Our application crashes inside AppKit when compiled with any SDK > 10.9. The >> crash happens at the following point in the program: >> >> activityPaneController = [[ESC_Activity

Re: Crash in addSubview: when compiled with SDK > 10.9

2016-11-02 Thread Quincey Morris
On Nov 2, 2016, at 10:00 , Konidaris Christos wrote: > Our application crashes inside AppKit when compiled with any SDK > 10.9. The > crash happens at the following point in the program: > > activityPaneController = [[ESC_ActivityPaneController alloc] initWithNibName: > @“ESC_ActivitySideBox"

Re: Crash in addSubview: when compiled with SDK > 10.9

2016-11-02 Thread Konidaris Christos
Zombie objects and Malloc Scribble are checked in Diagnostics. – Chris > On 2 Nov 2016, at 19:05, Jens Alfke wrote: > > Have you run with Zombies enabled? Or with the address sanitizer? > > —Jens ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.

Re: Crash in addSubview: when compiled with SDK > 10.9

2016-11-02 Thread Jens Alfke
Have you run with Zombies enabled? Or with the address sanitizer? —Jens ___ 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.appl

Crash in addSubview: when compiled with SDK > 10.9

2016-11-02 Thread Konidaris Christos
Hi All, Our application crashes inside AppKit when compiled with any SDK > 10.9. The crash happens at the following point in the program: activityPaneController = [[ESC_ActivityPaneController alloc] initWithNibName: @“ESC_ActivitySideBox" bundle: nil]; [superV addSubview: activityPaneController

Why does default NSDateFormatter in IB ignore thousands separator?

2016-11-02 Thread Sean McBride
Hi all, If I drag a default NSNumberFormatter from IB's 'object library' into my xib and wire it to an NSTextField my numbers don't display the thousands separator. The "localize format" checkbox is checked by default; the tooltip for that checkbox says thousands separators should be applied.

Is NSCollectionView size not controllable in 10.10?

2016-11-02 Thread Steve Mills
No matter what I've tried when building and running under 10.10, I can't get an NSCollectionView that's in an NSScrollView to be wider than the scroll view. I want it to be laid out with a specific number of columns, and all those columns a specific width (all the same). But it keeps reflowing

NSCollectionView isn't playing nicely with selection binding

2016-11-02 Thread Steve Mills
So NSCollectionView can bind its selectionIndexes, so I've bound that to an array controller that's shared with an NSTableView. Only one of the two are ever shown at the same time, but many things depend on the array controller's selectionIndexes. The trouble is, changes to the collection view's

How to ResolvingSymlinksInPath ?

2016-11-02 Thread Gerriet M. Denkmann
I want to remove all symlinks from a path. stringByResolvingSymlinksInPath does NOT do this (e.g. it does not change: /tmp to: /private/tmp). Currently I am using: int fd = open( filename, O_EVTONLY ); fcntl( fd, F_GETPATH, buffer ); close(fd); Is there something better or more suitable? macOS