Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 08-27-2011, 04:33 AM   #1 (permalink)
Registered Member
 
Join Date: May 2009
Posts: 242
m_kaminsky@yahoo.com is an unknown quantity at this point
Default UITabBar animated sprite

An an animated sprite (at launch) of a Tabbar-based app...
Can anyone provide an example?
m_kaminsky@yahoo.com is offline   Reply With Quote
Old 08-27-2011, 10:50 AM   #2 (permalink)
Cocoa Junkie
 
Duncan C's Avatar
 
Join Date: Dec 2008
Location: Northern Virginia
Posts: 6,003
Duncan C has a spectacular aura about
Default

Quote:
Originally Posted by m_kaminsky@yahoo.com View Post
An an animated sprite (at launch) of a Tabbar-based app...
Can anyone provide an example?


What is an animated sprite of a tabbar-based app?

Can you describe the effect you want in enough detail that we can understand what you're talking about?

I gather that you want some sort of animation at launch, but what kind?

Note that the system displays a single, static image at launch while your app is loading. That image stays on-screen until your code wakes up and removes it. You can't do anything until the app is done loading and your code begins to execute. So any animation you want will have to wait until your code starts running.
__________________
Regards,

Duncan C
WareTo

Check out our apps in the Apple App store


Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.

See this tutorial on using UIView animations and layer animations:

See this thread on generating random, non-repeating text

Check out a very cool Macintosh Kaleidoscopes app called ScopeWorks that we released to the Mac App store.
Duncan C is offline   Reply With Quote
Old 08-27-2011, 06:35 PM   #3 (permalink)
Registered Member
 
Join Date: May 2009
Posts: 242
m_kaminsky@yahoo.com is an unknown quantity at this point
Default

Quote:
Originally Posted by Duncan C View Post
What is an animated sprite of a tabbar-based app?

Can you describe the effect you want in enough detail that we can understand what you're talking about?

I gather that you want some sort of animation at launch, but what kind?

Note that the system displays a single, static image at launch while your app is loading. That image stays on-screen until your code wakes up and removes it. You can't do anything until the app is done loading and your code begins to execute. So any animation you want will have to wait until your code starts running.
I am aware of Default.png..what type of effect?
Any kind of animation (any time during launch) of tab bar app. I'm thinking just a few .pngs animated.
m_kaminsky@yahoo.com is offline   Reply With Quote
Old 08-27-2011, 06:42 PM   #4 (permalink)
Registered Member
 
Join Date: May 2009
Posts: 242
m_kaminsky@yahoo.com is an unknown quantity at this point
Default

Quote:
Originally Posted by Duncan C View Post
What is an animated sprite of a tabbar-based app?

Can you describe the effect you want in enough detail that we can understand what you're talking about?

I gather that you want some sort of animation at launch, but what kind?

Note that the system displays a single, static image at launch while your app is loading. That image stays on-screen until your code wakes up and removes it. You can't do anything until the app is done loading and your code begins to execute. So any animation you want will have to wait until your code starts running.
I'm pretty sure I've seen apps with a straight animation at launch, seemingly without Default.png..am I right?
m_kaminsky@yahoo.com is offline   Reply With Quote
Old 08-27-2011, 06:43 PM   #5 (permalink)
Registered Member
 
Join Date: May 2009
Posts: 242
m_kaminsky@yahoo.com is an unknown quantity at this point
Default

Quote:
Originally Posted by Duncan C View Post
What is an animated sprite of a tabbar-based app?

Can you describe the effect you want in enough detail that we can understand what you're talking about?

I gather that you want some sort of animation at launch, but what kind?

Note that the system displays a single, static image at launch while your app is loading. That image stays on-screen until your code wakes up and removes it. You can't do anything until the app is done loading and your code begins to execute. So any animation you want will have to wait until your code starts running.
PS thanks for your links, looking at those..
m_kaminsky@yahoo.com is offline   Reply With Quote
Old 08-27-2011, 06:54 PM   #6 (permalink)
Cocoa Junkie
 
Duncan C's Avatar
 
Join Date: Dec 2008
Location: Northern Virginia
Posts: 6,003
Duncan C has a spectacular aura about
Default

Quote:
Originally Posted by m_kaminsky@yahoo.com View Post
I'm pretty sure I've seen apps with a straight animation at launch, seemingly without Default.png..am I right?
You don't have to have a default.png, but then the user sees a blank screen until the app launches.

You could probably start an animation as soon as your app delegate loads, and finish the rest of your initialization while the animation runs.

Core Animation is very easy to use. Look up CAAnimation and CALayer in the XCode docs. In iOS, every view object has a layer property, and changes to that layer property are done using animation. If you change the center point, opacity, or change the transform of a layer, the system animates that change onto the screen. There are also some pretty cool animation methods in UIView. Take a look at the method animateWithDuration:animations: for example. Once you understand blocks it's quite easy to use.
__________________
Regards,

Duncan C
WareTo

Check out our apps in the Apple App store


Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.

See this tutorial on using UIView animations and layer animations:

See this thread on generating random, non-repeating text

Check out a very cool Macintosh Kaleidoscopes app called ScopeWorks that we released to the Mac App store.
Duncan C is offline   Reply With Quote
Old 08-28-2011, 04:50 AM   #7 (permalink)
Registered Member
 
Join Date: May 2009
Posts: 242
m_kaminsky@yahoo.com is an unknown quantity at this point
Default

thanks again Duncan...
as I examine that info more closely I had a quick question..

Have you seen that including Default.png in project results in no animation ,while not including Default.png results in animation being displayed?

Last edited by m_kaminsky@yahoo.com; 08-28-2011 at 04:51 AM. Reason: grama
m_kaminsky@yahoo.com is offline   Reply With Quote
Old 08-28-2011, 07:31 AM   #8 (permalink)
Cocoa Junkie
 
Duncan C's Avatar
 
Join Date: Dec 2008
Location: Northern Virginia
Posts: 6,003
Duncan C has a spectacular aura about
Default

Quote:
Originally Posted by m_kaminsky@yahoo.com View Post
thanks again Duncan...
as I examine that info more closely I had a quick question..

Have you seen that including Default.png in project results in no animation ,while not including Default.png results in animation being displayed?
No.

While the system is loading your app, you can display a fixed default.png image (or not). If you don't, you get a black screen. Once your app is loaded, you can change the display and begin animating.

One of our apps, Save My Place, uses a static image with a banner on top. As soon as we load, we replace it with a background image and a banner as a separate graphic. We then animate the banner shrinking to a point and disappearing. the effect is that you get an animation that seems to come from the default.png, but that's not really true.
__________________
Regards,

Duncan C
WareTo

Check out our apps in the Apple App store


Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.

See this tutorial on using UIView animations and layer animations:

See this thread on generating random, non-repeating text

Check out a very cool Macintosh Kaleidoscopes app called ScopeWorks that we released to the Mac App store.
Duncan C is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 396
15 members and 381 guests
7twenty7, chiataytuday, cristofercolmbos, dedeys78, fiftysixty, gmarro, iOS.Lover, jonathandeknudt, kilobytedump, Matrix23, raymng, ryantcb, stanny, UMAD, xerohuang
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,669
Threads: 94,121
Posts: 402,903
Top Poster: BrianSlick (7,990)
Welcome to our newest member, dedeys78
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:16 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0