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

View Single Post
Old 08-19-2008, 04:35 PM   #4 (permalink)
Abel
Registered Member
 
Join Date: Jul 2008
Posts: 192
Abel is on a distinguished road
Default

Very similar to what I suggested, seems like the most efficient and prettiest way to do it. Just do something playing with the opacity and displaying the indicator.

What I would do is have the indicator be the main focus by lowering the table views opacity then animating it back into full opacity when the indicator is done.

Quote:
Originally Posted by Jume View Post
I'm doing it in this way using UINavigationController and view controllers. This is the structure I have

Code:
UINavigationController
|
|--UIViewController //root view controller
    |
    |--UIView // showing activity indicator
    |--UITableView // showing table
So here how I code this

1) I'm loading and displaying UINavigationController with a root view controller
2) Asking a web service for data and loading UIView with activity indicator as a root view controller's view
3) Once the data from web service is ready I animate the opacity of the root controller's view to 0.0 and then I'm replacing it with the UITableView ...

I think apple does something similar in App Store and iTunes apps.
Abel is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,375
Threads: 93,998
Posts: 402,449
Top Poster: BrianSlick (7,978)
Welcome to our newest member, askrishi
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:19 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.