• 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
Interface builder and NSTableView(in Leopard, XCode 3.0)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Interface builder and NSTableView(in Leopard, XCode 3.0)


  • Subject: Interface builder and NSTableView(in Leopard, XCode 3.0)
  • From: "Michael Miller" <email@hidden>
  • Date: Sat, 27 Oct 2007 12:57:28 -0400

Thus far, I'm a bit (to say the least) confused by Interface Builder 3.0. I do like a lot about it- the popup menus when control-connecting items is very nice; but I am perplexed about a number of features. For example, when I define a class, why must I write a new file, THEN manually import it into XCode. Why can't interface builder tell XCode to add the file? I get the feeling I'm missing something in this area; if I recall, this was much easier with XCode 2.4. Can someone please tell me: Is there an easy way to define a new class in Interface Builder 3.0(from an NSObject), make outlets/actions, generate the files, and add them to XCode, all from Interface Builder?

My second question deals with the NSTableView. Right now, I have a preference pane with an NSTableView, a plus button, and a minus button. I want the plus button to make an empty row(i.e. with no data in it), the minus button to take away selected row(s), and I want the fields to be user-editable. Furthermore, I want this table to be bound to the system defaults, as it is in the preferences section of my program. I also want access to the data in the "main" window of my program to populate a drop-down list with the first column of the NSTableView. Here, too, I feel like I am missing something. Do I bind the entire table to system defaults? If so, do I need a value transformer? How would I go about adding/deleting rows? Do I need an array controller? If so, how would I go about implementing this?

I apologize if these are obvious questions(I am fairly new to Cocoa/Objective-C), and I would appreciate any insight into how to solve the above problems.

Thanks,
Mike
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Output to the XCode 3.0 console
  • Next by Date: nibtool -L problem
  • Previous by thread: Re: Output to the XCode 3.0 console
  • Next by thread: nibtool -L problem
  • Index(es):
    • Date
    • Thread