Re: Changing control layouts
Re: Changing control layouts
- Subject: Re: Changing control layouts
- From: Guy English <email@hidden>
- Date: Thu, 17 Feb 2005 14:00:10 -0500
On Thu, 17 Feb 2005 09:31:33 -0800, Mark Dawson <email@hidden> wrote:
> As for bindings, my app is currently targeted at 10.2 and above, so I
> think bindings are out for now. However, with Tiger on the horizon,
> and my app not released, it may make sense to up to 10.3 (i.e., only
> support the last two major OS versions).
Panther adds a lot of really nice features. Tiger is a total blow out
- so much so that it's worth re-factoring / re-writing large chunks of
your app to take advantage of. It would depend on how far along your
development is. If you've got a lot of work targetted at 10.2 I'd just
keep on the path you're going on. Once you get Tiger in hand you can
look at how you'd like to rearrange things. If you're doing a graphics
app there are tons of things in Tiger that may appeal to you. On the
other hand if you're just starting development and your target market
could be expected to have Tiger it's really worth taking a close look
at.
[stacked views loaded from Nibs in an inspector window]
> That's kind of what I was looking for. However, how does one create a
> NIB in IB without a window? I see I can create "Application", "empty",
> "Attention panel", "Inspector", and "IB Palette" from a "New…". I
> could create an "empty" NIB, but I'm not sure what I first drag in to
> create the view that contains that NIB's information (do I use the
> "custom view"?)…
Make an empty Nib file and drag the Custom View into the Instances
pane. You can double click the Custom View and place objects on it
just as you would a window. Before we could do this the solution was
to make a window then just grab it's content view and swap that in
instead. Either method works fine - if you've aleady made a bunch of
Nibs using windows it's not a big deal.
> > I'm not really clean on the nature of your objects. If the you've got
> > properties that don't group well (unlike x,y,width,height or color,
> > font, point size, shadow, etc ) then you're dealing with a pretty fine
> > grained problem. In that case I'd really suggest you use bindings
> > 'cause they'll save you a ton of work. Despite a bit of a leap in the
> > learning curve because they seem so abstract at first there are some
> > good resources available and Mmalc is all over any question you ask.
> I have some that group (x, y, width, etc) and some that don't (length,
> which is separate than width). I'll take a look at the bindings,
> though…
Bindings will bail if you have multiple values but if all the objects
selected have the same length, for example, you'll be able to use the
slider to change them all at once. I believe - I haven't tried it and
someone with more experience with them will be able to offer better
guidance with this.
Good luck!
Guy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden