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

NSTableView Questions


  • Subject: NSTableView Questions
  • From: "Carmen Cerino Jr." <email@hidden>
  • Date: Mon, 27 Oct 2008 13:54:13 -0400

Howdy,

My goal is to create an upload dialog. Like most upload/download dialogs, I
am going to use a table view to display my information. Eventually I will
need to create my own custom NSCell in order to represent an item being
uploaded, so I can  represent multiple pieces of information in one cell. I
am currently having difficulty getting my NSTableView setup in order to
accept this custom NSCell. I first tried doing the usual, and adding an
NSTableView in IB. I can't seem to figure out how to make IB recognize my
custom NSCell class so it appears in the drop down list for the cell in my
table's column. Next I tried adding an NSTableView to my view in my code. I
was able to successfully set the cell for my table's column to my custom
cell, but I was not able to figure out how to go about getting the TableView
to size properly. In other words, I would set my the ScrollView that
enclosed the TableView to be 400x400, but the TableView would size to fit
the data instead of matching the size of its container. I thought setting
the TableView's size to match that of the ScrollView would fix the problem,
but for some reason it doesn't.


Any advice on the best approach for designing this project would be greatly
appreciated.


Carmen C. Cerino Jr.
_______________________________________________

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: NSTableView Questions
      • From: Corbin Dunn <email@hidden>
  • Prev by Date: Overridding -[NSPersistentDocument managedObjectContext]
  • Next by Date: Re: NSTableView Questions
  • Previous by thread: Re: Overridding -[NSPersistentDocument managedObjectContext]
  • Next by thread: Re: NSTableView Questions
  • Index(es):
    • Date
    • Thread