Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password

Mac > Mac Programmer Help > Re: Newbie: IB ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 8 of 14 Topic 3668 of 3849
Post > Topic >>

Re: Newbie: IB bindings versus programmatic bindings

by Jens Vesterdahl <j_e_n_s_@[EMAIL PROTECTED] > Mar 20, 2008 at 11:54 PM

In article <fru30r$pg9$1@[EMAIL PROTECTED]
>,
 Dave Seaman <dseaman@[EMAIL PROTECTED]
> wrote:

> >> > I want to bind values in my custom view to an existing and well 
> >> > functioning array controller. This controller exists in IB only, so
how 
> >> > do I bind to its instance? Should I bind to its class? That doesn't

> >> > sound right.
> >> 
> >> You create an outlet and connect it to the array controller in IB.
> 
> > Mmmm ... yes, but is that enough? On the bindings tab in IB, my custom

> > view still only has two bindings: "Availability/Hidden" and 
> > "Parameters/Tool Tip".
> 
> You asked for a way to bind to an instance of NSArrayController instead
> of a class.  That's the question I answered.  You still need to set up
> the actual bindings, but you now have something to bind to.

Ok, I got it now, I think. Now I can bind to the NSArrayController, but 
setting up the bindings don't work. The bind methods seem to have too 
little information about the array controller.

It looks more and more like I need to subclass the NSArrayController, 
which I have suspected for some time. Later on I will need more than 
just the abstract class.

Thanks.

Jens
 



 14 Posts in Topic:
Newbie: IB bindings versus programmatic bindings
Jens Vesterdahl <j_e_n  2008-03-20 02:26:36 
Re: Newbie: IB bindings versus programmatic bindings
noreply@[EMAIL PROTECTED]  2008-03-20 10:47:09 
Re: Newbie: IB bindings versus programmatic bindings
Jens Vesterdahl <j_e_n  2008-03-20 14:53:09 
Re: Newbie: IB bindings versus programmatic bindings
Jens Vesterdahl <j_e_n  2008-03-20 15:22:15 
Re: Newbie: IB bindings versus programmatic bindings
Dave Seaman <dseaman@[  2008-03-20 15:11:15 
Re: Newbie: IB bindings versus programmatic bindings
Jens Vesterdahl <j_e_n  2008-03-20 17:00:03 
Re: Newbie: IB bindings versus programmatic bindings
Dave Seaman <dseaman@[  2008-03-20 16:22:51 
Re: Newbie: IB bindings versus programmatic bindings
Jens Vesterdahl <j_e_n  2008-03-20 23:54:59 
Re: Newbie: IB bindings versus programmatic bindings
Dave Seaman <dseaman@[  2008-03-20 23:15:23 
Re: Newbie: IB bindings versus programmatic bindings
Jens Vesterdahl <j_e_n  2008-03-21 01:15:57 
Re: Newbie: IB bindings versus programmatic bindings
noreply@[EMAIL PROTECTED]  2008-03-20 21:17:29 
Re: Newbie: IB bindings versus programmatic bindings
Jens Vesterdahl <j_e_n  2008-03-21 00:20:39 
Re: Newbie: IB bindings versus programmatic bindings
Dave Seaman <dseaman@[  2008-03-21 01:24:54 
Re: Newbie: IB bindings versus programmatic bindings
John C. Randolph <jcr.  2008-03-24 03:51:13 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Oct 7 19:11:35 CDT 2008.