site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=IDTQl6/ha4NzRoFndxSdBGQQAAAGRXVD6u+3/5xVaoulD0X/uA+GsXBOqljFYoQTVLJe8un0xL88vwwYm4gvty+3/Zj7EapAdwHg2sURnc1zLceFLzEEf9oWMXtcsLeGt31MOB3b1y1C17J/JGgWBFikhUjLmGO+uTYXTEKrbd8= ; 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/site_archiver%40lists.apple... This email sent to site_archiver@lists.apple.com