Re: Animated toolbar
Re: Animated toolbar
- Subject: Re: Animated toolbar
- From: Christian Graus <email@hidden>
- Date: Sat, 7 Feb 2009 13:32:51 +1100
On Sat, Feb 7, 2009 at 1:11 PM, Kyle Sluder <email@hidden> wrote:
> On Fri, Feb 6, 2009 at 4:43 PM, Christian Graus
> <email@hidden> wrote:
> > In my app, I want a toolbar like the one at the bottom of OSX, with icons
> > that resize as I move the mouse over them.
>
> The user interface element you're referring to is called the Dock.
OK - thanks. That will help my googling enormously.
>
>
> > I want the whole toolbar to hide
> > and to scroll up into view from the bottom of my window when I move my
> mouse
> > over the little edge that would be always visible.
>
> This is a great way to frustrate users, unless your window is
> fullscreen. Fitts's Law is the principle by which the Dock gets away
> with auto-hiding: since the mouse stops at the edge of the screen, the
> area which activates the auto-hiding feature is effectively infinite
> in area. Your window doesn't have that luxury unless it's fullscreen.
>
We prefer users to use our app full screen. we're copying our Windows
program, so we really don't have a lot of room to rethink this stuff, and
what we've done so far, was a success in the windows world. I am trying to
make sure we move from windows centric UI to Mac centric UI where
appropriate, but in this case, I am pretty sure my boss isn't going to
budge.
>
> > I've been googling for
> > an example of a list of buttons that resize as the mouse moves over them
> and
> > also trying to work out what I should use as my base and how to add it to
> > the xib.
>
> The typical approach to developing a feature like this is not Google
> -- it's understanding the framework. If your first resort is asking
> Google "how do I do Complicated Thing X" and, after failing to find an
> answer, turn around and ask a mailing list the same question, you
> don't understand what you're trying to accomplish.
>
Well, perhaps. But, what I understand is that I have a boss who expects me
to write Objective C code as fast as I write C# code, and yes, at this
point, I really don't understand the best way to create what I need to,
that's why I was asking. I also find google to be the best way of finding
documentation, although I have many books, google usually works better.
I've been in Interface Builder, and I have been unable to even work out how
to add a child window that I can animate in the manner I am hoping for, and
I am certainly concerned that if I start off with the wrong thing, I will do
work that I end up having to scrap. I have 24 hours in which to add this
toolbar, and get some other work done, too. I've purchased a number of
books, and I've been looking at them, my core assumption here is that if I
had a reasonable amount of time to immerse myself in the framework, I could
work all this out. As it stands, I have time pressure, little experience,
and I am looking for shortcuts that I have no doubt I will go back and
improve upon when I have the time.
>
> > I appreciate any suggestions, this is all new ground for me. I
> > have the Hillegass book, I'm going to dig into that, I am hoping it will
> at
> > least tell me how to add the child window, but I am pretty sure it
> doesn't
> > cover the sizing stuff.
>
> And here we have reached the root of the problem. You have bitten off
> far more than you can chew. You've got an Everest-sized problem and
> are looking for step-by-step instructions on leveling it.
>
Yes, that's true - I know it to be true. Sadly, I am not in a position to
do anything about the time pressures on me, in fact, I had allocated more
time to work on this, this week, and instead was pulled into work on our
Windows version which has left me even more time poor. I guess it's hard
for you to discern if I am in need of help b/c of an unrealistic deadline,
or if I'm asking such broad questions because I can't be bothered trying to
work stuff out for myself. Hell, you may not even care which of those is
true. However, while it's not my desire to alienate the list, or to give a
bad impression of myself, I have no control over the time pressures that
have been delivered to me, so I really have no choice right now but to
attack the problem in the manner that I have been.
And I was not looking for step by step instructions, I was really hoping
that somewhere there was a sample I could read to see how to get the
animation right, and perhaps some instructions on how to add an animated
child window ( both of which seem to me the sort of thing I'd expect to find
articles on, online ). Perhaps I've been spoiled by sites like
CodeProject.com, I've not found anything analogous in the Mac world, so far.
Christian
>
> --Kyle Sluder
>
_______________________________________________
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