• 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
Two Newbie Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Two Newbie Questions


  • Subject: Two Newbie Questions
  • From: Bruce Cresanta <email@hidden>
  • Date: Wed, 16 Feb 2011 15:56:42 -0700

Hello,

	I have two newbie questions.


I have an NSTableView set up to a datasource of a single array.   When I run my code, I get two columns (the default in IB) instead of just one with the data duplicated in each column.    I only want one column, how best to achieve this?

Secondly,

	NSButton can be set up to perform a selector in IB on click.    How do you set Target/Action for a button in code?

Thanks,

Bruce
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Two Newbie Questions
      • From: Nick Zitzmann <email@hidden>
    • Re: Two Newbie Questions
      • From: Sherm Pendley <email@hidden>
  • Prev by Date: Re: Receiving global window events?
  • Next by Date: Re: Two Newbie Questions
  • Previous by thread: Re: Question about split view
  • Next by thread: Re: Two Newbie Questions
  • Index(es):
    • Date
    • Thread