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 09-09-2010, 05:26 AM   #1 (permalink)
Registered Member
 
Join Date: Jul 2010
Posts: 7
ampere is on a distinguished road
Default fade on UITable

Hi
I have a UITable with 3 images, is there a way to have a fadeIn effect when the table is populated with the images?


thanks.
ampere is offline   Reply With Quote
Old 09-09-2010, 02:07 PM   #2 (permalink)
Fly-by-night Innovator
 
Join Date: Jun 2010
Posts: 364
musicwind95 is on a distinguished road
Default

Put it in viewDidLoad. I'm not sure how to do the actual animation; that shouldn't be hard to find though. UITableViewAnimationFade (maybe)?
__________________
If I have helped you, please consider donating. I use PayPal. It would mean a lot to me!


For more iOS Development, check out my blog—Cups of Cocoa. All visitors welcome, but especially beginners!

Hope I have helped!

Please check out IceFall, a new action game available in the App Store!
musicwind95 is offline   Reply With Quote
Old 09-10-2010, 05:51 AM   #3 (permalink)
Registered Member
 
Join Date: Jul 2010
Posts: 7
ampere is on a distinguished road
Default

I saw that app on the store My South Africa Essentials per iPhone, iPod touch e iPad nell'iTunes App Store.

I wanna try to build a menu similar to the one on the main screen of this app.

I have an array of images

Code:
NSString *image1 = [[NSBundle mainBundle] pathForResource:@"656709" ofType:@"gif"];
	UIImage *imgCV = [UIImage imageWithContentsOfFile:image2];
[imageArray addObject:imgCV];

then i populate the table with the method cellForRowAtIndexPath and i set the cell image in this way:
Code:
cell.image = [imageArray objectAtIndex:indexPath.row];

I can't understand how to animate the elements...
there is a documentation or some examples?


thanks
ampere is offline   Reply With Quote
Old 09-14-2010, 12:34 PM   #4 (permalink)
Fly-by-night Innovator
 
Join Date: Jun 2010
Posts: 364
musicwind95 is on a distinguished road
Default

The main view there is simply a customized table view.

If you want to fade in the table view rows, try <a href="http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UITableView_Class/Reference/Reference.html">accessing the rect of the row</a>, and then animating it.

Also note that UIView has a number of <a href="http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIView_Class/UIView/UIView.html%23//apple_ref/occ/cl/UIView">animation methods</a> that you could try to call or override to animate the table view.
__________________
If I have helped you, please consider donating. I use PayPal. It would mean a lot to me!


For more iOS Development, check out my blog—Cups of Cocoa. All visitors welcome, but especially beginners!

Hope I have helped!

Please check out IceFall, a new action game available in the App Store!
musicwind95 is offline   Reply With Quote
Reply

Bookmarks

Tags
fadein, images, uitable

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: 333
10 members and 323 guests
bignoggins, carlandrews, flamingliquid, hzwegjxg, ilmman, jenniead38, linkmx, nadav@webtview.com, stanny
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,657
Threads: 94,116
Posts: 402,889
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jenniead38
Powered by vBadvanced CMPS v3.1.0

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