New to Cocoa, needs help understanding various topics (delegates, connections in Interface Builder, ect...)
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