Interface Builder Questions...
Interface Builder Questions...
- Subject: Interface Builder Questions...
- From: Phil Hystad <email@hidden>
- Date: Sun, 28 Jun 2009 12:59:54 -0700
I am new to Interface Builder and I am still trying to figure out some
subtle details of how things work. And, my frustration level is
growing because although I have access to a very rich set of
documentation, a number of questions I have pondered are not
answered. Some of these may be rather silly but remember I am very
new to Cocoa and Interface Builder.
(1) The default Cocoa Application created by Xcode creates a simple
application with a single window and a default menu (among other
things I presume). This window has a content view which I am assuming
is an instance of NSView but I actually can't find out if that is
true. Therefore, are there any inspectors that tell me the actual
class used for a particular view. The class identity part of the
Inspector for the content view suggests has a drop down that allows me
to choose various classes but there must be a specific class that is
used already. How do I find this?
(2) I am trying to understand how the window sizing features of the
view inspector relate to the window itself. As best as I can tell,
none of the actual window sizing features for the content view are
usable as they do not really seem to do anything. Is this true? Is
it possibly the case that the content view, being bound to the window
frame, is sized automatically based on the window size?
(3) Again, on the window sizing inspector, if I resize the window
using the resize thingy in the lower right hand corner, I can see the
updated pixel size in the inspector, but only after I stop resizing.
If I want to resize to a particular dimension, say 300 x 225 (or,
whatever), it is a try this, check, try that check, and so on. Is
there a way to enable the size values of height and width to resize
dynamically as I change the window size? I have looked all over the
documentation and tried a lot of things but nothing seems to make the
behavior different.
(4) And, finally, on the window sizing inspector, in the part called
"autosizing" when I click on the content view (remember, it is empty,
just as created by Xcode), there is an animated image that expands and
contracts in size and I have absolutely no idea why it is animated or
what it means. Any help?
Thanks,
InterfaceBuilder newbie phil
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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