On Oct 26, 2012, at 6:52 AM, Mike Abdullah wrote:
>> Yes. I saw that in your previous post. But I asked both AppKiDo and Xcode
>> and nobody showed me any documentation about this accessor.
>> So I am wary of using undocumented stuff.
>
> It's actually a method on NSWindowController.
My apolo
On 26 Oct 2012, at 10:55, "Gerriet M. Denkmann" wrote:
>
> On 26 Oct 2012, at 16:11, Kyle Sluder wrote:
>
>> On Oct 26, 2012, at 1:52 AM, "Gerriet M. Denkmann"
>> wrote:
>>
>>>
>>> On 26 Oct 2012, at 01:11, Seth Willits wrote:
>>>
On Oct 25, 2012, at 4:36 AM, Gerriet M. Denkmann wr
On 26 Oct 2012, at 16:11, Kyle Sluder wrote:
> On Oct 26, 2012, at 1:52 AM, "Gerriet M. Denkmann"
> wrote:
>
>>
>> On 26 Oct 2012, at 01:11, Seth Willits wrote:
>>
>>> On Oct 25, 2012, at 4:36 AM, Gerriet M. Denkmann wrote:
>>>
This works, but I have a strong feeling that there is a
On Oct 26, 2012, at 1:52 AM, "Gerriet M. Denkmann" wrote:
>
> On 26 Oct 2012, at 01:11, Seth Willits wrote:
>
>> On Oct 25, 2012, at 4:36 AM, Gerriet M. Denkmann wrote:
>>
>>> This works, but I have a strong feeling that there is a very obvious better
>>> solution which I somehow cannot see.
On 26 Oct 2012, at 01:11, Seth Willits wrote:
> On Oct 25, 2012, at 4:36 AM, Gerriet M. Denkmann wrote:
>
>> This works, but I have a strong feeling that there is a very obvious better
>> solution which I somehow cannot see.
>
>
> There actually isn't an obvious solution.
Strange.
I though
On Oct 25, 2012, at 3:24 PM, Kyle Sluder wrote:
> On Thu, Oct 25, 2012, at 09:42 AM, Seth Willits wrote:
>>
>> But, if you just use the -object in the notification to
>> windowDidBecomeMain: you're fine. So if you keep a reference to that
>> window/document yourself and return it from your own cu
On Thu, Oct 25, 2012, at 09:42 AM, Seth Willits wrote:
>
> But, if you just use the -object in the notification to
> windowDidBecomeMain: you're fine. So if you keep a reference to that
> window/document yourself and return it from your own currentDocument
> that'd work. You also need to watch win
On Oct 25, 2012, at 4:36 AM, Gerriet M. Denkmann wrote:
> This works, but I have a strong feeling that there is a very obvious better
> solution which I somehow cannot see.
There actually isn't an obvious solution.
-[NSDocumentController currentDocument] isn't KVOable (which is a bummer), but
I have a Panel which has a PopUpButton which has it's Content Values bound to
an ArrayController.
The ArrayController has it's Content Array bound to File's Owner:
currentDocument.listOfThings.
The File's Owner (aka) Application Delegate:
@property (readonly) DocumentSubclass *currentDocument;