• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSArrayController bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSArrayController bindings


  • Subject: Re: NSArrayController bindings
  • From: Alex Clarke <email@hidden>
  • Date: Sun, 25 Jul 2004 12:39:31 +1000
  • Organization: PowerMax Computers

See:

http://www.cocoadevcentral.com/articles/000080.php

Which is a demo of pretty much exactly what you are looking for.

Cheers,

Alex


On Thu, 22 Jul 2004 12:08:31 -0600, Philip Riggs wrote:
> I'm experimenting to understand the NSArrayContoller class. I
> understand how to get the NSArrayController and its bindings in IB.
> But I don't understand how to do the following.
>
> If I have an NSTableView outlet in a window and a controller object such as:
>
> NSArrayController* database1;
> NSArrayController* database2;
> IBOutlet NSButton* toggleDatabases;
>
> How do I set up the controller to bind database1 or database2 to the
> tableview, depending on the database the user chooses?
>
> Thanks
> Philip Riggs
> _______________________________________________
> cocoa-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.
---- ----- ---- ----- ---- ----- ---- ----- ---- -----

Alex Clarke
Designer | Technician

PowerMax Computers | Lismore
Apple Certified Desktop Technician
ABN: 73 817 650 349

16 Allen St Lismore NSW 2480 Australia

Ph: 0266 224 996
M: 0413119455

email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >NSArrayController bindings (From: Philip Riggs <email@hidden>)

  • Prev by Date: RE:Horizontal scrolling text window problem.
  • Next by Date: Re: Problems with performSelector:withObject:afterDelay:
  • Previous by thread: Re: NSArrayController bindings
  • Next by thread: NSData being retained?
  • Index(es):
    • Date
    • Thread