On 5 Oct 2014, at 15:36, Keary Suska wrote:
> I am trying to prevent a quit in a document-based app when data in a document
> is invalid. AFAICT when auto save is turned on none of the normal document
> closing methods are called, and when the app delegate is called,
> NSDocumentController sh
On Oct 5, 2014, at 7:36 AM, Keary Suska wrote:
>
> I am trying to prevent a quit in a document-based app when data in a document
> is invalid. AFAICT when auto save is turned on none of the normal document
> closing methods are called, and when the app delegate is called,
> NSDocumentControlle
I am trying to prevent a quit in a document-based app when data in a document
is invalid. AFAICT when auto save is turned on none of the normal document
closing methods are called, and when the app delegate is called,
NSDocumentController shows no existing documents. It might also have to do wit
On Oct 4, 2014, at 8:49 PM, Charles Jenkins wrote:
> Keary, I see you’re right: NSTableViewDelegate’s tableView:heightOfRow: will
> be key if my stack of editors appears in a table view. I’ve been struggling
> all day to get a test program to call my delegate’s functions. I must say,
> the tab
Hi,
I'm learning a bit about Cocoa Desktop development and I'd like to create a
Document based app with a SQLite backing store.
First of all, the wizard/template does this just fine for me --- but the
resulting class, XIB and sqlite store are all called Document.
I'd like to change that name ...
On 4 Oct 2014, at 02:06, Charles Jenkins wrote:
> Okay, here’s a dumb question… How do you make a stack view actually stack
> things? When I add subviews into a stack view, instead of appearing one after
> another as I expect, they’re all laid on top of one another.
>
>
> self.theStack.alig
Well naturally, two minutes after posting this question, I finally found
Apple’s TextSizingExample. I’m going to try implementing what I learned from
that, then I’ll ask my question again if that’s not enough to help me cross the
finish line.
—
Charles Jenkins
On Sunday, October 5, 2014 a
I put an important question in a post with too much other information, so I’m
not surprised nobody answered it.
I need a text editor control that will size itself vertically to contain text
as the user types or pastes it in. That means:
The text container must size itself vertically to fit th