On Feb 16, 2011, at 3:56 PM, Bruce Cresanta wrote: > 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?
You can set the number of columns in the table view in IB's table view inspector. If you're clicking on the table view and seeing the inspector for a scroll view instead, try clicking again. Table views are normally enclosed inside a scroll view. > NSButton can be set up to perform a selector in IB on click. How do > you set Target/Action for a button in code? Did you see the -setTarget: and -setAction: methods in the headers or documentation? Nick Zitzmann <http://www.chronosnet.com/> _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com