Cocoa Tip: Interface Autosizing

In this tip: How to make sure your interface elements move along with the window when you resize it.

The sample code for this week and Hot Cocoa Episode 5 are now available. Click here to download.

Hot Cocoa Tip 2 – Portable / iPod: Download
Hot Cocoa Tip 2 – HD: Download

Have something you’d like to see a tip on? Post your suggestion as a comment here or on the forums at http://hotcocoa.lastedit.com/forums/
Follow me on twitter: http://twitter.com/darkfox8963

3 Responses

  1. Christian Says:

    Hi. I’m really enjoying your tutorials. I downloaded your example project for this post, and while I can resize the window in Interface Builder, when the application runs, I can not. I’m sure the solution is easy, but I am unable to find it. Can you please steer me in the proper direction?

  2. Kevin Says:

    Ah, that was the result of a section that I was going to put in the tip but I didn’t think worked. Apparently it did though. xD You can enable/disable the ability to resize by going into Interface Builder, clicking on the titlebar of the window and under the attributes tab of the inspector window check/uncheck where it says “Resize”

  3. Christian Says:

    Gosh. So simple when you know where to look! Thanks!

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.