• 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
New to Cocoa, needs help understanding various topics (delegates, connections in Interface Builder, ect...)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

New to Cocoa, needs help understanding various topics (delegates, connections in Interface Builder, ect...)


  • Subject: New to Cocoa, needs help understanding various topics (delegates, connections in Interface Builder, ect...)
  • From: Jedd Haberstro <email@hidden>
  • Date: Mon, 1 Jan 2007 19:20:48 -0800 (PST)

Hello, I'm rather new to Cocoa, and I'm quite confused
to how Cocoa executes everything. I was recently
trying to create a small window that resizes in the
proportion of (height = width*2). I know that I should
use the - (void)setAspectRatio:(NSSize)ratio function.
My problem is that I don't understand how I would
setup a class to handle this, and if I should setup a
IBOutlet and create an action in Interface Builder, or
if I should create a delegate (and if so, I don't know
how either), or both...

If someone could describe Interface Builder, as that
is what makes me wonder the most, and how it relates
into code, then roughly provide how my above problem
shoul be done, that would be great!

Thanks,
Jedd

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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

  • Prev by Date: Re: Way to determine size of a menu?
  • Next by Date: Re: Problem with WebKit Download Delegate
  • Previous by thread: Re: Way to determine size of a menu?
  • Next by thread: While setting the volume of a QuickTimeFile the sound gets distorted
  • Index(es):
    • Date
    • Thread