• 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
Re: Interface Builder question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Interface Builder question


  • Subject: Re: Interface Builder question
  • From: Terry Simons <email@hidden>
  • Date: Mon, 29 Jul 2002 21:03:34 -0600

I don't think I really gave enough explanation here...

What I was really curious about, is not the connections per se, but actually the GUI.

The fact that when you click on button "X" which is defined in your NIB file, it calls function "abc" in your code.

I guess the part I'm confused about is that you define your objects in IB.

In Java, for instance, you actually have to say... "I want a button named 'Button' and I want it put here in such and such panel, and I want it to call such and such method."

In IB, I'm defining my buttons, and making a connection that tells the button to call function xyz, but I'm not seeing any of the code for the GUI.

This is very cool, in that I don't have to worry about it, but at the same time, I'm a little bit confused about how the various pieces interact...

It's becoming more clear as I play with things though.

I guess what I really meant to say was...

Is IB required to build an application with Cocoa?

Do I *have* to set my windows up in IB? Can I programmatically define a window, and manually add buttons to it?

Thanks,

- Terry

On Monday, July 29, 2002, at 08:25 PM, Terry Simons wrote:

<snip>

So what are you trying to do?

Right now, I'm trying to figure out how IB fits into Cocoa-based apps.

I'm totally new to the GUI paradigm, but I've done quite a bit of C/C++ stuff, as well as quite a bit of Java, which seems a bit simpler, in that I set everything up myself.

IB seems hazy, and I'd like to understand it better.

Thanks for your reply.

- Terry
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

If I was a chicken, what flavor would I be?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Interface Builder question
      • From: Ondra Cada <email@hidden>
    • Re: Interface Builder question
      • From: Chris Hanson <email@hidden>
    • Re: Interface Builder question
      • From: Shawn Erickson <email@hidden>
References: 
 >Re: Interface Builder question (From: Terry Simons <email@hidden>)

  • Prev by Date: Re: PostgreSQL Framework?
  • Next by Date: generate skeleton
  • Previous by thread: Re: Interface Builder question
  • Next by thread: Re: Interface Builder question
  • Index(es):
    • Date
    • Thread