Re: Core Data Model Editor without Core Data

2015-03-20 Thread Roland King
> On 20 Mar 2015, at 22:25, Jerry Krinock wrote: > > I’m rewriting a large old C++ (PowerPlant!) project to Cocoa, and am thinking > that I’m probably not going to use Core Data because of its uncertain future > (I think Apple has been neglecting it lately, its incompatibility with newer > id

Re: Scrolling Text Field Class for Logging?

2015-03-20 Thread Jerry Krinock
On 2015 Mar 20, at 14:24, Dave wrote: > how do you check the Scroll Position for being at the end? I would try comparing NSMaxY([[myScrollView documentView] visibleRect]) with NSMaxY([[myScrollView documentView] frame]) If that doesn’t work, try NSMinY instead. In simple cases, it’s us

Re: Scrolling Text Field Class for Logging?

2015-03-20 Thread Dave
> On 18 Mar 2015, at 18:00, Jens Alfke wrote: > > >> On Mar 18, 2015, at 10:34 AM, Dave > > wrote: >> >> Is there a Class/Subclass available to do this or do I need to write my own? > > You need to write your own, but it’s not hard. Just check the scroll positi

Swapping views in print panel

2015-03-20 Thread Steve Mills
My documents have 2 main view modes, thumbnails and details, which use subclasses of IKImageBrowserView and NSTableView respectively. For printing, I need to create a new print-only thumbnail view because IKImageBrowserView wasn't written in a way that can print, plus I need to rejigger its fram

Core Data Model Editor without Core Data

2015-03-20 Thread Jerry Krinock
I’m rewriting a large old C++ (PowerPlant!) project to Cocoa, and am thinking that I’m probably not going to use Core Data because of its uncertain future (I think Apple has been neglecting it lately, its incompatibility with newer ideas such as asynchronous saving, etc.), and the fact this app

Re: Runtime message on Yosemite seems spurious?

2015-03-20 Thread Uli Kusterer
On 19 Mar 2015, at 22:29, Graham Cox wrote: > I'm not subclassing NSScrollView and none of these apps use autolayout as > such - they use the legacy struts-and-springs though I understand they are > translated to autolayout in the modern OS. Can I safely ignore this, as it > seems ot be a spuri

Re: windowDidLoad not getting called

2015-03-20 Thread Bill Cheeseman
> On Mar 20, 2015, at 5:21 AM, Ken Thomases wrote: > > On Mar 20, 2015, at 3:54 AM, Bill Cheeseman > wrote: > >> My launch sequence goes like this: My Info.plist file designates MainMenu as >> the application's principal nib file. My MainMenu nib file names >> N

Re: windowDidLoad not getting called

2015-03-20 Thread Ken Thomases
On Mar 20, 2015, at 3:54 AM, Bill Cheeseman wrote: > My launch sequence goes like this: My Info.plist file designates MainMenu as > the application's principal nib file. My MainMenu nib file names > NSApplication as file's owner, it contains the menu bar and my archived > appDelegate object, a

Re: windowDidLoad not getting called

2015-03-20 Thread Bill Cheeseman
> On Mar 19, 2015, at 5:29 PM, Ken Thomases wrote: > > Marking the window Visible at Launch obviously can't trigger the loading of > the NIB, since it's a setting that's stored in the NIB. Yes, I lost my focus when I said that and incorrectly conflated the loading and the showing of the wind

Re: NSTextField with a NSTableView completion list - suggestions for text field

2015-03-20 Thread Ken Thomases
On Mar 19, 2015, at 6:20 PM, Alex Kac wrote: > I have a few places where I’d like to have essentially an NSTextField with an > auto-complete - but its not a combo-box. The closest I can come up with what > I’m looking for is the Apple Calendar location field where it brings up a > search auto-

NSTextField with a NSTableView completion list - suggestions for text field

2015-03-20 Thread Alex Kac
I have a few places where I’d like to have essentially an NSTextField with an auto-complete - but its not a combo-box. The closest I can come up with what I’m looking for is the Apple Calendar location field where it brings up a search auto-complete. A few things are that it looks like a standar