• 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
Connecting lots of fields
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Connecting lots of fields


  • Subject: Connecting lots of fields
  • From: Björn Carlström <email@hidden>
  • Date: Tue, 2 Dec 2003 23:27:14 +0100

Hi All
A bit of a newbie question maybe. I'm having an object that serves as a datasource for a tableview. The datasource basically contains an array of records. I now want to display detailed information about the selected record in a view using several textfields. This seems like something thats probably been done a zillion times but I can't find an example in any of my books. How do I set it up in IB? Do I have to create an outlet in my dataSource for each of the fields of my record and fill them with the right information each time the user selects a different record, or is there an easier way?

Can I connect all my NSTextFields to my dataSource and have a methiod returning a value depending on which NSTextField called the method?

I believe I'm looking for something with the same simplicity as I have when setting up an NSTableVIew with its different columns?

Any suggestions?

Sincerly
Bjvrn Carlstrvm
_______________________________________________
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.

  • Follow-Ups:
    • Re: Connecting lots of fields
      • From: j o a r <email@hidden>
    • Re: Connecting lots of fields
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Re: Tips on Saving Data?
  • Next by Date: Re: Strange NSStatusItem Bug
  • Previous by thread: Re: Tips on Saving Data?
  • Next by thread: Re: Connecting lots of fields
  • Index(es):
    • Date
    • Thread