Re: Issue with NSTokenFieldCell in NSTableView and bindings..

2015-11-13 Thread Jerry Krinock
> On 2015 Nov 11, at 19:36, Samuel Williams > wrote: > > I'm trying to do something which in theory is rather simple: Use a > NSTokenFieldCell in a NSTableView and bind the table column value to the > token field. > > 1/ The binding doesn't seem to propagate the value back to the model. Known

how to change the name of my variable in main.storyboard to BrowseAirports? This is what I want to call in the code when I type the code to connect to my web view?

2015-11-13 Thread Scott Berry
Hello there, I want to call my web view BrowseAirports in storyboard so that I can refer to this in my code telling the webView what to do?? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: Customising NSFontManager

2015-11-13 Thread Graham Cox
Thanks- main() is the only place that works. I tried run() and even init() of the application, but even they were too late. It does prove my working theory - that NSTextView is accessing NSFontManager directly rather than using the sender passed to -changeFont:, even though Apple’s docs tell th

Images in NSOutlineView disappear on dataReload

2015-11-13 Thread Nick
Hello I've encountered a strange behavior in a source list NSOutlineView. Basically, whenever I call "reloadData", an image, that was set for a currently selected row (NSTableCellView's imageview.image), disappears (I set image in outlineView:viewForTableColumn:item:). When I select the row, the im

Re: Identify image file count in directory

2015-11-13 Thread Gary L. Wade
Try going down a level to the BSD layer APIs for directory contents traversal. -- Gary L. Wade (Sent from my iPad) http://www.garywade.com/ > On Nov 13, 2015, at 8:28 AM, Jonathan Taylor > wrote: > > Hi all, > > I want to be able to identify quickly (programatically) how many image files > re

Identify image file count in directory

2015-11-13 Thread Jonathan Taylor
Hi all, I want to be able to identify quickly (programatically) how many image files reside in a particular directory. At present I call: [NSFileManager defaultManager] contentsOfDirectoryAtPath:dir error:nil]; and then examine the type suffixes (which in comparison is very quick). When lookin

Re: Voiceover support

2015-11-13 Thread Glenn L. Austin
> On Nov 13, 2015, at 5:09 AM, Daniel Phillips wrote: > > I work at Trainline on their iOS app. We had some customer feedback recently > and unfortunately someone booked a ticket for the wrong date because we > botched our voiceover support! > Safe to say our app as it stands is using accessib

Voiceover support

2015-11-13 Thread Daniel Phillips
I work at Trainline on their iOS app. We had some customer feedback recently and unfortunately someone booked a ticket for the wrong date because we botched our voiceover support! Safe to say our app as it stands is using accessibility solely for UI Testing purposes and any voiceover functional

Full Screen and weird grey bar

2015-11-13 Thread Andreas Mayer
Hello, I just implemented fullscreen behavior for one of my applications. Moving the mouse to the top of the screen will show the menu bar with the window's title bar below, just like expected. But then the title bar is immediately overlaid by a blank grey bar: http://harmless.de/images/other/

Re: Yet another autolayout question

2015-11-13 Thread Dragan Milić
On pet 13.11.2015., at 11.00, Ken Thomases wrote: > Hmm. Oh well. > > Your screencast of the failing case shows that you have some additional views > (boxes, it looks like) in the hierarchy, and you haven't explained fully the > constraints involved. Just to put some light onto this… I’ve jus

Re: Yet another autolayout question

2015-11-13 Thread Dragan Milić
On pet 13.11.2015., at 11.00, Ken Thomases wrote: > Your screencast of the failing case shows that you have some additional views > (boxes, it looks like) in the hierarchy, and you haven't explained fully the > constraints involved. I put those boxes just to give me some visual indication of ho

Re: Yet another autolayout question

2015-11-13 Thread Ken Thomases
On Nov 13, 2015, at 3:43 AM, Dragan Milić wrote: > > Thanks for the suggestion, but unfortunately that didn’t help :-( Hmm. Oh well. Your screencast of the failing case shows that you have some additional views (boxes, it looks like) in the hierarchy, and you haven't explained fully the cons

Re: Yet another autolayout question

2015-11-13 Thread Dragan Milić
On pet 13.11.2015., at 05.18, Ken Thomases wrote: > Try, as an experiment, leaving out the aspect ratio constraint. If that > changes the split view behavior, try putting it back but at a priority lower > than the split view holding priorities. > > I suspect the problem is that, as the video p