Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

prostuff1

macrumors 65816
Original poster
Jul 29, 2005
1,482
18
Don't step into the kawoosh...
I am doing some work for one of my college classes and I have run into a little snag. I mocked up all of my windows in Interface Builder and it was very simple to do… for the most part. There is no coding for this class, it is purely mockups.

I have quite a few NSTableViews in the mockup. I was wondering, what is the easiest way to get information into the table view. I assumed when i started the mockup that i would be able to do this from IB, similar to how you can for NSComboBox, and NSPopUpButton.
 

Sijmen

macrumors 6502a
Sep 7, 2005
709
1
I'd say that the easiest way is to add it in an image editing application.

Otherwise, use an NSDictionary for the records, put them in an NSMutableArray, and hook it all up with an NSArrayController in Interface Builder.
 

prostuff1

macrumors 65816
Original poster
Jul 29, 2005
1,482
18
Don't step into the kawoosh...
I'd say that the easiest way is to add it in an image editing application.

Otherwise, use an NSDictionary for the records, put them in an NSMutableArray, and hook it all up with an NSArrayController in Interface Builder.

The image editing stuff was what i was figuring on. I was trying to stay away from it if at all possible but i guess it will be Photoshop to the rescue.

It kinda surprises me that you can't type stuff in the text cells of the table view.I can add stuff to a lot of other thing by simply using interface builder but i cannot add anything to a table view.
 

kainjow

Moderator emeritus
Jun 15, 2000
7,958
7
Tables don't hold the data, they only reference it from the controlling object, so you'd need to write some code (very little) in order to display test data.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.