On Sat, Jul 19, 2008 at 9:44 AM, Cathy Shive <[EMAIL PROTECTED]> wrote:
[> Hamish wrote:]
>> I haven't yet come across a situation in which it would be desirable
>> for an NSTableView and its associated NSArrayController to be in
>> separate nibs. I guess Apple haven't, either ;)
>
> Actually, I w
I haven't yet come across a situation in which it would be desirable
for an NSTableView and its associated NSArrayController to be in
separate nibs. I guess Apple haven't, either ;)
Actually, I would think that it's quite common in apps that use
NSViewController. Imagine a view managed by
On Fri, Jul 18, 2008 at 11:18 PM, Cathy Shive <[EMAIL PROTECTED]> wrote:
> I wonder if it would actually make a difference in this case. Since the nib
> doesn't get loaded until the 'load view' method is called
Nor it does.
> and she's setting
> the rO directly after the initializer (before req
Hi Ivy,
Can you tell us what the bound object the table receives is? If you
could call this method (which, in its current state, would go in an
NSTableView subclass) somewhere:
- (NSArrayController *)arrayController;
{
return [[[self tableColumnWithIdentifier:@"myColumn"]
infoForBinding
On Jul 17, 2008, at 10:26 PM, Hamish Allan wrote:
You might wish to file an enhancement request for NSViewController to
provide an init method taking a representedObject to be set up before
attempting bindings etc., which would circumvent this issue.
I wonder if it would actually make a diffe
Hi Ivy,
You can bind the representedObject in NIB, I do it all the time. My
rO is an NSPersistentDocument subclass, which is set immediately after
the view controller is -init-ed. The bindings in the nib are only set
up after -loadView is called, which occurs after something in your app
On Thu, Jul 17, 2008 at 8:50 PM, Ron Lue-Sang <[EMAIL PROTECTED]> wrote:
> The tableview is expecting to be bound to the arraycontroller directly. It
> doesn't know that representedObject is an arrayController.
You might wish to file an enhancement request for NSViewController to
provide an init
ject
(not ObjectController or arrayController).
Ivy Feraco
UI Developer
Message: 6
Date: Thu, 17 Jul 2008 12:26:18 -0400
From: "Sean McBride" <[EMAIL PROTECTED]>
Subject: Re: NSViewController Binding Problem continued
To: "Ivy Feraco" <[EMAIL PROTECTED]>,
Message-ID: &l
On Jul 17, 2008, at 8:53 AM, Ivy Feraco <[EMAIL PROTECTED]> wrote:
There was a previous post back in April about a problem with binding
to the representedObject in NSViewController.
When instantiating the view controller, I set the represented object
to an NSArrayController.
vc = [[MyVi
On 7/17/08 11:53 AM, Ivy Feraco said:
>There was a previous post back in April about a problem with binding
>to the representedObject in NSViewController.
I missed that, but I am having problems binding via NSViewController's
representedObject too.
>When instantiating the view controller, I set
There was a previous post back in April about a problem with binding
to the representedObject in NSViewController.
When instantiating the view controller, I set the represented object
to an NSArrayController.
vc = [[MyViewController alloc] initWithNibName:@"newView" bundle:nil];
[vc setRepr
11 matches
Mail list logo